1
0
Fork 0
Commit graph

653 commits

Author SHA1 Message Date
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
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
3a6278c4e0 Added Charlie Hotchkiss's HUD updates and improvementes. 1998-07-03 13:16:27 +00:00
curt
a97ebd1f37 A few small rearrangements and tweaks. 1998-07-03 11:55:36 +00:00
curt
75d5771109 Initial revision. 1998-06-27 22:34:57 +00:00
curt
be9d6ea4ea Check for GL_VERSION_1_1 or GL_EXT_texture_object to decide whether to use
"EXT" versions of texture management routines.
1998-06-27 16:54:59 +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
3fb9a879a7 In fgCalculatePlanet() pass a pointer to a structure to be modified, rather
than returning the entire structure.
1998-06-27 16:51:54 +00:00
curt
02514061ba Incorporated Friedemann Reinhard's <mpt218@faupt212.physik.uni-erlangen.de>
first pass at an isntrument panel.
1998-06-27 16:47:53 +00:00
curt
24c78e8146 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.
1998-06-17 21:36:39 +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
1e4a06098f Tweaks ... 1998-06-17 21:33:35 +00:00
curt
0d6c8357bd misc jottings from conversation with Skeet Vaughn. 1998-06-17 21:33:18 +00:00
curt
cc0925be18 Tweaked fog command line options. 1998-06-13 00:40:32 +00:00
curt
28ceab0457 Pui -> PUI, Gui -> GUI. 1998-06-12 14:27:25 +00:00
curt
0afa16ce3a Initial revision. 1998-06-12 01:07:06 +00:00
curt
1642829438 Build only static libraries. 1998-06-12 01:01:14 +00:00
curt
847f5b90d3 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.
1998-06-12 01:00:59 +00:00
curt
2f40b08c03 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.
1998-06-12 00:59:52 +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
7b98736e32 Build only static libraries.
Declare memmove/memset for Sloaris.
1998-06-12 00:55:58 +00:00
curt
6c0d4504d8 Added the Gui subdirectory.
Stuff done.
1998-06-12 00:54:41 +00:00
curt
a6c7336cad Working first pass at material proporty sorting. 1998-06-08 17:57:54 +00:00
curt
b4e53ba51d Minor sound/startup position tweaks. 1998-06-08 17:57:04 +00:00
curt
d0b19c0ce1 I goofed on the log message in the last commit ... now fixed. 1998-06-06 01:09:31 +00:00
curt
0a840e1dbd Increased per material fragment list size from 100 to 400. 1998-06-06 01:07:17 +00:00
curt
5c10725624 Working on sorting by, and rendering by material properties. 1998-06-05 22:39:53 +00:00
curt
22dd9999a8 Recognize file, file.gz, and file.obj as scenery object files. 1998-06-05 18:19:18 +00:00
curt
c8a5e3ebb6 A bit of fiddling with audio ... 1998-06-05 18:18:40 +00:00
curt
274ba49906 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__)
1998-06-05 18:18:12 +00:00
curt
5098aa800e Added the declaration of memmove needed by the stl which apparently
solaris only defines for cc compilations and not for c++ (__STDC__)
1998-06-05 18:17:10 +00:00
curt
88ceb3dbb8 Tweaking sound library usage. 1998-06-03 22:01:06 +00:00
curt
b3c537ff79 No .h for STL includes. 1998-06-03 00:48:12 +00:00
curt
eda1cfe31c No .h for STL includes.
Minor view culling optimizations.
1998-06-03 00:47:50 +00:00
curt
476d5e73b2 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.
1998-06-03 00:47:11 +00:00
curt
a8d69d9d3c No .h when including stl stuff. 1998-06-03 00:43:28 +00:00
curt
c064d6ec84 initial checkin of taginfo 1998-06-02 21:59:45 +00:00
curt
08d8b65826 initial checkin of notify 1998-06-02 21:59:45 +00:00
curt
657e08e980 initial checkin of modules 1998-06-02 21:59:45 +00:00
curt
bbe0ebcc14 initial checkin of cvswrappers 1998-06-02 21:59:45 +00:00
curt
eb120e9cbf initial checkin of checkoutlist 1998-06-02 21:59:45 +00:00
curt
59c9fc33b9 initial checkin of rcsinfo 1998-06-02 21:59:44 +00:00
curt
7723534aae initial checkin of loginfo 1998-06-02 21:59:44 +00:00
curt
4718425c08 initial checkin of editinfo 1998-06-02 21:59:44 +00:00
curt
04c7d749e2 initial checkin of commitinfo 1998-06-02 21:59:44 +00:00
curt
3615dd708a Incremental additions to material.cxx (not fully functional)
Tweaked vfc_ratio math to avoid divide by zero.
1998-06-01 17:56:20 +00:00
curt
a6c2da9e4e Added Linux audio support.
avoid glClear( COLOR_BUFFER_BIT ) when not using it to set the sky color.
map stl tweaks.
1998-06-01 17:54:40 +00:00