1
0
Fork 0
Commit graph

301 commits

Author SHA1 Message Date
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
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
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
b4e53ba51d Minor sound/startup position tweaks. 1998-06-08 17:57:04 +00:00
curt
c8a5e3ebb6 A bit of fiddling with audio ... 1998-06-05 18:18:40 +00:00
curt
88ceb3dbb8 Tweaking sound library usage. 1998-06-03 22:01:06 +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
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
curt
d6f20aa8be 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.
1998-05-29 20:37:19 +00:00
curt
2cd509d3de View optimizations by Norman Vine. 1998-05-27 02:24:05 +00:00
curt
26757b73b2 Derived file "Makefile.in" removed from version control. 1998-05-23 14:18:28 +00:00
curt
dcaf622ce7 Modifications to use the new fgEVENT_MGR class. 1998-05-22 21:28:52 +00:00
curt
081b63cfbb Tweaked smooth shaded texture lighting properties.
Converted fgLIGHT to a C++ class.
1998-05-20 20:51:33 +00:00
curt
fdc94bd13a First pass at view frustum culling now operational. 1998-05-17 16:59:03 +00:00
curt
65cc9a9e66 C++ - ified views.[ch]xx
Shuffled some additional view parameters into the fgVIEW class.
Changed tile-radius to tile-diameter because it is a much better
  name.
Added a WORLD_TO_EYE transformation to views.cxx.  This allows us
 to transform world space to eye space for view frustum culling.
1998-05-16 13:08:34 +00:00
curt
fb69df5880 Added limits to fov. 1998-05-16 13:05:21 +00:00
curt
c57071acfd Added a keyboard binding to dynamically adjust field of view.
Added a command line option to specify fov.
Adjusted terrain color.
Root path info moved to fgOPTIONS.
Added ability to parse options out of a config file.
1998-05-13 18:29:56 +00:00
curt
37df3de51d Root path info moved to fgOPTIONS. 1998-05-13 18:25:34 +00:00
curt
1904751726 For flat shading use "glHint (GL_FOG_HINT, GL_FASTEST )" 1998-05-11 18:18:15 +00:00
curt
58eb9b9089 Added "D" key binding to set autopilot heading.
Made frame rate calculation average out over last 10 frames.
Borland C++ floating point exception workaround.
Added a --tile-radius=n option.
1998-05-07 23:14:14 +00:00
curt
ae19eec252 Added an averaged global frame rate counter.
Added an option to control tile radius.
1998-05-06 03:16:23 +00:00
curt
448bdb83de Added an option to enable/disable full-screen mode. 1998-05-03 00:47:31 +00:00
curt
1f5aeb1d46 Updated polartocart conversion routine. 1998-05-02 01:51:01 +00:00
curt
d87408c767 Added command line rendering options:
enable/disable fog/haze
  specify smooth/flat shading
  disable sky blending and just use a solid color
  enable wireframe drawing mode
1998-04-30 12:34:17 +00:00
curt
09bd08b931 Wrapped zlib calls up so we can conditionally comment out zlib support. 1998-04-28 21:42:50 +00:00
curt
7352183ad9 Type-ified fgTIME and fgVIEW.
Added a command line option to disable textures.
1998-04-28 01:20:20 +00:00
curt
4a487175c9 "struct fgLIGHT" -> "fgLIGHT" because fgLIGHT is typedef'd. 1998-04-26 05:10:00 +00:00
curt
1a7e966d0b Added an rint() / HAVE_RINT check. 1998-04-26 05:01:19 +00:00
curt
0b782544a3 Edited cvs log messages in source files ... bad bad bad! 1998-04-25 22:06:24 +00:00
curt
d4c9d9cbb3 Use already calculated LaRCsim values to create the roll/pitch/yaw
transformation matrix (we call it LOCAL)
1998-04-25 22:04:53 +00:00
curt
dd4a17a011 Cleaned up initialization sequence to eliminate interdependencies
between sun position, lighting, and view position.  This creates a
valid single pass initialization path.
1998-04-25 20:24:00 +00:00
curt
9692b3fe1e Added an command line option to set starting position based on airport ID. 1998-04-25 15:11:10 +00:00
curt
a144bfc090 Fog tweaks. 1998-04-24 14:19:29 +00:00
curt
f4c7a35129 Wrapped "#include <config.h>" in "#ifdef HAVE_CONFIG_H"
Trying out some different option parsing code.
Some code reorganization.
1998-04-24 00:49:17 +00:00
curt
920eefd4a7 C++ - ifing the code.
Starting a bit of reorganization of lighting code.
1998-04-22 13:25:39 +00:00
curt
664b1fa4a8 Prepairing for C++ integration. 1998-04-21 17:02:27 +00:00
curt
09fc7f812e Moved fg_debug to it's own library, added zlib support. 1998-04-18 04:11:25 +00:00
curt
27ac2e344e Incorporated autopilot heading hold contributed by: Jeff Goeke-Smith
<jgoeke@voyager.net>
1998-04-14 02:21:01 +00:00
curt
af76bd25e9 Moved to Main/ and incorperated with automake 1998-04-09 01:45:30 +00:00
curt
05d0e92b96 Patch from Durk to fix trim reversal with numlock key active. 1998-04-08 23:34:05 +00:00
curt
8c3b74b775 Tweaks to Gnu automake/autoconf system. 1998-04-08 23:32:28 +00:00
curt
b69c64da41 Minor cleanups and reorganizations. 1998-04-06 15:56:15 +00:00
curt
74e16d77f8 Converting to Gnu autoconf system. 1998-04-03 22:09:02 +00:00
curt
6c98beae60 Source code formating tweaks. 1998-03-23 21:24:37 +00:00
curt
13f4c6f3b8 Patch to fix Solaris function name contention with "getopt()" -
johns@ultra2.cs.umr.edu (John Stone)
1998-03-16 21:13:07 +00:00
curt
003267eed8 Beginning initial terrain texturing experiments. 1998-03-14 00:30:50 +00:00
curt
ca0362361f Minor tweaks. 1998-03-09 22:46:18 +00:00
curt
52b427cfb5 Minor tweaks for building on sparc platform. 1998-03-09 22:45:57 +00:00
curt
0c84182bbb Modified so that you can specify FG_DEBUGCLASS ***or*** FG_DEBUG_PRIORITY 1998-03-09 22:44:58 +00:00
curt
ae862a3ab5 Processed through the format-o-matic. 1998-03-09 22:11:00 +00:00
curt
e798c59696 Incorporated Durk's Astro/ tweaks. Includes unifying the sun position
calculation code between sun display, and other FG sections that use this
for things like lighting.
1998-02-23 19:07:49 +00:00
curt
1f0a7128bd Added Charlie's HUD changes. 1998-02-21 14:53:10 +00:00
curt
2805fb7cb2 Thursday's tweaks. 1998-02-20 00:16:14 +00:00
curt
e5a447ece9 Incorporated some HUD tweaks from Michelle America.
Tweaked the sky's sunset/rise colors.
Other misc. tweaks.
1998-02-19 13:05:43 +00:00
curt
c0954417a7 Tweaks to build with SGI OpenGL (and therefor hopefully other accelerated
drivers will work.)
1998-02-18 15:07:02 +00:00
curt
9c07889a0c Minor tweaks. 1998-02-16 16:17:33 +00:00
curt
e1639ee6c1 Miscellaneous weekend tweaks. Fixed? a cache problem that caused whole
tiles to occasionally be missing.
1998-02-16 13:39:42 +00:00
curt
dfbbb98ed6 Initial revision. 1998-02-13 00:23:39 +00:00
curt
913fe75558 Incorporated code changes contributed by Charlie Hotchkiss
<chotchkiss@namg.us.anritsu.com>
1998-02-12 21:58:27 +00:00
curt
d0694b34cd Minor changes. 1998-02-11 02:50:34 +00:00
curt
b570e9ce9a Removed "depend" files from cvs control. Other minor make tweaks. 1998-02-09 22:56:28 +00:00
curt
d126b3d8f0 Minor tweaks. 1998-02-09 15:07:47 +00:00
curt
50c0f6c9e6 Incorporated HUD changes and struct/typedef changes from Charlie Hotchkiss
<chotchkiss@namg.us.anritsu.com>
1998-02-07 15:29:31 +00:00
curt
0bb3c2969a Lots of little tweaks to fix various consistency problems discovered by
Solaris' CC.  Fixed a bug in fg_debug.c with how the fgPrintf() wrapper
passed arguments along to the real printf().  Also incorporated HUD changes
by Michele America.
1998-02-03 23:20:08 +00:00
curt
c62427f6af Incorporated Durk's changes. 1998-02-02 20:53:58 +00:00
curt
b2e8448645 Minor tweaks. 1998-02-01 03:39:53 +00:00
curt
ce3fa54da6 Tweaks to compile with g++. 1998-02-01 03:34:59 +00:00
curt
5e44c9dd0a Added MetroWorks patches from Carmen Volpe. 1998-01-31 00:42:57 +00:00
curt
4db0288d75 Added a view record field for absolute x, y, z position. 1998-01-29 00:50:28 +00:00
curt
a9cdbcf0b1 Minor tweaks. 1998-01-27 18:35:53 +00:00
curt
c11b4357ed Initial revision. 1998-01-27 02:54:43 +00:00
curt
3680a11148 Incorporated Paul Bleisch's <bleisch@chromatic.com> new debug message
system and commandline/config file processing code.
1998-01-27 00:47:41 +00:00
curt
0de1810a15 Tweaks for dynamic scenery development. 1998-01-26 15:57:05 +00:00
curt
54a43c1459 Tweaked extention stuff. 1998-01-22 22:04:00 +00:00
curt
38264efc4d Changed #ifdef FILE_H to #ifdef _FILE_H 1998-01-22 02:59:23 +00:00
curt
08210bfc08 Misc. tweaks. 1998-01-21 21:11:33 +00:00
curt
ec140f2161 More misc. tweaks for rpk make merge. 1998-01-19 19:42:58 +00:00
curt
bda27365e4 Merged in make system changes from Bob Kuehne <rpk@sgi.com>
This should simplify things tremendously.
1998-01-19 19:26:51 +00:00
curt
f1ec224b73 Tons of little changes to clean up the code and to remove fatal errors
when building with the c++ compiler.
1998-01-19 18:40:15 +00:00
curt
a9fdc0e341 Minor tweaks and fixes for cygwin32. 1998-01-19 18:35:40 +00:00
curt
0f64d76c81 Initial changes to support loading and management of scenery tiles. Note,
there's still a fair amount of work left to be done.
1998-01-13 00:23:08 +00:00
curt
b712d46418 Beginning to integrate Tile management subsystem. 1998-01-08 02:22:01 +00:00
curt
bebb590b9c Miscellaneous tweaks. 1998-01-07 03:31:25 +00:00
curt
de4e67df0d Moved astronomical stuff from .../Src/Scenery to .../Src/Astro/ 1998-01-07 03:18:55 +00:00
curt
2e27909b9e Add an option to advance/decrease time from keyboard. 1998-01-05 18:44:33 +00:00
curt
3b8c0ffcb5 Tweaking initialization sequences. 1997-12-30 23:09:04 +00:00
curt
846a4d14d8 Further integration of event manager. 1997-12-30 22:22:31 +00:00
curt
2ebbbe0053 Integrated new event manager with subsystem initializations. 1997-12-30 20:47:34 +00:00
curt
ed729a630e Merged in Durk's changes ... 1997-12-30 16:36:40 +00:00
curt
96068a55c9 A couple lighting tweaks ... 1997-12-30 13:06:56 +00:00
curt
09b8076bca Switched back to per vertex normals and smooth shading for terrain. 1997-12-30 01:38:37 +00:00
curt
67f36724dd First stab at sunset/sunrise sky glow effects. 1997-12-22 23:45:45 +00:00
curt
45ed7c79f8 Aligned sky with sun so dusk/dawn effects can be correct relative to the sun. 1997-12-22 04:14:28 +00:00
curt
3c398c79ca Lot's of tweaking with sky rendering and lighting. 1997-12-19 23:34:03 +00:00
curt
46e6042aab Working on scene rendering order and options. 1997-12-19 16:44:57 +00:00
curt
8b50eb1149 First stab at sky dome actually starting to look reasonable. :-) 1997-12-18 23:32:28 +00:00
curt
a26c9b75ee Worked on properly translating and positioning the sky dome. 1997-12-18 04:07:02 +00:00
curt
edc601667a Began working on rendering a sky. 1997-12-17 23:13:34 +00:00
curt
d19c5f0b6f Add xgl wrappers for debugging.
Generate terrain normals on the fly.
1997-12-15 23:54:25 +00:00
curt
d06b80036f Misc. tweaks. 1997-12-15 20:59:08 +00:00
curt
f92f2a5c29 More light/material property tweaking ... still a ways off. 1997-12-12 21:41:24 +00:00
curt
40f0747fac Working on lightling and material properties. 1997-12-12 19:52:47 +00:00
curt
09ee64ff67 Fixed sun vector and lighting problems. I thing the moon is now lit
correctly.
1997-12-11 04:43:53 +00:00
curt
28fad1d296 Prepended "fg" on the name of all global structures that didn't have it yet.
i.e. "struct WEATHER {}" became "struct fgWEATHER {}"
1997-12-10 22:37:34 +00:00
curt
871ee408fa Tweaks for verion 0.15 release. 1997-12-10 01:19:42 +00:00
curt
330ff4ab53 Working on tweaking lighting. 1997-12-09 05:11:54 +00:00
curt
4ab16fd58e Working on adding a global lighting params structure. 1997-12-09 04:25:25 +00:00
curt
92aa2446e6 Enabled GL_CULL_FACE. 1997-12-08 22:54:09 +00:00
curt
c8d2e72433 Changes to integrate Durk's moon/sun code updates + clean up. 1997-11-25 19:25:27 +00:00
curt
b1cf1fcee0 minor tweaks. 1997-11-15 18:16:34 +00:00
curt
b5293f1f44 Working on new scenery subsystem. 1997-10-30 12:38:35 +00:00
curt
f103f55a30 Organizational changes. 1997-10-28 21:11:22 +00:00
curt
c158d4bfd2 Incorporated sun, moon, and star positioning code contributed by Durk Talsma. 1997-10-25 03:24:21 +00:00
curt
3fe61cf7ef Tweaks to get things to compile with gcc-win32. 1997-09-23 00:29:27 +00:00
curt
31519b5cd1 Continuing to try to align stars correctly. 1997-09-22 14:44:19 +00:00
curt
14efd49c8b Still trying to get those durned stars aligned properly. 1997-09-20 03:34:25 +00:00
curt
e17c832c36 At dusk/dawn add/remove stars in stages. 1997-09-18 16:20:08 +00:00
curt
3b5f599f73 Tweaked time of day lighting equations. Don't draw stars during the day. 1997-09-16 22:14:47 +00:00
curt
1ba17de9ba Working on star alignment and time issues. 1997-09-16 15:50:29 +00:00
curt
45d02e3e68 Mostly working on stars and generating sidereal time for accurate star
placement.
1997-09-13 01:59:45 +00:00
curt
5d76cf2eaa More tweaking with stars. 1997-09-05 14:17:26 +00:00
curt
ad22cbffca Working on getting stars right. 1997-09-05 01:35:53 +00:00
curt
b830d97782 Shufflin' stuff. 1997-09-04 02:17:18 +00:00
curt
7c5f7fdc85 Restructured view calculation code. Added stars. 1997-08-27 21:32:23 +00:00
curt
27adc6d5d0 Added views.[ch] 1997-08-27 21:31:27 +00:00
curt
7be6031150 Initial revision. 1997-08-27 21:31:17 +00:00
curt
89a9811607 Changed naming scheme of basic shared structures. 1997-08-27 03:29:38 +00:00
curt
90e39d537f Merged in initial HUD and Joystick code. 1997-08-25 20:27:21 +00:00
curt
f8f4cce744 Initial revision. 1997-08-23 01:46:20 +00:00
curt
6510c9f3b4 Doing a bit of reorganizing and house cleaning. 1997-08-22 21:34:32 +00:00
curt
cdb1417490 Worked on better simulating real lighting. 1997-08-19 23:55:03 +00:00
curt
3d5df76461 Working on improving the lighting/shading. 1997-08-16 12:22:38 +00:00
curt
9c665e5c19 Changes due to changing sunpos interface. 1997-08-13 20:24:56 +00:00
curt
e21a782a51 Sun position now *really* works (I think) ... I still have sun time warping
code in place, probably should remove it soon.
1997-08-06 21:08:32 +00:00
curt
bdb9603379 Working on correct sun position. 1997-08-06 15:41:26 +00:00
curt
88c803c7fc Working on correct real time sun lighting. 1997-08-06 00:24:22 +00:00
curt
1b7267aaad Organizational tweaking. 1997-08-04 20:25:15 +00:00
curt
a93cbff236 Incorporated mesh2GL.c into Scenery/mesh.c 1997-08-02 19:11:47 +00:00
curt
2a35aed68b Renamed GLmain.c GLUTmain.c 1997-08-02 18:45:00 +00:00
curt
ebf7a0b4c0 Old stuff ... removed. 1997-08-02 18:41:14 +00:00
curt
c89d21196b Misc. tweaks. 1997-08-02 16:23:47 +00:00
curt
dcda920723 Making progress with coordinate system overhaul. 1997-08-01 19:43:33 +00:00
curt
36a9adcffc Working on redoing internal coordinate systems & scenery transformations. 1997-07-31 22:52:21 +00:00
curt
1406e5ba8e Moved fg_random routines from Util/ to Math/ 1997-07-30 16:12:38 +00:00
curt
417048636f Put comments around the text after an #endif for increased portability. 1997-07-23 21:52:10 +00:00
curt
012a0bd01f Twiddled with random object placement. 1997-07-21 21:20:48 +00:00
curt
f8c740ee35 Minor tweaks. 1997-07-21 14:45:01 +00:00
curt
a136c87441 First stab at a system to generate os2 makefiles automatically. 1997-07-20 02:19:09 +00:00
curt
d6327ac839 Added an initial weather section. 1997-07-19 23:04:46 +00:00