  CHANGES
Tunnel Fighter.

4-feb-2002 by Wouter
- added fix by John Miller (jfmiller28) to tfhighsc.cpp
- fixed sprite lighting, by setting base color to 1,1,1 for sprites.
- now the finishdraw is in FinishFrame.
- fixed halos - they do not need to be DecReffed at all, they are 
  deleted by the light.

3-feb-2002 by Wouter
- The orb ornaments now animate correctly.
- fixed the docs some more.

2-feb-2002 by Wouter
- The version is now 0.3
- Now according to 0.94 CS API.
- all works but for the following known bugs
  - objects are all black, unlit, except for the craft.
  - The craft only gets lit by tunnel lights in software mode,
    not in opengl mode (in opengl mode the lighting never changes).
  - sound sometimes produces static noise, esp. when multiple sounds
    are playing.
  - if a soundrender is loaded, it crashes on exit (bad delete in SoundOSS).
  - in a console is loaded from config, bugplug decrefs it too much,
    and it crashes on exit.
  - if you play a game, scf references will be left over at exit,
    if you do not, it will be OK.
- Speed, in software mode 640x480full is 10-20 fps in game (650Mhz).
         in opengl mode 640x480full is 70-80 fps in game (Tnt2).
	 in opengl mode 1024x768full gives stable 25-30 fps.
  These figures are for a debug build on linux.
- fixed hiscores for new config manager.
- updated README.txt and INSTALL
- removed makefile.dep from the CVS, it is created by the Makefile
  when needed, and only gives problems when incorrectly downloaded.

31-jan-2002 by Wouter
- improved so that the CS include css.h is used, including all of cs
in tfmain.h. So by including tfmain.h you can use CS functions too.

2-may-2001 by Wouter
- Fixed the sound playing to latest API.

29-april-2001 by Wouter
- Tried to fix to latest CVS. You can see the menu screen again.
  But no orbs, and a crash in the OSS driver on exit (tries to delete
  overwritten memory or array underflow).
- Orbs visible again, added a prepare textures call.

23-mar-2001 by Wouter
- Fixed make depend.
- fixed sound api changes
- fixed polygonset removal.
- fixed sector and polygon seperation in API
  Now compiles again on mingw, and runs.

16-mar-2001 by Eric Sunshine <sunshine@sunshineco.com>
- Updated to reflect rename of SCF interface header files.

8-mar-2001 by Eric Sunshine <sunshine@sunshineco.com>
- Updated to reflect relocation of SCF interface header files from CS/include
  into subdirectories of CS/include.

27-feb-2001 by Wouter
- Committed a fix from Philip Wyett: class to struct in tfmain.h.
  TF will compile with CS 0.18 now.

15-feb-2001 by Wouter
- changed flatcolour handling based on hints from Jorrit.
- added DecRef()'s for QUERY_INTERFACE'.
- Jorrit fixed two bugs, in the CS texturemanager and the CS engine
  so that the untextured tunnel display works now.

13-feb-2001 by Wouter
- made compilable after considerable changes in CS happened.

8-feb-2001 by Wouter
- Ported to new mesh object system in CS.

6-feb-2001 by Wouter
- using new anim2d system in CS

5-feb-2001 by Wouter
- the anim2d moved to CrystalSpace csfx.
- cleaned up the display of the highscores

4-feb-2001 by Wouter
- Fixed the menu font using the csfedit font editor I made in the CS project.
- Fixed the bullets that seemed to come from behind you when in slow fps.
  (By reordering tfcraft::Update).
- changed menu selector ornament from a boring --> xxx <-- to two smartly
  animated rotating orbs.

2-feb-2001 by Wouter
- changed fog to max at 0.5, larger values for fog will brighten distant
  objects.  Fog could also be 0,0,0 in colour - to darken objects.

31-jan-2001 by Wouter
- Added new font and image files to the data. The font is now used for
  the menus and text. But it does not contain all characters, such as
  '-', '%', '[', ']'. Have to find a workaround.

30-jan-2001 by Eric Sunshine <sunshine@sunshineco.com>
- Added missing SYSDEF_ACCESS to tfmain.cpp.

30-jan-2001 by Wouter
- after fixed in CS for config files, TF also works again, removed
  some debugging prints.

29-jan-2001 by Wouter
- added a memdebug.cpp - you can enable a quicky memory debugger
(graciously from Jorrit).

28-jan-2001 by Wouter
- Moved TF to the new configfile system of CS.
- Found bugs in the new configfile system (when writing hiscores).

17-jan-2001 by Wouter
- debugged sprite2D's in CS, with Jorrit Tyberghein, using the bullet code
  A small bug in CS is fixed. The temporary workaround that fixes it is
  in TF for now.
- CS cvs now contains the bugfix, workaround removed.

15-jan-2001 by Wouter
- update source fixing for CS. Explosions and bullets are now less buggy,
  Also, CS meshes got debugged and fixed.

12-jan-2001 by Wouter
- changed makefile so that you can compile and make depend on mingw32
too. 
- fixed so that tunnel fighter compiles again and you can play. However
  the bullets and explosions (all mesh objects) do not show up.
  The actors exist fine though, and collision detection and scoring
  work fine too.

02-jan-2001 by Wouter 
- changed makefile to add the csfx library to linking.

21-dec-2000 by Wouter
- Bullets are partially transparent now. So in 1st person you can look
through your bullet and still see enemies. Previously it was blocking
vision too much.

20-dec-2000 by Wouter Wijngaards
- Andrew changed CS's texture registration and preparation API a little.
Fixed to follow, and compile again with latest CS cvs.

13-dec-2000 by Wouter Wijngaards
- Fixed for new way of static linking that CS uses. Now tfmain.h includes
cssysdef.h instead of static.cpp. When linking statically, the user will
have to add the necessary static object files.

7-Dec-2000 by Eric Sunshine <sunshine@sunshineco.com>
- Fixed all SCF interface and class references after the following renames
  occurred in Crystal Space:
    iWorld --> iEngine
    csWorld --> csEngine

2-dec-2000 by Wouter
- flat textured tunnel polygons works now.

27-nov-2000 by Wouter
- changed font, as the format fot CS fonts changed.
  changed the font size from 18 to 14 pts. Looks nicer.

16-nov-2000 by Wouter
- Help menu looks nicer now, layout has improved.

15-nov-2000 by Wouter
- improved shadow of ingame status.
- found the crasher bug with the help of Eric Sunshine and Jorrit
  Tyberghein. It seems some stale ptrs were used.
  removed the tfTunnelSegment::particle_systems csVector, it is
  inherently buggy.

14-nov-2000 by Wouter
- Fixed to work with new iFonts, new sound API.
- added new font nasa18.fnt, converted from freeware ttf font. Now 
  uses this font for all menus and headupstatus.

03-oct-2000 by Wouter
- Fixed to work with latest CS, iConfigfile instead of csIniFile.

26-sep-2000 by Wouter
- Fixed the main to work with latest CS (vfs plugin)

08-sep-2000 by Wouter
- Jorrit found the remaining bug! 
  It seemed that in deleting pset in tfbullet, the error occurred, since 
  the it also decRef()s the collider, which was used in ~tfactor when
  deleting collider 'mycoll'. It was solved by deleting mycoll before
  pset is deleted. All actors having their own colliders should do so.
- added a decref for the collide_system so no warning any more on quit.
- also cscmdSystemClose, and Open are sent to the collide system now.
- reenabled the particle systems deleting in tftunnel.cpp, as it seems
  to work now.

06-sep-2000 by Wouter
- Added patch from Jorrit, circumventing the bug, and fixing to latest API,
thanks Jorrit!
- added igraph2d.h include to tfmenu for win32gcc port
- tried to fix flatcolours more, improving code, but still crashes.
- removed mounting of vfs dirs, for windows port. They were not needed anyway.

29-aug-2000 by Wouter
- Fixed to latest CS CVS version API.

26-aug-2000 by Wouter
- changed crasher bug into a small memory leak. (in tftunnel.cpp, search for
  @@@ MEMORY LEAK )
- improved makefile, now you can give either CS/ or a cs-install-dir in
  CRYSTAL, and both will work.
- Now Tunnel Fighter will become a seperate appication for Crystal Space
  and thus tunnel.mak is deleted, and data/config/tunnel.cfg is moved to
  the main directory.
- changed README.
- created INSTALL (for quick install instructions).
- fixed no-texture mode, so that it compiles. It still does not work, 
  perhaps a problem in CS?
- fixed sound, so that it compiles. It works again now.
  If it complains that the sound files are corrupt, in crystalspace do a
  'make <your_platform>' again, and 'make all' again. (the sound loader
  needs its configuration)
- You can now again type capitals in the hiscore entry.

22-aug-2000 by Wouter
- Added changes by Jorrit Tyberghein, fixing the entire tf up-to-date with
current CS CVS.

4-Aug-2000 by Wouter
- added .dsp makefiles from Nicholas Blumire.

25-Jul-2000 by Wouter Wijngaards <wouterw@cs.vu.nl>
- Changed to follow API changes for constructing polsets and sectors
- Also added g3d->BeginDraw (world->GetBeginDrawFlags () | CSDRAW_3DGRAPHICS).

18-Jul-2000 by Wouter Wijngaards <wouterw@cs.vu.nl>
- Changed Makefile and tunnel.mak so that it no longer tries to link in
  the csscript library. Following the removal of csscript from CS.

4-Jul-2000 by Eric Sunshine <sunshine@sunshineco.com>
- Tagged files with name "CS_16" which corresponds to Crystal Space release 16.
  This will allow one to checkout a version of Tunnel Fighter which works with
  that release of Crystal Space, while still allowing further work on Tunnel
  Fighter itself.
- Updated tfmain.cpp to work with Andrew Zabolotny's latest changes to the
  iTexture interface.  Specifically: SetTransparent() --> SetKeyColor().

30-Jun-2000 by Wouter Wijngaards <wouterw@cs.vu.nl>
- Removed more makefile warnings and fixed the makefile a bit.
- restored the tunnel sides textures from XavieNs texture, because the enemies
  were not visible enough on the black texture. 
- fixed craft movement by mouse in higher framerates. It now moves consistently
  independent of framerate. It now handles like the keyboard.

19-Jun-2000 by Wouter Wijngaards <wouterw@cs.vu.nl>
- removed lots of warnings by disabling the check in the Makefile, they were
all in CS header files.

2-Jun-2000 by Eric Sunshine <sunshine@sunshineco.com>
- Updated to reflect changes in csCamera interface where most member variables
  became private and are now accessed via cover methods.

19-May-2000 by Eric Sunshine <sunshine@sunshineco.com>
- Now disables red fog as soon as the ship is destroyed (when it starts its
  spin-cycle).
- Makefile 'clean' target (for Crystal Space) now deletes
  apps/tunnel/data/tflib.zip if the makefile generated this archive from the
  contents of apps/tunnel/data/tflib/*.
- Moved configuration file to VFS volume /config (which is mounted at
  physical location data/config).

16-May-2000 by Eric Sunshine <sunshine@sunshineco.com>
- Renamed the following files in the Crystal Space project and fixed
  references to them in Tunnel Fighter files.
     def.h        --> csdef.h
     sysdef.h     --> cssysdef.h
     types.h      --> cstypes.h
     frustrum.h   --> frustum.h
     frustrum.cpp --> frustum.cpp

14-May-2000 by Eric Sunshine <sunshine@sunshineco.com>
- Removed references to Crystal Space's now obsolete CHK() and CHKB() macros.

9-May-2000 by Eric Sunshine <sunshine@sunshineco.com>
- Overhauled NeXT linking and dynamic library loading semantics so that
  special-case forced symbolic reference hack is no longer needed.
- Eliminated several compilation warnings (some of which were specific to the
  NextStep compiler).

5-May-2000 by Wouter
- Added new tunnel texture done by XavieN (c.xavien@swipnet.se).
- removed precalc_info, removed +x permissions from cvs, and changed
  sticky flags, requested by Eric Sunshine.
- updated tunnel.mak, so that it will build the tflib.zip if necessary,
  before copying. Also cleaning up the copied files will be deleted.

Changed in v0.2 By W.C.A. Wijngaards before 5-5-2000. 
- removed warnings about unused variables.
- added halos to enemy fire.
- pyramids fire earlier.
- targeting crosshair added - see options menu.
- Note debug keys: alt-f shows fps, alt-s makes screenshot.
- 2d sprites now used for bullets, CD works.
- particle system added to CS, used for explosions in tf. tfexplo.* removed.
- Now tflib dir is zipped up in data/tflib.zip
- It is now also possible to make the game in CS/apps/tunnel, and use
  the crystal space makefiles, to 'make tfgame'.
- fixed sprite deletion bug.
- fixed halo bug in CS.
- const used to pass csVector3&'s.
- Given source to SF project.
- Perhaps Finishdraw is better for directX now.
- SF project file admin improved.
- now both data/tflib/ and data/tflib.zip are checked for files. 

Version 0.1 31/3/00 By W.C.A. Wijngaards.
