Bugs, Problems, Things that are missing or would be nice:
---------------------------------------------------------

- are all the keyboard bindings implemeneted?

- document the keybinding actions

- speedups
  * make much faster in 4bytes/pixel modes
  * expandPalette eats far too much time
  * MMX - Would it help?

- rethink user interface (keys)
   * remove xcthugha control panel. make something better. 
     text in control panel is one step
   * show and hide control panel while running
   * make a small preview window

   * make an "external interface" to cthugha:
     listen at a port for command like 
     "change flame up-slow", 
     "sound channels 2", "sound file something.mp3",
     "query flame" (to get a list of possible flame values)
     ...
  
     Then use this interface for an extra user interface (maybe running or
     displaying on a different machine). Also use this interface for
     communication when doing sound reading in an extra process.

     Keybindings-code should be usefull for this.

     Problem: Cthugha must send automatic changes to the interface,
     or interface must query the current values from time to time.

     I do not have the time to implement this!

   * different interfaces 
     - on-screen - as it is now to svgalib and xcthugha without control panel
     - on-term - xcthugha with text-on-term or cthugha-server
     - extern - a new interface program(s) communicating with xcthugha
	
   
- sound related stuff
   * when using 'xmp' and closing cthugha normally then
     no text will be displayed afterwards,
     using ^C works???

   * support for more players.
     make it easier for include new players

   * new sound method is not very reliable
  
   * find a good value describing the "speed of the sound"

   * sound reading code is not very stable (and nice)
   * there are reports about errors, that I can not explain
     maybe --snd-method solves some of them
   * CD player and mixer are not very good
   * select sound input at runtime (dsp, file, ...)
   * playlist for files

   * sound formats: I only can test 8bit unsigned and 16bit signed le
     Is the rest working?


- code stuff
   * use threads (instead of processes with shared memory)
     this would make it hard to compile cthugha on non-linux machines
     threads and Mesa seems to be a little bit problematic

   * change "load" code.

   * clean up tab directory 

   * check for "endianes" errors
   * endianess and int/long is not always defined clearly
     what if it is neither big/little endian -> use the value
     of the BYTE_ORDER from endian.h if possible

- ideas for new flame/display/...
   * load xStream files (XSE) directly (make compiler)

   * multiple entries in .cmd files
   * set parameters for cmd_* files at runtime

   * better inclusion of images 

   * include live images through video4linux

   * load general images not only PCX

- OpenGL 
   * use GLX instead of glut
   * split texture for buffers > 256x256
     (texture size is limited to 256x256 for 3dfx)
   * some keys do not work with glut 
  
   * "fire flies" some points moving around to the music (for "plane"
     displays) - good movement patterns?
	
- X11 stuff
   * react to geometry in the normal way
   * support all visual types - Which ones are working?

- Strange errors
   * credits are not displayed when no other text is displayed before

- check network code

- inclulde code from John Morton (network, remote control)

- in configure.in: check for -lsocket, -lnsl
  network code is not working on Sun

- color ncurses

- control 3D movement also with mouse movement






