1
0
Fork 0
Commit graph

273 commits

Author SHA1 Message Date
curt
a83788c587 Borland portability tweaks. 1998-11-23 21:48:09 +00:00
curt
ecf2a3eab3 Tweaking serial stuff. 1998-11-23 20:51:51 +00:00
curt
74e2b27308 Fiddling with when I can get info from the opengl driver. 1998-11-23 20:51:26 +00:00
curt
732282a357 Try to detect Mesa/Glide/Voodoo and chose the appropriate resolution. 1998-11-20 01:02:35 +00:00
curt
1466ce0040 Added a "Garman" mode. 1998-11-19 13:53:25 +00:00
curt
f2234416b0 Added pow() macro bug work around.
Added support for starting FGFS at various resolutions.
Added some initial serial port support.
Specify default log levels in main().
1998-11-16 13:59:58 +00:00
curt
302a831599 Initial revision. 1998-11-16 13:57:42 +00:00
curt
8aa30c3d30 Added Michael Johnson's audio patches for testing.
Also did a few tweaks to avoid numerical problems when starting at a place
with no (or bogus) scenery.
1998-11-11 00:24:00 +00:00
curt
4fee7f9df2 Tweaks for the instrument panel. 1998-11-09 23:39:22 +00:00
curt
2c2b68fc47 Enable release builds using the --without-logging option to the configure
script.  Also a couple log message cleanups, plus some C to C++ comment
conversion.
1998-11-07 19:07:06 +00:00
curt
c74350c4fe 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.
1998-11-06 21:17:31 +00:00
curt
ad3ae51348 Changes to track Bernie's updates to fgstream. 1998-11-06 14:46:59 +00:00
curt
197b94fcf4 Changes to the automake/autoconf system to reduce the number of libraries
that are unnecessarily linked into the various executables.
1998-11-04 23:01:39 +00:00
curt
f17926ec54 HUD units now display in feet by default with meters being a command line
option.
1998-11-02 23:04:02 +00:00
curt
2612ab0ab3 Check for __CYGWIN__ (b20) as well as __CYGWIN32__ (pre b20 compilers)
Other misc. tweaks.
1998-11-02 18:25:34 +00:00
curt
80b8037230 Changes to support GLUT joystick routines as fall back. 1998-10-27 02:14:21 +00:00
curt
bab1b9c2e5 Turned "struct fgCONTROLS" into a class, with inlined accessor functions. 1998-10-25 14:08:37 +00:00
curt
309f1543a9 Changes to use the new joystick library if it is available. 1998-10-25 10:57:18 +00:00
curt
0bcaef2256 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.
1998-10-20 14:58:57 +00:00
curt
7efee52485 Point3D tweaks. 1998-10-18 01:17:16 +00:00
curt
5b752bfb5f C++ ifying ... 1998-10-17 01:33:52 +00:00
curt
bf5fb5108b C++-ifying. 1998-10-16 23:26:44 +00:00
curt
7e240adff1 Converted to Point3D class. 1998-10-16 00:51:46 +00:00
curt
3e24bc7e23 Added an "auto throttle" 1998-10-02 12:46:43 +00:00
curt
49b5ce80c5 More altitude hold tweaks. 1998-10-01 00:37:57 +00:00
curt
c464527318 Use working() instead of !not_working() for audio. 1998-09-29 14:58:18 +00:00
curt
a09d8f2d62 Autopilot mods. 1998-09-29 02:03:36 +00:00
curt
6b2447c6c4 Check if audio "working()" before doing audio manipulations. 1998-09-26 13:18:35 +00:00
curt
33a585042c oops, I guess I changed the executable name to fgfs.exe ... 1998-09-26 13:17:56 +00:00
curt
203f3dc39e Clear screen to "black" before drawing splash screen. 1998-09-26 13:17:29 +00:00
curt
c67f3fd59c C++-ified the comments. 1998-09-26 13:16:44 +00:00
curt
be2f27bd66 Added support for pitch and volume envelopes and tied them to the
throttle setting.
1998-09-25 16:02:07 +00:00
curt
6438a27244 Added F8 to toggle fog and F9 to toggle texturing. 1998-09-17 18:35:30 +00:00
curt
6f91b7db68 Changes for new Astro code. 1998-09-15 04:27:27 +00:00
curt
c4dbcd55b1 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.
1998-09-15 02:09:24 +00:00
curt
f4f6397877 Moved libAirports.a later in link order. 1998-09-14 13:49:42 +00:00
curt
723f54c78b Only use GLUT_STENCIL if the instument panel has been requested. 1998-09-09 16:25:39 +00:00
curt
dbcfeaf766 Fixes by Charlie Hotchkiss. 1998-09-08 21:40:08 +00:00
curt
032806000b Optimizations by Norman Vine. 1998-09-08 15:04:33 +00:00
curt
747bc7c6b4 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!
1998-09-01 19:02:53 +00:00
curt
fa1a9ad190 Changes to event manager from Bernie Bright. 1998-08-29 13:09:25 +00:00
curt
48ea415f69 Added new cockpit code from Friedemann Reinhard
<mpt218@faupt212.physik.uni-erlangen.de>
1998-08-28 18:14:39 +00:00
curt
283a23159a 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.
1998-08-27 17:01:55 +00:00
curt
9d608dd593 Shuffled $FG_ROOT file layout. 1998-08-25 20:53:24 +00:00
curt
6594fe1067 Directory reshuffling. 1998-08-25 16:59:08 +00:00
curt
f8e23d2fbb Moved airports.* to ../Airports/ 1998-08-25 15:34:54 +00:00
curt
d8dec77d3f Renamed runfg.bat.in runfgfs.bat.in 1998-08-24 20:33:48 +00:00
curt
8e294aa789 runfg.in renamed to runfgfs.in 1998-08-24 20:32:40 +00:00
curt
ac2c904dc6 Added i/I to toggle full vs. minimal HUD.
Added a --hud-tris vs --hud-culled option.
Moved options accessor funtions to options.hxx.
1998-08-24 20:11:12 +00:00
curt
e33dbca814 Attempting to iron out seg faults and crashes.
Did some shuffling to fix a initialization order problem between view
position, scenery elevation.
1998-08-22 14:49:55 +00:00