1
0
Fork 0
Commit graph

11425 commits

Author SHA1 Message Date
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
curt
57ce8bc912 Changed include order for <sys/types.h> 1998-06-27 16:55:24 +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
3e426296de #define _FG_LIMITS_H instead of _LIMITS_H 1998-06-27 16:51:15 +00:00
curt
fbb65220f0 More contributions ... :-) 1998-06-27 16:50:05 +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
529ca14534 New version from Steve. 1998-06-17 21:32:42 +00:00
curt
7423077f95 Refine conditional audio compilation. 1998-06-17 21:31:45 +00:00
curt
64961cd294 Added a smarter check for external timezone and daylight variables in
#include <time.h> -- Thomas Gellekum <tg@ihf.rwth-aachen.de>
1998-06-17 21:31:04 +00:00
curt
cc0925be18 Tweaked fog command line options. 1998-06-13 00:40:32 +00:00
curt
f4098fd8d0 Updated with info on /mnt and egcs. 1998-06-13 00:39:57 +00:00
curt
28ceab0457 Pui -> PUI, Gui -> GUI. 1998-06-12 14:27:25 +00:00
curt
f116ee7802 Pui -> PUI. 1998-06-12 14:26:19 +00:00
curt
d97be95b2a Pui -> PUI, Gui -> GUI. 1998-06-12 14:25:26 +00:00
curt
0afa16ce3a Initial revision. 1998-06-12 01:07:06 +00:00
curt
09cf8c001e Renamed Pui -> PUI. 1998-06-12 01:05:51 +00:00
curt
cfe0e18e4e Initial revision. 1998-06-12 01:04:52 +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