]> git.mxchange.org Git - flightgear.git/log
flightgear.git
25 years agoConverted to new logstream debugging facility. This allows release
curt [Fri, 6 Nov 1998 21:17:31 +0000 (21:17 +0000)]
Converted to new logstream debugging facility.  This allows release
builds with no messages at all (and no performance impact) by using
the -DFG_NDEBUG flag.

25 years agoChanges to track Bernie's updates to fgstream.
curt [Fri, 6 Nov 1998 14:46:59 +0000 (14:46 +0000)]
Changes to track Bernie's updates to fgstream.

25 years agoChanges to the automake/autoconf system to reduce the number of libraries
curt [Wed, 4 Nov 1998 23:01:39 +0000 (23:01 +0000)]
Changes to the automake/autoconf system to reduce the number of libraries
that are unnecessarily linked into the various executables.

25 years agoDisplay ft or m in mini-hud next to altitude.
curt [Tue, 3 Nov 1998 12:33:11 +0000 (12:33 +0000)]
Display ft or m in mini-hud next to altitude.

25 years agoHUD units now display in feet by default with meters being a command line
curt [Mon, 2 Nov 1998 23:04:02 +0000 (23:04 +0000)]
HUD units now display in feet by default with meters being a command line
option.

25 years agoPortability changes for the Borland compiler.
curt [Mon, 2 Nov 1998 18:29:00 +0000 (18:29 +0000)]
Portability changes for the Borland compiler.

25 years agoCheck for __CYGWIN__ (b20) as well as __CYGWIN32__ (pre b20 compilers)
curt [Mon, 2 Nov 1998 18:25:34 +0000 (18:25 +0000)]
Check for __CYGWIN__ (b20) as well as __CYGWIN32__ (pre b20 compilers)
Other misc. tweaks.

25 years agoChanges to support GLUT joystick routines as fall back.
curt [Tue, 27 Oct 1998 02:14:21 +0000 (02:14 +0000)]
Changes to support GLUT joystick routines as fall back.

25 years agoTurned "struct fgCONTROLS" into a class, with inlined accessor functions.
curt [Sun, 25 Oct 1998 14:08:37 +0000 (14:08 +0000)]
Turned "struct fgCONTROLS" into a class, with inlined accessor functions.

25 years agoChanges to use the new joystick library if it is available.
curt [Sun, 25 Oct 1998 10:57:18 +0000 (10:57 +0000)]
Changes to use the new joystick library if it is available.

25 years agoCompletely rewritten to use Steve Baker's joystick interface class.
curt [Sun, 25 Oct 1998 10:56:25 +0000 (10:56 +0000)]
Completely rewritten to use Steve Baker's joystick interface class.

25 years agoOnly build the Joystick lib if joystick support is available.
curt [Sun, 25 Oct 1998 10:55:07 +0000 (10:55 +0000)]
Only build the Joystick lib if joystick support is available.

25 years agoRenamed joystick.[ch] to joystick.[ch]xx
curt [Sat, 24 Oct 1998 22:28:13 +0000 (22:28 +0000)]
Renamed joystick.[ch] to joystick.[ch]xx
Added js.hxx which is Steve's joystick interface class.

25 years agoTweaked sunrise/sunset colors.
curt [Tue, 20 Oct 1998 18:41:53 +0000 (18:41 +0000)]
Tweaked sunrise/sunset colors.

25 years agoTweaked texture coordinates, but we still have some problems. :-(
curt [Tue, 20 Oct 1998 18:33:55 +0000 (18:33 +0000)]
Tweaked texture coordinates, but we still have some problems. :-(

25 years agoTweaked sunset/sunrise colors.
curt [Tue, 20 Oct 1998 18:28:30 +0000 (18:28 +0000)]
Tweaked sunset/sunrise colors.

25 years agoUpdates to point3d.hxx
curt [Tue, 20 Oct 1998 18:26:06 +0000 (18:26 +0000)]
Updates to point3d.hxx

25 years agoRemoved an extraneous output message.
curt [Tue, 20 Oct 1998 15:48:44 +0000 (15:48 +0000)]
Removed an extraneous output message.

25 years agoCtrl-R now reverses default polygon winding so I can see if a hole in the
curt [Tue, 20 Oct 1998 14:58:57 +0000 (14:58 +0000)]
Ctrl-R now reverses default polygon winding so I can see if a hole in the
terrain is a result of improper winding, or if it is just an empty hole.

25 years agoc++-ifying ...
curt [Sun, 18 Oct 1998 01:51:04 +0000 (01:51 +0000)]
c++-ifying ...

25 years agoPoint3D tweaks.
curt [Sun, 18 Oct 1998 01:17:16 +0000 (01:17 +0000)]
Point3D tweaks.

25 years agoC++ ifying ...
curt [Sat, 17 Oct 1998 01:33:52 +0000 (01:33 +0000)]
C++ ifying ...

25 years agoInitial revision.
curt [Sat, 17 Oct 1998 00:43:58 +0000 (00:43 +0000)]
Initial revision.

25 years agoC++-ifying.
curt [Fri, 16 Oct 1998 23:26:44 +0000 (23:26 +0000)]
C++-ifying.

25 years agoRenamed flight.[ch] to flight.[ch]xx
curt [Fri, 16 Oct 1998 20:16:38 +0000 (20:16 +0000)]
Renamed flight.[ch] to flight.[ch]xx

25 years agoFixed a bug in the conversion to Point3D.
curt [Fri, 16 Oct 1998 18:12:28 +0000 (18:12 +0000)]
Fixed a bug in the conversion to Point3D.

25 years agoMods to display a bit more info when mini-hud is active.
curt [Fri, 16 Oct 1998 00:53:00 +0000 (00:53 +0000)]
Mods to display a bit more info when mini-hud is active.

25 years agoConverted to Point3D class.
curt [Fri, 16 Oct 1998 00:51:46 +0000 (00:51 +0000)]
Converted to Point3D class.

25 years agoChanges from NHV to make the code more dynamic with fewer hard coded limits.
curt [Mon, 12 Oct 1998 23:49:17 +0000 (23:49 +0000)]
Changes from NHV to make the code more dynamic with fewer hard coded limits.

25 years agoFixes to try to break through the win95/98 18.3 fps barrier.
curt [Fri, 2 Oct 1998 21:36:09 +0000 (21:36 +0000)]
Fixes to try to break through the win95/98 18.3 fps barrier.

25 years agoAdded an "auto throttle"
curt [Fri, 2 Oct 1998 12:46:43 +0000 (12:46 +0000)]
Added an "auto throttle"

25 years agoMore altitude hold tweaks.
curt [Thu, 1 Oct 1998 00:37:57 +0000 (00:37 +0000)]
More altitude hold tweaks.

25 years agoA few more altitude-hold refinements. It now appears to be working pretty
curt [Wed, 30 Sep 1998 15:28:15 +0000 (15:28 +0000)]
A few more altitude-hold refinements.  It now appears to be working pretty
good.

25 years agoMore fine tuning of altitude hold.
curt [Tue, 29 Sep 1998 22:48:31 +0000 (22:48 +0000)]
More fine tuning of altitude hold.

25 years agoAuto pilot tweaks. It looks like I actually got something that is functional.
curt [Tue, 29 Sep 1998 21:54:23 +0000 (21:54 +0000)]
Auto pilot tweaks.  It looks like I actually got something that is functional.
It's far from perfect and still could use a lot of refining, but it basically
seems to work.

25 years agoUse working() instead of !not_working() for audio.
curt [Tue, 29 Sep 1998 14:58:18 +0000 (14:58 +0000)]
Use working() instead of !not_working() for audio.

25 years agoc++-ified some comments.
curt [Tue, 29 Sep 1998 14:57:00 +0000 (14:57 +0000)]
c++-ified some comments.

25 years agoc++-ified comments.
curt [Tue, 29 Sep 1998 14:56:30 +0000 (14:56 +0000)]
c++-ified comments.

25 years agoContinued tweaking of altitude hold ... still needs more work.
curt [Tue, 29 Sep 1998 14:55:29 +0000 (14:55 +0000)]
Continued tweaking of altitude hold ... still needs more work.

25 years agoAutopilot mods.
curt [Tue, 29 Sep 1998 02:03:36 +0000 (02:03 +0000)]
Autopilot mods.

25 years agoAdded a brake + autopilot mods.
curt [Tue, 29 Sep 1998 02:02:59 +0000 (02:02 +0000)]
Added a brake + autopilot mods.

25 years agoAdded a rate of climb calculation.
curt [Tue, 29 Sep 1998 02:02:40 +0000 (02:02 +0000)]
Added a rate of climb calculation.

25 years agoAdded a brake.
curt [Tue, 29 Sep 1998 02:01:31 +0000 (02:01 +0000)]
Added a brake.

25 years agoAdded a "rate of climb" indicator.
curt [Tue, 29 Sep 1998 02:01:06 +0000 (02:01 +0000)]
Added a "rate of climb" indicator.

25 years agoRenamed *.[ch] to *.[ch]xx and now I'm playing with an altitude hold.
curt [Tue, 29 Sep 1998 01:59:27 +0000 (01:59 +0000)]
Renamed *.[ch] to *.[ch]xx and now I'm playing with an altitude hold.

25 years agoCheck if audio "working()" before doing audio manipulations.
curt [Sat, 26 Sep 1998 13:18:35 +0000 (13:18 +0000)]
Check if audio "working()" before doing audio manipulations.

25 years agooops, I guess I changed the executable name to fgfs.exe ...
curt [Sat, 26 Sep 1998 13:17:56 +0000 (13:17 +0000)]
oops, I guess I changed the executable name to fgfs.exe ...

25 years agoClear screen to "black" before drawing splash screen.
curt [Sat, 26 Sep 1998 13:17:29 +0000 (13:17 +0000)]
Clear screen to "black" before drawing splash screen.

25 years agoC++-ified the comments.
curt [Sat, 26 Sep 1998 13:16:44 +0000 (13:16 +0000)]
C++-ified the comments.

25 years agoAdded support for pitch and volume envelopes and tied them to the
curt [Fri, 25 Sep 1998 16:02:07 +0000 (16:02 +0000)]
Added support for pitch and volume envelopes and tied them to the
throttle setting.

25 years agoConverted to c++ style comments.
curt [Thu, 24 Sep 1998 15:36:19 +0000 (15:36 +0000)]
Converted to c++ style comments.

25 years agoMiscellaneous tweaks.
curt [Thu, 24 Sep 1998 15:25:22 +0000 (15:25 +0000)]
Miscellaneous tweaks.

25 years agoUsed the cartesian form of the airport area coordinates to determine the
curt [Mon, 21 Sep 1998 20:55:00 +0000 (20:55 +0000)]
Used the cartesian form of the airport area coordinates to determine the
center.

25 years agoTweaks and optimizations by Norman Vine.
curt [Thu, 17 Sep 1998 18:35:52 +0000 (18:35 +0000)]
Tweaks and optimizations by Norman Vine.

25 years agoAdded F8 to toggle fog and F9 to toggle texturing.
curt [Thu, 17 Sep 1998 18:35:30 +0000 (18:35 +0000)]
Added F8 to toggle fog and F9 to toggle texturing.

25 years agoFixed output message.
curt [Thu, 17 Sep 1998 18:25:11 +0000 (18:25 +0000)]
Fixed output message.

25 years agoChanges for new astro code.
curt [Tue, 15 Sep 1998 04:27:49 +0000 (04:27 +0000)]
Changes for new astro code.

25 years agoChanges for new Astro code.
curt [Tue, 15 Sep 1998 04:27:27 +0000 (04:27 +0000)]
Changes for new Astro code.

25 years agoNew textured moon and rewritten/restructured Astro code contributed by Durk
curt [Tue, 15 Sep 1998 04:26:07 +0000 (04:26 +0000)]
New textured moon and rewritten/restructured Astro code contributed by Durk
Talsma.

25 years agoInclude/fg_callback.hxx
curt [Tue, 15 Sep 1998 02:09:24 +0000 (02:09 +0000)]
Include/fg_callback.hxx
  Moved code inline to stop g++ 2.7 from complaining.

Simulator/Time/event.[ch]xx
  Changed return type of fgEVENT::printStat().  void caused g++ 2.7 to
  complain bitterly.

Minor bugfix and changes.

Simulator/Main/GLUTmain.cxx
  Added missing type to idle_state definition - eliminates a warning.

Simulator/Main/fg_init.cxx
  Changes to airport lookup.

Simulator/Main/options.cxx
  Uses fg_gzifstream when loading config file.

25 years agocleaned up my fragment.num_faces hack :-) to use the STL (no need in
curt [Tue, 15 Sep 1998 01:35:03 +0000 (01:35 +0000)]
cleaned up my fragment.num_faces hack :-) to use the STL (no need in
duplicating work.)
Tweaked fgTileMgrRender() do not calc tile matrix unless necessary.
removed some unneeded stuff from fgTileMgrCurElev()

25 years agoMoved libAirports.a later in link order.
curt [Mon, 14 Sep 1998 13:49:42 +0000 (13:49 +0000)]
Moved libAirports.a later in link order.

25 years agominor tweaks.
curt [Mon, 14 Sep 1998 12:45:23 +0000 (12:45 +0000)]
minor tweaks.

25 years agoDon't recalculate perimeter points since it is not likely that they will match
curt [Mon, 14 Sep 1998 12:44:30 +0000 (12:44 +0000)]
Don't recalculate perimeter points since it is not likely that they will match
exactly with the previously calculated points, which will leave an ugly gap
around the airport area.

25 years agoInitial revision of genapt.[ch]xx for generating airport scenery.
curt [Mon, 14 Sep 1998 02:14:00 +0000 (02:14 +0000)]
Initial revision of genapt.[ch]xx for generating airport scenery.

25 years ago/Simulator/Objects/fragment.hxx
curt [Thu, 10 Sep 1998 19:07:09 +0000 (19:07 +0000)]
/Simulator/Objects/fragment.hxx
  Nested fgFACE inside fgFRAGMENT since its not used anywhere else.

./Simulator/Objects/material.cxx
./Simulator/Objects/material.hxx
  Made fgMATERIAL and fgMATERIAL_MGR bona fide classes with private
  data members - that should keep the rabble happy :)

./Simulator/Scenery/tilemgr.cxx
  In viewable() delay evaluation of eye[0] and eye[1] in until they're
  actually needed.
  Change to fgTileMgrRender() to call fgMATERIAL_MGR::render_fragments()
  method.

./Include/fg_stl_config.h
./Include/auto_ptr.hxx
  Added support for g++ 2.7.
  Further changes to other files are forthcoming.

Brief summary of changes required for g++ 2.7.
  operator->() not supported by iterators: use (*i).x instead of i->x
  default template arguments not supported,
  <functional> doesn't have mem_fun_ref() needed by callbacks.
  some std include files have different names.
  template member functions not supported.

25 years agoTweaks to loop constructs with STL usage.
curt [Wed, 9 Sep 1998 20:58:09 +0000 (20:58 +0000)]
Tweaks to loop constructs with STL usage.

25 years agoOnly use GLUT_STENCIL if the instument panel has been requested.
curt [Wed, 9 Sep 1998 16:25:39 +0000 (16:25 +0000)]
Only use GLUT_STENCIL if the instument panel has been requested.

25 years agoAdded constructor for fgEVENT.
curt [Tue, 8 Sep 1998 21:41:06 +0000 (21:41 +0000)]
Added constructor for fgEVENT.

25 years agoUpdates from Bernie Bright.
curt [Tue, 8 Sep 1998 21:40:42 +0000 (21:40 +0000)]
Updates from Bernie Bright.

25 years agoFixes by Charlie Hotchkiss.
curt [Tue, 8 Sep 1998 21:40:08 +0000 (21:40 +0000)]
Fixes by Charlie Hotchkiss.

25 years agoChanges by Bernie Bright.
curt [Tue, 8 Sep 1998 21:38:41 +0000 (21:38 +0000)]
Changes by Bernie Bright.

25 years agoOptimization by Norman Vine.
curt [Tue, 8 Sep 1998 15:05:10 +0000 (15:05 +0000)]
Optimization by Norman Vine.

25 years agoOptimizations by Norman Vine.
curt [Tue, 8 Sep 1998 15:04:33 +0000 (15:04 +0000)]
Optimizations by Norman Vine.

25 years agoFixed a serious bug caused by not-quite-correct comment/white space eating
curt [Thu, 3 Sep 1998 21:27:03 +0000 (21:27 +0000)]
Fixed a serious bug caused by not-quite-correct comment/white space eating
which resulted in mismatched glBegin() glEnd() pairs, incorrect display lists,
and ugly display artifacts.

25 years agolog file tweak.
curt [Thu, 3 Sep 1998 21:25:39 +0000 (21:25 +0000)]
log file tweak.

25 years agotweaked in data file comment handling.
curt [Thu, 3 Sep 1998 21:25:02 +0000 (21:25 +0000)]
tweaked in data file comment handling.

25 years agoRenamed struct -> class.
curt [Wed, 2 Sep 1998 14:37:45 +0000 (14:37 +0000)]
Renamed struct -> class.

25 years agoUse erase() instead of while ( size() ) pop_front();
curt [Wed, 2 Sep 1998 14:37:08 +0000 (14:37 +0000)]
Use erase() instead of while ( size() ) pop_front();

25 years agoRewrote simple airport loader so it can deal with comments and blank lines.
curt [Wed, 2 Sep 1998 14:35:38 +0000 (14:35 +0000)]
Rewrote simple airport loader so it can deal with comments and blank lines.

25 years agoChanges contributed by Bernie Bright <bbright@c031.aone.net.au>
curt [Tue, 1 Sep 1998 19:02:53 +0000 (19:02 +0000)]
Changes contributed by Bernie Bright <bbright@c031.aone.net.au>
 - The new classes in libmisc.tgz define a stream interface into zlib.
   I've put these in a new directory, Lib/Misc.  Feel free to rename it
   to something more appropriate.  However you'll have to change the
   include directives in all the other files.  Additionally you'll have
   add the library to Lib/Makefile.am and Simulator/Main/Makefile.am.

   The StopWatch class in Lib/Misc requires a HAVE_GETRUSAGE autoconf
   test so I've included the required changes in config.tgz.

   There are a fair few changes to Simulator/Objects as I've moved
   things around.  Loading tiles is quicker but thats not where the delay
   is.  Tile loading takes a few tenths of a second per file on a P200
   but it seems to be the post-processing that leads to a noticeable
   blip in framerate.  I suppose its time to start profiling to see where
   the delays are.

   I've included a brief description of each archives contents.

Lib/Misc/
  zfstream.cxx
  zfstream.hxx
    C++ stream interface into zlib.
    Taken from zlib-1.1.3/contrib/iostream/.
    Minor mods for STL compatibility.
    There's no copyright associated with these so I assume they're
    covered by zlib's.

  fgstream.cxx
  fgstream.hxx
    FlightGear input stream using gz_ifstream.  Tries to open the
    given filename.  If that fails then filename is examined and a
    ".gz" suffix is removed or appended and that file is opened.

  stopwatch.hxx
    A simple timer for benchmarking.  Not used in production code.
    Taken from the Blitz++ project.  Covered by GPL.

  strutils.cxx
  strutils.hxx
    Some simple string manipulation routines.

Simulator/Airports/
  Load airports database using fgstream.
  Changed fgAIRPORTS to use set<> instead of map<>.
  Added bool fgAIRPORTS::search() as a neater way doing the lookup.
  Returns true if found.

Simulator/Astro/
  Modified fgStarsInit() to load stars database using fgstream.

Simulator/Objects/
  Modified fgObjLoad() to use fgstream.
  Modified fgMATERIAL_MGR::load_lib() to use fgstream.
  Many changes to fgMATERIAL.
  Some changes to fgFRAGMENT but I forget what!

25 years agoTweaks from Friedemann.
curt [Mon, 31 Aug 1998 20:45:31 +0000 (20:45 +0000)]
Tweaks from Friedemann.

25 years agoBernie Bright writes:
curt [Sat, 29 Aug 1998 13:11:31 +0000 (13:11 +0000)]
Bernie Bright writes:
  I've created some new classes to enable pointers-to-functions and
  pointers-to-class-methods to be treated like objects.  These objects
  can be registered with fgEVENT_MGR.

  File "Include/fg_callback.hxx" contains the callback class defns.

  Modified fgEVENT and fgEVENT_MGR to use the callback classes.  Also
  some minor tweaks to STL usage.

  Added file "Include/fg_stl_config.h" to deal with STL portability
  issues.  I've added an initial config for egcs (and probably gcc-2.8.x).
  I don't have access to Visual C++ so I've left that for someone else.
  This file is influenced by the stl_config.h file delivered with egcs.

  Added "Include/auto_ptr.hxx" which contains an implementation of the
  STL auto_ptr class which is not provided in all STL implementations
  and is needed to use the callback classes.

  Deleted fgLightUpdate() which was just a wrapper to call
  fgLIGHT::Update().

  Modified fg_init.cxx to register two method callbacks in place of the
  old wrapper functions.

25 years agoChanges to event manager from Bernie Bright.
curt [Sat, 29 Aug 1998 13:09:25 +0000 (13:09 +0000)]
Changes to event manager from Bernie Bright.

25 years agoRewrite of event manager thanks to Bernie Bright.
curt [Sat, 29 Aug 1998 13:07:16 +0000 (13:07 +0000)]
Rewrite of event manager thanks to Bernie Bright.

25 years agoAdded new cockpit code from Friedemann Reinhard
curt [Fri, 28 Aug 1998 18:14:39 +0000 (18:14 +0000)]
Added new cockpit code from Friedemann Reinhard
<mpt218@faupt212.physik.uni-erlangen.de>

25 years agoContributions from Bernie Bright <bbright@c031.aone.net.au>
curt [Thu, 27 Aug 1998 17:01:55 +0000 (17:01 +0000)]
Contributions from Bernie Bright <bbright@c031.aone.net.au>
- use strings for fg_root and airport_id and added methods to return
  them as strings,
- inlined all access methods,
- made the parsing functions private methods,
- deleted some unused functions.
- propogated some of these changes out a bit further.

25 years agoupdates.
curt [Wed, 26 Aug 1998 22:30:38 +0000 (22:30 +0000)]
updates.

25 years agoShuffled $FG_ROOT file layout.
curt [Tue, 25 Aug 1998 20:53:24 +0000 (20:53 +0000)]
Shuffled $FG_ROOT file layout.

25 years agoMoved from ../Main/
curt [Tue, 25 Aug 1998 17:19:13 +0000 (17:19 +0000)]
Moved from ../Main/

25 years agoDirectory reshuffling.
curt [Tue, 25 Aug 1998 16:59:08 +0000 (16:59 +0000)]
Directory reshuffling.

25 years agoMoved files from Scenery/ to Object/
curt [Tue, 25 Aug 1998 16:53:14 +0000 (16:53 +0000)]
Moved files from Scenery/ to Object/

25 years agomaterial.cxx material.hxx obj.cxx obj.hxx texload.c texload.h moved to
curt [Tue, 25 Aug 1998 16:52:38 +0000 (16:52 +0000)]
material.cxx material.hxx obj.cxx obj.hxx texload.c texload.h moved to
  ../Objects

25 years agoMoved from ../Scenery
curt [Tue, 25 Aug 1998 16:51:22 +0000 (16:51 +0000)]
Moved from ../Scenery

25 years agoMoved airports.* to ../Airports/
curt [Tue, 25 Aug 1998 15:34:54 +0000 (15:34 +0000)]
Moved airports.* to ../Airports/

25 years agoRenamed runfg.bat.in runfgfs.bat.in
curt [Mon, 24 Aug 1998 20:33:48 +0000 (20:33 +0000)]
Renamed runfg.bat.in runfgfs.bat.in

25 years agorunfg.in renamed to runfgfs.in
curt [Mon, 24 Aug 1998 20:32:40 +0000 (20:32 +0000)]
runfg.in renamed to runfgfs.in

25 years agoRewrote sidereal_course with simpler parameters.
curt [Mon, 24 Aug 1998 20:12:16 +0000 (20:12 +0000)]
Rewrote sidereal_course with simpler parameters.

25 years agoTweaks ...
curt [Mon, 24 Aug 1998 20:11:39 +0000 (20:11 +0000)]
Tweaks ...

25 years agoAdded i/I to toggle full vs. minimal HUD.
curt [Mon, 24 Aug 1998 20:11:12 +0000 (20:11 +0000)]
Added i/I to toggle full vs. minimal HUD.
Added a --hud-tris vs --hud-culled option.
Moved options accessor funtions to options.hxx.