1
0
Fork 0
Commit graph

36 commits

Author SHA1 Message Date
curt
1c789b7ab6 Turned "struct fgWEATHER" into "class FGWeather". 1998-12-06 13:51:20 +00:00
curt
5ead340cee Renamed class fgCONTROLS to class FGControls. 1998-12-05 16:13:10 +00:00
curt
71f334cc0d Renamed class fgFLIGHT to class FGState as per request by JSB. 1998-12-05 15:53:59 +00:00
curt
7fbb963a39 Converted fgFLIGHT to a class. 1998-12-03 01:14:58 +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
2612ab0ab3 Check for __CYGWIN__ (b20) as well as __CYGWIN32__ (pre b20 compilers)
Other misc. tweaks.
1998-11-02 18:25:34 +00:00
curt
bab1b9c2e5 Turned "struct fgCONTROLS" into a class, with inlined accessor functions. 1998-10-25 14:08:37 +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
5b752bfb5f C++ ifying ... 1998-10-17 01:33:52 +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
a09d8f2d62 Autopilot mods. 1998-09-29 02:03:36 +00:00
curt
c67f3fd59c C++-ified the comments. 1998-09-26 13:16:44 +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
fa1a9ad190 Changes to event manager from Bernie Bright. 1998-08-29 13:09:25 +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
fcdc2cf4c9 Added a local routine to update lighting params every frame when time is
accelerated.
1998-08-05 00:19:33 +00:00
curt
e81eeba64f Output position & orientation when pausing.
Eliminated libtool use.
Added options to specify initial position and orientation.
Changed default fov to 55 degrees.
Added command line option to start in paused or unpaused state.
1998-07-30 23:48:24 +00:00
curt
6d427da8d8 Added a pause command "p"
Fixed some initialization order problems between pui and glut.
Added an --enable/disable-sound option.
1998-07-27 18:41:23 +00:00
curt
8a7fc0d34e "H" / "h" now control hud brightness as well with off being one of the
states.
Better checking for xmesa/fx 3dfx fullscreen/window support for deciding
  whether or not to build in the feature.
Translucent menu support.
HAVE_AUDIO_SUPPORT -> ENABLE_AUDIO_SUPPORT
Use fork() / wait() for playing mp3 init music in background under unix.
Changed default tile diameter to 5.
1998-07-16 17:33:34 +00:00
curt
4abe562805 Wrote access functions for current fgOPTIONS. 1998-07-13 21:00:09 +00:00
curt
72819bbe85 Added support for switching between fullscreen and window mode for
Mesa/3dfx/glide.

Added a basic splash screen.  Restructured the main loop and top level
initialization routines to do this.

Hacked in some support for playing a startup mp3 sound file while rest
of sim initializes.  Currently only works in Unix using the mpg123 player.
Waits for the mpg123 player to finish before initializing internal
sound drivers.
1998-07-06 02:42:02 +00:00
curt
353ec70f8c Replaced "extern displayInstruments" with a entry in fgOPTIONS.
Don't change the view port when displaying the panel.
1998-06-27 16:54:32 +00:00
curt
28ceab0457 Pui -> PUI, Gui -> GUI. 1998-06-12 14:27:25 +00:00
curt
9ebfc12526 Added support for Pui/Gui.
Converted fog to GL_FOG_EXP2.
Link to static simulator parts.
Update runfg.bat to try to be a little smarter.
1998-06-12 00:57:38 +00:00
curt
2cd509d3de View optimizations by Norman Vine. 1998-05-27 02:24:05 +00:00
curt
fb69df5880 Added limits to fov. 1998-05-16 13:05:21 +00:00
curt
c57071acfd Added a keyboard binding to dynamically adjust field of view.
Added a command line option to specify fov.
Adjusted terrain color.
Root path info moved to fgOPTIONS.
Added ability to parse options out of a config file.
1998-05-13 18:29:56 +00:00
curt
58eb9b9089 Added "D" key binding to set autopilot heading.
Made frame rate calculation average out over last 10 frames.
Borland C++ floating point exception workaround.
Added a --tile-radius=n option.
1998-05-07 23:14:14 +00:00
curt
7352183ad9 Type-ified fgTIME and fgVIEW.
Added a command line option to disable textures.
1998-04-28 01:20:20 +00:00
curt
0b782544a3 Edited cvs log messages in source files ... bad bad bad! 1998-04-25 22:06:24 +00:00
curt
dd4a17a011 Cleaned up initialization sequence to eliminate interdependencies
between sun position, lighting, and view position.  This creates a
valid single pass initialization path.
1998-04-25 20:24:00 +00:00
curt
a144bfc090 Fog tweaks. 1998-04-24 14:19:29 +00:00
curt
f4c7a35129 Wrapped "#include <config.h>" in "#ifdef HAVE_CONFIG_H"
Trying out some different option parsing code.
Some code reorganization.
1998-04-24 00:49:17 +00:00
curt
920eefd4a7 C++ - ifing the code.
Starting a bit of reorganization of lighting code.
1998-04-22 13:25:39 +00:00
Renamed from Main/GLUTkey.c (Browse further)