1
0
Fork 0
Commit graph

3301 commits

Author SHA1 Message Date
curt
8d91019166 ground collision detection implemented. 1998-07-16 17:30:07 +00:00
curt
1175179da1 HAVE_AUDIO_SUPPORT -> ENABLE_AUDIO_SUPPORT 1998-07-16 17:29:12 +00:00
curt
ba6f80b9fd Ran libtoolize ... 1998-07-16 17:28:42 +00:00
curt
21cba39007 Converted the aoa scale to a radio altimeter. 1998-07-13 21:28:00 +00:00
curt
8f3c1f30e1 Integrated Charlies latest HUD updates.
Wrote access functions for current fgOPTIONS.
1998-07-13 21:00:45 +00:00
curt
4abe562805 Wrote access functions for current fgOPTIONS. 1998-07-13 21:00:09 +00:00
curt
06ab581edb Incorporated next version of PUI. 1998-07-13 20:59:34 +00:00
curt
0294f8da00 . 1998-07-13 20:58:02 +00:00
curt
d282f1b0d6 News updates ... 1998-07-13 20:57:46 +00:00
curt
8767a84ffc Clear color buffer if drawing wireframe.
When specifying and airport, start elevation at -1000 and let the system
position you at ground level.
1998-07-13 15:32:37 +00:00
curt
0e952432f1 Added #ifdef HAVE_CONFIG_H 1998-07-13 15:29:49 +00:00
curt
262b2f0607 Added ground collision detection. This involved:
- saving the entire vertex list for each tile with the tile records.
- saving the face list for each fragment with the fragment records.
- code to intersect the current vertical line with the proper face in
  an efficient manner as possible.
Fixed a bug where the tiles weren't being shifted to "near" (0,0,0)
1998-07-12 03:18:27 +00:00
curt
330c78ac73 Added ground collision detection.
Did some serious horsing around to be able to "hug" the ground properly
  and still be able to take off.
Set the near clip plane to 1.0 meters when less than 10 meters above the
  ground.
Did some serious horsing around getting the initial airplane position to be
  correct based on rendered terrain elevation.
Added a little cheat/hack that will prevent the view position from ever
  dropping below the terrain, even when the flight model doesn't quite
  put you as high as you'd like.
1998-07-12 03:14:42 +00:00
curt
dcae0268de Removed some printf()'s.
Fixed the autopilot integration so it should be able to update it's control
  positions every time the internal flight model loop is run, and not just
  once per rendered frame.
Added a routine to do the necessary stuff to force an arbitrary altitude
  change.
Gave the Navion engine just a tad more power.
1998-07-12 03:11:03 +00:00
curt
0d2c200db4 Added fgFlightModelSetAltitude() to force the altitude to something
other than the current altitude.  LaRCsim doesn't let you do this by just
changing FG_Altitude.
1998-07-12 03:08:27 +00:00
curt
52f320ab1f Added #ifdef HAVE_CONFIG_H ... 1998-07-12 03:07:13 +00:00
curt
00276b769b *.[ch] renamed to *.[ch]xx 1998-07-08 14:59:13 +00:00
curt
4267b78a4d renamed *.[ch] to *.[ch]xx 1998-07-08 14:54:52 +00:00
curt
14ed0c8fa8 tweaks. 1998-07-08 14:49:13 +00:00
curt
1bfa270128 polar3d.h renamed to polar3d.hxx 1998-07-08 14:48:38 +00:00
curt
a0f58259dd Fix GL_MODULATE vs. GL_DECAL problem introduced by splash screen.
polare3d.h renamed to polar3d.hxx
fg{Cartesian,Polar}Point3d consolodated.
Added some initial support for calculating local current ground elevation.
1998-07-08 14:47:20 +00:00
curt
0099b307bc polar3d.h renamed to polar3d.hxx
vector.h renamed to vector.hxx
updated audio support so it waits to create audio classes (and tie up
  /dev/dsp) until the mpg123 player is finished.
1998-07-08 14:45:07 +00:00
curt
a96f1bc278 . 1998-07-08 14:41:37 +00:00
curt
634b470512 Renamed polar3d.h to polar3d.hxx 1998-07-08 14:41:08 +00:00
curt
dbcecbd3b8 polar3d.[ch] renamed to polar3d.[ch]xx, vector.[ch] renamed to vector.[ch]xx
Updated fg_geodesy comments to reflect that routines expect and produce
  meters.
1998-07-08 14:40:07 +00:00
curt
cc75d822ef Changed name of EQUATORIAL_RADIUS_KM and RESQ_KM to "M" since they were
in meters anyways.

Unified fgCartesianPoint3d and fgPolarPoint3d in a single struct called
fgPoint3d.
1998-07-08 14:36:29 +00:00
curt
39c1facaef Added using namespace std for compilers that support this. 1998-07-06 21:34:33 +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
77572d53d4 Added an enable/disable mouse pointer option in case the autodetection
fails.
1998-07-06 21:31:57 +00:00
curt
89c0410ce7 Removed an extraneous ^M. 1998-07-06 21:31:20 +00:00
curt
6100c26cd6 Initial revision. 1998-07-06 02:42:36 +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
d124c5f456 . 1998-07-06 02:37:38 +00:00
curt
80add1e6e9 Insignificant reformting. 1998-07-06 02:37:17 +00:00
curt
2c3d44198c typedef'd struct fgBUCKET. 1998-07-04 00:55:39 +00:00
curt
f019a93757 Added initial start at an Area generator. 1998-07-04 00:55:11 +00:00
curt
6d48ba08a0 Added automatic mipmap generation.
When rendering fragments, use saved model view matrix from associated tile
rather than recalculating it with push() translate() pop().
1998-07-04 00:54:28 +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
e3cd2005ba Check for full screen (no windows system support) before having PUI draw
it's ugly excuse for a mouse. :-)  The check is probably not general enough,
but it can be improved as more and varied hardware is tested.
1998-07-04 00:48:41 +00:00
curt
4e4fbc2190 typedef'd struct fgBUCKET. 1998-07-04 00:47:18 +00:00
curt
4205c0a38d typedef'd struct fgBUCKET. 1998-07-04 00:46:47 +00:00
curt
7e90664af7 Added conversion constants to fg_constants.h to assist with converting
between various world units and coordinate systems.
Added gl vendor/renderer/version info to general structure.  Initialized
  in fg_init.cxx
1998-07-03 14:36:11 +00:00
curt
bb83ba4017 Added Tools/Areas to Makefile list. 1998-07-03 14:34:39 +00:00
curt
3a6278c4e0 Added Charlie Hotchkiss's HUD updates and improvementes. 1998-07-03 13:16:27 +00:00
curt
1e94128bbd Initial revisions. 1998-07-03 12:18:55 +00:00
curt
a97ebd1f37 A few small rearrangements and tweaks. 1998-07-03 11:55:36 +00:00
curt
a76904c314 Added #ifdef HAVE_CONFIG_H #include <config.h> #endif to get WIN32
definition.
1998-07-03 11:54:50 +00:00
curt
145ecfcf6e something switch position for some reason. 1998-07-03 11:53:54 +00:00
curt
be1481fa61 Moving past 0.49 1998-07-03 11:53:19 +00:00
curt
75d5771109 Initial revision. 1998-06-27 22:34:57 +00:00