home *** CD-ROM | disk | FTP | other *** search
/ vsiftp.vmssoftware.com / VSIPUBLIC@vsiftp.vmssoftware.com.tar / FREEWARE / FREEWARE40.ZIP / flying618 / flying_readme.txt < prev    next >
Text File  |  1995-07-18  |  5KB  |  96 lines

  1.      ______      _
  2.     / __/ /_  __(_)___  ____ _
  3.    / /_/ / / / / / __ \/ __ `/                original source available at
  4.   / __/ / /_/ / / / / / /_/ /             ftp.x.org:/contrib/games/multiplayer
  5.  /_/ /_/\__, /_/_/ /_/\__, /    V6.18
  6.        /____/        /____/
  7.  
  8.  
  9.  Creating the executable shouldn't be too difficult, even though no Imakefile
  10.  is included. But the normal Makefile isn't too complex and you only should
  11.  check out, if the main switches at the beginning are set to the right
  12.  C++-compiler and the X-Library and includes.
  13.  
  14.  (Ideas for creating an Imakefile for this C++-package are very welcome!!!)
  15.  
  16.  After linking, you should be able to just use it as the manual page says.
  17.  But if you want to install it to be use by more persons or if you're just
  18.  curious, you might want to know a bit more about internals.
  19.  
  20.  Since the main purpose for me was not directly writing a game, but more to
  21.  experiment with some algorithms, many things are configurable in the program.
  22.  All the parameters that would change the executable are to be set in the file
  23.  'global.h'. One important thing is to name a directory, where the program can
  24.  later on read and write data-files for the pixmap-data, that is needed for the
  25.  smooth ball animation in the deluxe-version of pool. If the data-files are not
  26.  accessible, the program has to recompute it, which might take a lot of time.
  27.  (For information, on my 1280 pixel wide screen, I need 37x37=1369 bitmaps for
  28.   half balls and 75x37=2775 bitmaps for full balls in the default size. When
  29.   too many bitmaps will get neccessary you might get memory problems, e.g.
  30.   on X-Terminals.)
  31.  
  32.  An interresting thing to experiment with might be the Real-Class. Real is
  33.  usually defined as float or double. But there is also a complete inline-class
  34.  available for it. Unfortunately using the class isn't too fast, but this
  35.  probably depends on the smartness of the compiler. (Anyway, does anybody have
  36.  a similar Real-Class implemented by using integer? I could really use it on
  37.  my slow 386).
  38.  
  39.  There is also the main DEBUG-flag, which enables debugging switches all over
  40.  the source and should usually be unset, even so the switch don't consume too
  41.  much time.
  42.  
  43.  Constant game parameters like object size and friction are all defined in
  44.  'global.C'. But for not always re-compiling the program when changing them
  45.  they can also be set dynamically in the file 'presets.txt'. The correct syntax
  46.  and the current value can be seen with the option -presets when starting the
  47.  game.
  48.  
  49.  
  50.  By the way, there actually exists a DOS-version of the program, but that was
  51.  never really meant for playing. It's just there because the development of
  52.  the game took place on a small 386-notebook. After running the program got too
  53.  slow when too many objects were there, I ported the program to use X-windows.
  54.  Even though I still developed the routines at home, the real testing then took
  55.  place during the coffee and lunch breaks at my office. There are even some
  56.  special parts like the ball animation, that don't run at all in DOS. I am
  57.  thinking on porting these things back to DOS, but I probably would need some
  58.  specialized assembler library to do the smooth animation.
  59.  
  60.  
  61.  
  62.  After installation, I would be pleased if you send me a short note
  63.  just for curiosity and tell me:
  64.  - if there were any problems and what they were
  65.  - if you like it and what you think is missing
  66.  The more notes I get, the higher the chances that I will spend
  67.  more time on that packages.
  68.  
  69.  
  70.  Have fun.
  71.  
  72.         __  __     __                __     __  __                 _
  73.        / / / /__  / /___ ___  __  __/ /_   / / / /___  ___  ____  (_)___ _
  74.       / /_/ / _ \/ / __ `__ \/ / / / __/  / /_/ / __ \/ _ \/ __ \/ / __ `/
  75.      / __  /  __/ / / / / / / /_/ / /_   / __  / /_/ /  __/ / / / / /_/ /
  76.   _ /_/ /_/\___/_/_/ /_/ /_/\__,_/\__/  /_/ /_/\____/\___/_/ /_/_/\__, /
  77.  /__________________________________e-mail: Helmut.Hoenig@hub.de______/
  78.  
  79.  
  80.  
  81.  History:
  82.  ========
  83.  
  84.  V6.3  - just a few includes were changed to make the program more portable.
  85.        - a SOLARIS switch was added
  86.  V6.9  - new background colors / new balls / includes Xos.h /
  87.          improved color handling / less ANSI C
  88.  V6.11 - new flags: -nohints, -red, -green, -blue
  89.          minor corrections
  90.  V6.15 - enhanced (much faster on X-Terminals) ball animation
  91.          waits with select(..) to reduce CPU-usage in idle periods
  92.          interpixel-motion for fine adjustment of cursor
  93.  V6.18 - corrections in setting up colors (fvwm now loses the colormap struggle :-)
  94.          enhanced reset feature
  95.          pool9-class
  96.