1
0
Fork 0
Commit graph

5427 commits

Author SHA1 Message Date
curt
39521df546 Version 1.1.3 1998-07-24 21:35:29 +00:00
curt
6dd8a1525c fgPointLine() rewritten into fgPointLineSquared() ... this ultimately saves
us from doing a sqrt().
1998-07-24 21:34:38 +00:00
curt
4fb198d696 Disable maintainer mode (what ever that does.) 1998-07-24 21:33:41 +00:00
curt
8a690c2058 Fixed a bug that was triggering a seg fault. 1998-07-22 21:46:40 +00:00
curt
d8c9c07659 minor tweaks. 1998-07-22 21:46:09 +00:00
curt
ffa2a0feb3 fg_time.cxx: Removed call to ctime() in a printf() which should be harmless
but seems to be triggering a bug.
light.cxx: Added code to adjust fog color based on sunrise/sunset effects
  and view orientation.  This is an attempt to match the fog color to the
  sky color in the center of the screen.  You see discrepancies at the
  edges, but what else can be done?
sunpos.cxx: Caculate local direction to sun here.  (what compass direction
  do we need to face to point directly at sun)
1998-07-22 21:45:37 +00:00
curt
f8356621c1 Add basic fgFACE methods contributed by Charlie Hotchkiss.
intersect optimization from Norman Vine.
1998-07-22 21:41:42 +00:00
curt
0347fcc173 Clear to adjusted fog color (for sunrise/sunset effects)
Make call to fog sunrise/sunset adjustment method.
Add a stdc++ library bug work around to fg_init.cxx
1998-07-22 21:40:43 +00:00
curt
3fb75af08f Lower skirt tracks adjusted fog color, not fog color. 1998-07-22 21:39:21 +00:00
curt
24c592a3ce ... 1998-07-22 21:37:46 +00:00
curt
9cdd4bdf3b 0.52 ... 1998-07-22 21:37:19 +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
0a8ec68f2b Mods to handle extra nodes (i.e. preserve cutouts). 1998-07-21 04:34:20 +00:00
curt
e435c551c6 More tweaks for sub-area cutouts. 1998-07-21 04:33:47 +00:00
curt
14a58ae22b Several tweaks to start incorporating area cutouts into the pipeline. 1998-07-20 12:55:35 +00:00
curt
662648f349 Whoops, need to commit Makefile.am, not Makefile. 1998-07-20 12:54:53 +00:00
curt
8f14bf2e84 Initial revision. 1998-07-20 12:54:05 +00:00
curt
b3d461c384 Default visibility to about 20 miles. 1998-07-20 12:51:57 +00:00
curt
adee4bc151 Added far clip plane to fragment clipping calculations and tie this to
weather->visibility.  This way you can increase framerates by increasing
for and lowering visibility.
1998-07-20 12:51:26 +00:00
curt
a6f9590baf Tweaked color buffer clearing defaults. We clear the color buffer if we
are doing textures.  Assumptions:  If we are doing textures we have hardware
support that can clear the color buffer for "free."  If we are doing software
rendering with textures, then the extra clear time gets lost in the noise.
1998-07-20 12:49:44 +00:00
curt
d8039a551e Replace the hud rendering for loop (which linearly searches the the hud
list to find the entry with the proper position) with a simple linear
traversal using an "iterator."
1998-07-20 12:47:55 +00:00
curt
c4666a4c4a When outputing to a .node file, first check for an optional
"index.node.ex" file in case there is a .poly file to go along with this
node file.  Include these nodes first since they are referenced by position
from the .poly file.  This is my first pass at adding an area "cutout"
feature to the terrain generation pipeline.
1998-07-20 12:46:11 +00:00
curt
fca7a8fa47 Initial revision. 1998-07-16 17:48:11 +00:00
curt
5ed5107fc1 Ground collision detection optimizations contributed by Norman Vine. 1998-07-16 17:34:24 +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
79aca80666 Implemented translucent menus. 1998-07-16 17:30:30 +00:00
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