1
0
Fork 0
Commit graph

41 commits

Author SHA1 Message Date
curt
53be443264 Tweaks for building with native SGI compilers. 1999-03-02 01:02:31 +00:00
curt
00ccbd1f25 Added initial support for native SGI compilers. 1999-02-26 22:08:34 +00:00
curt
b8d59efa71 Modifications to incorporate Jon S. Berndts flight model code. 1999-02-05 21:28:09 +00:00
curt
1209546e08 Renamed FlightGear/Simulator/Flight to FlightGear/Simulator/FDM since
Jon accepted my offer to do this and thought it was a good idea.
1999-02-01 21:33:23 +00:00
curt
de4713bf2a MacOS portability changes contributed by "Robert Puyol" <puyol@abvent.fr> 1999-01-19 20:57:00 +00:00
curt
e8d0a16e41 Updated struct fgGENERAL to class FGGeneral. 1999-01-07 20:24:43 +00:00
curt
800b484493 Fixed a problem with the initial starting altitude. "v->abs_view_pos" wasn't
being calculated correctly at the beginning causing the first terrain
intersection to fail, returning a ground altitude of zero, causing the plane
to free fall for one frame, until the ground altitude was corrected, but now
being under the ground we got a big bounce and the plane always ended up
upside down.
1998-12-06 14:52:54 +00:00
curt
71f334cc0d Renamed class fgFLIGHT to class FGState as per request by JSB. 1998-12-05 15:53:59 +00:00
curt
554768199d Added support for the External flight model. 1998-12-04 01:30:42 +00:00
curt
d25ab417c5 Support for an arbitrary number of serial ports. 1998-11-25 01:33:58 +00:00
curt
a83788c587 Borland portability tweaks. 1998-11-23 21:48:09 +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
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
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
5b752bfb5f C++ ifying ... 1998-10-17 01:33:52 +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
032806000b Optimizations by Norman Vine. 1998-09-08 15:04:33 +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
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
f1b0e32e37 Added GameGLUT support. 1998-08-20 15:10: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
47beea24fb Strip out \r when parsing config file in case we are on a windoze system. 1998-07-22 01:27:03 +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
f17b1af1e3 Added an enable/disable splash screen option.
Added an enable/disable intro music option.
Added an enable/disable instrument panel option.
Added an enable/disable mouse pointer option.
Added using namespace std for compilers that support this.
1998-07-06 21:34:17 +00:00
curt
2be63aa0fb Add my own version of gluLookAt() (which is nearly identical to the
Mesa/glu version.)  But, by calculating the Model View matrix our selves
we can save this matrix without having to read it back in from the video
card.  This hopefully allows us to save a few cpu cycles when rendering
out the fragments because we can just use glLoadMatrixd() with the
precalculated matrix for each tile rather than doing a push(), translate(),
pop() for every fragment.

Panel status defaults to off for now until it gets a bit more developed.

Extract OpenGL driver info on initialization.
1998-07-04 00:52:22 +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
e461053c78 Refined conditional audio support compilation.
Moved texture parameter setup calls to ../Scenery/materials.cxx
#include <string.h> before various STL includes.
Make HUD default state be enabled.
1998-06-17 21:35:10 +00:00
curt
cc0925be18 Tweaked fog command line options. 1998-06-13 00:40:32 +00:00
curt
65cc9a9e66 C++ - ified views.[ch]xx
Shuffled some additional view parameters into the fgVIEW class.
Changed tile-radius to tile-diameter because it is a much better
  name.
Added a WORLD_TO_EYE transformation to views.cxx.  This allows us
 to transform world space to eye space for view frustum culling.
1998-05-16 13:08:34 +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
ae19eec252 Added an averaged global frame rate counter.
Added an option to control tile radius.
1998-05-06 03:16:23 +00:00
curt
448bdb83de Added an option to enable/disable full-screen mode. 1998-05-03 00:47:31 +00:00
curt
d87408c767 Added command line rendering options:
enable/disable fog/haze
  specify smooth/flat shading
  disable sky blending and just use a solid color
  enable wireframe drawing mode
1998-04-30 12:34:17 +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
1a7e966d0b Added an rint() / HAVE_RINT check. 1998-04-26 05:01:19 +00:00
curt
9692b3fe1e Added an command line option to set starting position based on airport ID. 1998-04-25 15:11:10 +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