]> git.mxchange.org Git - flightgear.git/log
flightgear.git
25 years agoBeginning to add support for multiple flight models.
curt [Thu, 30 Jul 1998 23:44:36 +0000 (23:44 +0000)]
Beginning to add support for multiple flight models.

25 years agoTweaks for sgi building.
curt [Thu, 30 Jul 1998 23:44:05 +0000 (23:44 +0000)]
Tweaks for sgi building.

25 years agoEliminated glScale call so that glutSolidSphere normals are preserved
curt [Thu, 30 Jul 1998 23:43:30 +0000 (23:43 +0000)]
Eliminated glScale call so that glutSolidSphere normals are preserved
correctly.  Also made the sun & moon a bit smaller.

25 years agoAdded a pause option.
curt [Mon, 27 Jul 1998 18:42:22 +0000 (18:42 +0000)]
Added a pause option.

25 years agoAdded a pause command "p"
curt [Mon, 27 Jul 1998 18:41:23 +0000 (18:41 +0000)]
Added a pause command "p"
Fixed some initialization order problems between pui and glut.
Added an --enable/disable-sound option.

25 years agoSet near clip plane to 0.5 meters when close to the ground. Also, let the view get...
curt [Fri, 24 Jul 1998 21:56:59 +0000 (21:56 +0000)]
Set near clip plane to 0.5 meters when close to the ground.  Also, let the view get a bit closer to the ground before hitting the hard limit.

25 years agoOutput message tweaks.
curt [Fri, 24 Jul 1998 21:42:25 +0000 (21:42 +0000)]
Output message tweaks.

25 years agomaterial.cxx: whups, double method declaration with no definition.
curt [Fri, 24 Jul 1998 21:42:06 +0000 (21:42 +0000)]
material.cxx: whups, double method declaration with no definition.
obj.cxx: tweaks to avoid errors in SGI's CC.
tile.cxx: optimizations by Norman Vine.
tilemgr.cxx: optimizations by Norman Vine.

25 years agoDebugging output tweaks.
curt [Fri, 24 Jul 1998 21:39:08 +0000 (21:39 +0000)]
Debugging output tweaks.
Cast glGetString to (char *) to avoid compiler errors.
Optimizations to fgGluLookAt() by Norman Vine.

25 years agoRan dos2unix to get rid of extraneous ^M's. Tweaked parameter in
curt [Fri, 24 Jul 1998 21:36:55 +0000 (21:36 +0000)]
Ran dos2unix to get rid of extraneous ^M's.  Tweaked parameter in
ImageGetRawData() to match usage.

25 years agofg_time.cxx: Removed call to ctime() in a printf() which should be harmless
curt [Wed, 22 Jul 1998 21:45:37 +0000 (21:45 +0000)]
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)

25 years agoAdd basic fgFACE methods contributed by Charlie Hotchkiss.
curt [Wed, 22 Jul 1998 21:41:42 +0000 (21:41 +0000)]
Add basic fgFACE methods contributed by Charlie Hotchkiss.
intersect optimization from Norman Vine.

25 years agoClear to adjusted fog color (for sunrise/sunset effects)
curt [Wed, 22 Jul 1998 21:40:43 +0000 (21:40 +0000)]
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

25 years agoLower skirt tracks adjusted fog color, not fog color.
curt [Wed, 22 Jul 1998 21:39:21 +0000 (21:39 +0000)]
Lower skirt tracks adjusted fog color, not fog color.

25 years ago...
curt [Wed, 22 Jul 1998 21:37:46 +0000 (21:37 +0000)]
...

25 years agoStrip out \r when parsing config file in case we are on a windoze system.
curt [Wed, 22 Jul 1998 01:27:03 +0000 (01:27 +0000)]
Strip out \r when parsing config file in case we are on a windoze system.

25 years agoDefault visibility to about 20 miles.
curt [Mon, 20 Jul 1998 12:51:57 +0000 (12:51 +0000)]
Default visibility to about 20 miles.

25 years agoAdded far clip plane to fragment clipping calculations and tie this to
curt [Mon, 20 Jul 1998 12:51:26 +0000 (12:51 +0000)]
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.

25 years agoTweaked color buffer clearing defaults. We clear the color buffer if we
curt [Mon, 20 Jul 1998 12:49:44 +0000 (12:49 +0000)]
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.

25 years agoReplace the hud rendering for loop (which linearly searches the the hud
curt [Mon, 20 Jul 1998 12:47:55 +0000 (12:47 +0000)]
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."

26 years agoGround collision detection optimizations contributed by Norman Vine.
curt [Thu, 16 Jul 1998 17:34:24 +0000 (17:34 +0000)]
Ground collision detection optimizations contributed by Norman Vine.

26 years ago"H" / "h" now control hud brightness as well with off being one of the
curt [Thu, 16 Jul 1998 17:33:34 +0000 (17:33 +0000)]
"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.

26 years agoImplemented translucent menus.
curt [Thu, 16 Jul 1998 17:30:30 +0000 (17:30 +0000)]
Implemented translucent menus.

26 years agoground collision detection implemented.
curt [Thu, 16 Jul 1998 17:30:07 +0000 (17:30 +0000)]
ground collision detection implemented.

26 years agoConverted the aoa scale to a radio altimeter.
curt [Mon, 13 Jul 1998 21:28:00 +0000 (21:28 +0000)]
Converted the aoa scale to a radio altimeter.

26 years agoIntegrated Charlies latest HUD updates.
curt [Mon, 13 Jul 1998 21:00:45 +0000 (21:00 +0000)]
Integrated Charlies latest HUD updates.
Wrote access functions for current fgOPTIONS.

26 years agoWrote access functions for current fgOPTIONS.
curt [Mon, 13 Jul 1998 21:00:09 +0000 (21:00 +0000)]
Wrote access functions for current fgOPTIONS.

26 years agoClear color buffer if drawing wireframe.
curt [Mon, 13 Jul 1998 15:32:37 +0000 (15:32 +0000)]
Clear color buffer if drawing wireframe.
When specifying and airport, start elevation at -1000 and let the system
position you at ground level.

26 years agoAdded ground collision detection. This involved:
curt [Sun, 12 Jul 1998 03:18:27 +0000 (03:18 +0000)]
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)

26 years agoAdded ground collision detection.
curt [Sun, 12 Jul 1998 03:14:42 +0000 (03:14 +0000)]
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.

26 years agoRemoved some printf()'s.
curt [Sun, 12 Jul 1998 03:11:03 +0000 (03:11 +0000)]
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.

26 years agoAdded fgFlightModelSetAltitude() to force the altitude to something
curt [Sun, 12 Jul 1998 03:08:27 +0000 (03:08 +0000)]
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.

26 years agopolar3d.h renamed to polar3d.hxx
curt [Wed, 8 Jul 1998 14:48:38 +0000 (14:48 +0000)]
polar3d.h renamed to polar3d.hxx

26 years agoFix GL_MODULATE vs. GL_DECAL problem introduced by splash screen.
curt [Wed, 8 Jul 1998 14:47:20 +0000 (14:47 +0000)]
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.

26 years agopolar3d.h renamed to polar3d.hxx
curt [Wed, 8 Jul 1998 14:45:07 +0000 (14:45 +0000)]
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.

26 years ago.
curt [Wed, 8 Jul 1998 14:41:37 +0000 (14:41 +0000)]
.

26 years agoRenamed polar3d.h to polar3d.hxx
curt [Wed, 8 Jul 1998 14:41:08 +0000 (14:41 +0000)]
Renamed polar3d.h to polar3d.hxx

26 years agoAdded using namespace std for compilers that support this.
curt [Mon, 6 Jul 1998 21:34:33 +0000 (21:34 +0000)]
Added using namespace std for compilers that support this.

26 years agoAdded an enable/disable splash screen option.
curt [Mon, 6 Jul 1998 21:34:17 +0000 (21:34 +0000)]
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.

26 years agoAdded an enable/disable mouse pointer option in case the autodetection
curt [Mon, 6 Jul 1998 21:31:57 +0000 (21:31 +0000)]
Added an enable/disable mouse pointer option in case the autodetection
fails.

26 years agoRemoved an extraneous ^M.
curt [Mon, 6 Jul 1998 21:31:20 +0000 (21:31 +0000)]
Removed an extraneous ^M.

26 years agoInitial revision.
curt [Mon, 6 Jul 1998 02:42:36 +0000 (02:42 +0000)]
Initial revision.

26 years agoAdded support for switching between fullscreen and window mode for
curt [Mon, 6 Jul 1998 02:42:02 +0000 (02:42 +0000)]
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.

26 years ago.
curt [Mon, 6 Jul 1998 02:37:38 +0000 (02:37 +0000)]
.

26 years agoAdded automatic mipmap generation.
curt [Sat, 4 Jul 1998 00:54:28 +0000 (00:54 +0000)]
Added automatic mipmap generation.

When rendering fragments, use saved model view matrix from associated tile
rather than recalculating it with push() translate() pop().

26 years agoAdd my own version of gluLookAt() (which is nearly identical to the
curt [Sat, 4 Jul 1998 00:52:22 +0000 (00:52 +0000)]
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.

26 years agoCheck for full screen (no windows system support) before having PUI draw
curt [Sat, 4 Jul 1998 00:48:41 +0000 (00:48 +0000)]
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.

26 years agoAdded Charlie Hotchkiss's HUD updates and improvementes.
curt [Fri, 3 Jul 1998 13:16:27 +0000 (13:16 +0000)]
Added Charlie Hotchkiss's HUD updates and improvementes.

26 years agoA few small rearrangements and tweaks.
curt [Fri, 3 Jul 1998 11:55:36 +0000 (11:55 +0000)]
A few small rearrangements and tweaks.

26 years agoInitial revision.
curt [Sat, 27 Jun 1998 22:34:57 +0000 (22:34 +0000)]
Initial revision.

26 years agoCheck for GL_VERSION_1_1 or GL_EXT_texture_object to decide whether to use
curt [Sat, 27 Jun 1998 16:54:59 +0000 (16:54 +0000)]
Check for GL_VERSION_1_1 or GL_EXT_texture_object to decide whether to use
  "EXT" versions of texture management routines.

26 years agoReplaced "extern displayInstruments" with a entry in fgOPTIONS.
curt [Sat, 27 Jun 1998 16:54:32 +0000 (16:54 +0000)]
Replaced "extern displayInstruments" with a entry in fgOPTIONS.
Don't change the view port when displaying the panel.

26 years agoIn fgCalculatePlanet() pass a pointer to a structure to be modified, rather
curt [Sat, 27 Jun 1998 16:51:54 +0000 (16:51 +0000)]
In fgCalculatePlanet() pass a pointer to a structure to be modified, rather
than returning the entire structure.

26 years agoIncorporated Friedemann Reinhard's <mpt218@faupt212.physik.uni-erlangen.de>
curt [Sat, 27 Jun 1998 16:47:53 +0000 (16:47 +0000)]
Incorporated Friedemann Reinhard's <mpt218@faupt212.physik.uni-erlangen.de>
first pass at an isntrument panel.

26 years agoLoad and manage multiple textures defined in the Materials library.
curt [Wed, 17 Jun 1998 21:36:39 +0000 (21:36 +0000)]
Load and manage multiple textures defined in the Materials library.
Boost max material fagments for each material property to 800.
Multiple texture support when rendering.

26 years agoRefined conditional audio support compilation.
curt [Wed, 17 Jun 1998 21:35:10 +0000 (21:35 +0000)]
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.

26 years agoTweaks ...
curt [Wed, 17 Jun 1998 21:33:35 +0000 (21:33 +0000)]
Tweaks ...

26 years agomisc jottings from conversation with Skeet Vaughn.
curt [Wed, 17 Jun 1998 21:33:18 +0000 (21:33 +0000)]
misc jottings from conversation with Skeet Vaughn.

26 years agoTweaked fog command line options.
curt [Sat, 13 Jun 1998 00:40:32 +0000 (00:40 +0000)]
Tweaked fog command line options.

26 years agoPui -> PUI, Gui -> GUI.
curt [Fri, 12 Jun 1998 14:27:25 +0000 (14:27 +0000)]
Pui -> PUI, Gui -> GUI.

26 years agoInitial revision.
curt [Fri, 12 Jun 1998 01:07:06 +0000 (01:07 +0000)]
Initial revision.

26 years agoBuild only static libraries.
curt [Fri, 12 Jun 1998 01:01:14 +0000 (01:01 +0000)]
Build only static libraries.

26 years agoBuild only static libraries.
curt [Fri, 12 Jun 1998 01:00:59 +0000 (01:00 +0000)]
Build only static libraries.
Declare memmove/memset for Sloaris.
Added support for exponetial fog, which solves for the proper density to
achieve the desired visibility range.

26 years agoBuild only static libraries.
curt [Fri, 12 Jun 1998 00:59:52 +0000 (00:59 +0000)]
Build only static libraries.
Declare memmove/memset for Sloaris.
Rewrote fg_time.c routine to get LST start seconds to better handle
  Solaris, and be easier to port, and understand the GMT vs. local
  timezone issues.

26 years agoAdded support for Pui/Gui.
curt [Fri, 12 Jun 1998 00:57:38 +0000 (00:57 +0000)]
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.

26 years agoBuild only static libraries.
curt [Fri, 12 Jun 1998 00:55:58 +0000 (00:55 +0000)]
Build only static libraries.
Declare memmove/memset for Sloaris.

26 years agoAdded the Gui subdirectory.
curt [Fri, 12 Jun 1998 00:54:41 +0000 (00:54 +0000)]
Added the Gui subdirectory.
Stuff done.

26 years agoWorking first pass at material proporty sorting.
curt [Mon, 8 Jun 1998 17:57:54 +0000 (17:57 +0000)]
Working first pass at material proporty sorting.

26 years agoMinor sound/startup position tweaks.
curt [Mon, 8 Jun 1998 17:57:04 +0000 (17:57 +0000)]
Minor sound/startup position tweaks.

26 years agoI goofed on the log message in the last commit ... now fixed.
curt [Sat, 6 Jun 1998 01:09:31 +0000 (01:09 +0000)]
I goofed on the log message in the last commit ... now fixed.

26 years agoIncreased per material fragment list size from 100 to 400.
curt [Sat, 6 Jun 1998 01:07:17 +0000 (01:07 +0000)]
Increased per material fragment list size from 100 to 400.

26 years agoWorking on sorting by, and rendering by material properties.
curt [Fri, 5 Jun 1998 22:39:53 +0000 (22:39 +0000)]
Working on sorting by, and rendering by material properties.

26 years agoRecognize file, file.gz, and file.obj as scenery object files.
curt [Fri, 5 Jun 1998 18:19:18 +0000 (18:19 +0000)]
Recognize file, file.gz, and file.obj as scenery object files.

26 years agoA bit of fiddling with audio ...
curt [Fri, 5 Jun 1998 18:18:40 +0000 (18:18 +0000)]
A bit of fiddling with audio ...

26 years agoIncorporated some automake conditionals to try to support mktime() correctly
curt [Fri, 5 Jun 1998 18:18:12 +0000 (18:18 +0000)]
Incorporated some automake conditionals to try to support mktime() correctly
on a wider variety of platforms.
Added the declaration of memmove needed by the stl which apparently
solaris only defines for cc compilations and not for c++ (__STDC__)

26 years agoAdded the declaration of memmove needed by the stl which apparently
curt [Fri, 5 Jun 1998 18:17:10 +0000 (18:17 +0000)]
Added the declaration of memmove needed by the stl which apparently
solaris only defines for cc compilations and not for c++ (__STDC__)

26 years agoTweaking sound library usage.
curt [Wed, 3 Jun 1998 22:01:06 +0000 (22:01 +0000)]
Tweaking sound library usage.

26 years agoNo .h for STL includes.
curt [Wed, 3 Jun 1998 00:48:12 +0000 (00:48 +0000)]
No .h for STL includes.

26 years agoNo .h for STL includes.
curt [Wed, 3 Jun 1998 00:47:50 +0000 (00:47 +0000)]
No .h for STL includes.
Minor view culling optimizations.

26 years agoUpdated to compile in audio support if OSS available.
curt [Wed, 3 Jun 1998 00:47:11 +0000 (00:47 +0000)]
Updated to compile in audio support if OSS available.
Updated for new version of Steve's audio library.
STL includes don't use .h
Small view optimizations.

26 years agoNo .h when including stl stuff.
curt [Wed, 3 Jun 1998 00:43:28 +0000 (00:43 +0000)]
No .h when including stl stuff.

26 years agoinitial checkin of taginfo
curt [Tue, 2 Jun 1998 21:59:45 +0000 (21:59 +0000)]
initial checkin of taginfo

26 years agoinitial checkin of notify
curt [Tue, 2 Jun 1998 21:59:45 +0000 (21:59 +0000)]
initial checkin of notify

26 years agoinitial checkin of modules
curt [Tue, 2 Jun 1998 21:59:45 +0000 (21:59 +0000)]
initial checkin of modules

26 years agoinitial checkin of cvswrappers
curt [Tue, 2 Jun 1998 21:59:45 +0000 (21:59 +0000)]
initial checkin of cvswrappers

26 years agoinitial checkin of checkoutlist
curt [Tue, 2 Jun 1998 21:59:45 +0000 (21:59 +0000)]
initial checkin of checkoutlist

26 years agoinitial checkin of rcsinfo
curt [Tue, 2 Jun 1998 21:59:44 +0000 (21:59 +0000)]
initial checkin of rcsinfo

26 years agoinitial checkin of loginfo
curt [Tue, 2 Jun 1998 21:59:44 +0000 (21:59 +0000)]
initial checkin of loginfo

26 years agoinitial checkin of editinfo
curt [Tue, 2 Jun 1998 21:59:44 +0000 (21:59 +0000)]
initial checkin of editinfo

26 years agoinitial checkin of commitinfo
curt [Tue, 2 Jun 1998 21:59:44 +0000 (21:59 +0000)]
initial checkin of commitinfo

26 years agoIncremental additions to material.cxx (not fully functional)
curt [Mon, 1 Jun 1998 17:56:20 +0000 (17:56 +0000)]
Incremental additions to material.cxx (not fully functional)
Tweaked vfc_ratio math to avoid divide by zero.

26 years agoAdded Linux audio support.
curt [Mon, 1 Jun 1998 17:54:40 +0000 (17:54 +0000)]
Added Linux audio support.
avoid glClear( COLOR_BUFFER_BIT ) when not using it to set the sky color.
map stl tweaks.

26 years ago.
curt [Mon, 1 Jun 1998 17:50:27 +0000 (17:50 +0000)]
.

26 years agomisc updates.
curt [Sat, 30 May 1998 01:57:25 +0000 (01:57 +0000)]
misc updates.

26 years agoAdded material.cxx material.hxx
curt [Sat, 30 May 1998 01:56:44 +0000 (01:56 +0000)]
Added material.cxx material.hxx

26 years agoRenamed <Table>.table to be <Table> so we can add a .gz under DOS.
curt [Fri, 29 May 1998 20:37:51 +0000 (20:37 +0000)]
Renamed <Table>.table to be <Table> so we can add a .gz under DOS.

26 years agoTweaked material properties & lighting a bit in GLUTmain.cxx.
curt [Fri, 29 May 1998 20:37:19 +0000 (20:37 +0000)]
Tweaked material properties & lighting a bit in GLUTmain.cxx.
Read airport list into a "map" STL for dynamic list sizing and fast tree
based lookups.

26 years agoAdded zlib support for reading in compressed data files.
curt [Fri, 29 May 1998 20:35:41 +0000 (20:35 +0000)]
Added zlib support for reading in compressed data files.

26 years ago...
curt [Fri, 29 May 1998 20:35:18 +0000 (20:35 +0000)]
...

26 years agoView optimizations by Norman Vine.
curt [Wed, 27 May 1998 02:24:05 +0000 (02:24 +0000)]
View optimizations by Norman Vine.