1
0
Fork 0
Commit graph

5932 commits

Author SHA1 Message Date
curt
d093a9422b Rewrote event.cxx in C++ as a class using STL for the internal event list
and run queue this removes the arbitrary list sizes and makes things much
more dynamic.  Because this is C++-classified we can now have multiple
event_tables if we'd ever want them.
1998-05-22 21:14:53 +00:00
curt
de4c486c16 Makefile tweaks 1998-05-20 20:55:40 +00:00
curt
f00f7f02d4 Fixed arbitrary polygon winding problem here so all tristrips are passed
to runtime simulator with a consistant counter clockwise winding.
1998-05-20 20:55:18 +00:00
curt
cbdc65f55a Converted fgLIGHT to a C++ class. 1998-05-20 20:54:16 +00:00
curt
70fae724a7 Moved global ref point and radius (bounding sphere info, and offset) to
data file rather than calculating it on the fly.
Fixed polygon winding problem in scenery generation stage rather than
compensating for it on the fly.
Made a fgTILECACHE class.
1998-05-20 20:53:53 +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
4ccc2b3cfc Small tweak for correct win32 compiling. 1998-05-20 20:50:28 +00:00
curt
f4240579c5 Misc updates. 1998-05-20 20:48:54 +00:00
curt
e57fd21bd3 Frist pass at view frustum culling now operational. 1998-05-17 16:59:34 +00:00
curt
fdc94bd13a First pass at view frustum culling now operational. 1998-05-17 16:59:03 +00:00
curt
5c03d933a3 Added a View Frustum Culling ratio display to the hud. 1998-05-17 16:58:12 +00:00
curt
a12259feb7 Re-organized PI related constants. 1998-05-17 16:56:47 +00:00
curt
e30c10841c Fixed an off by one error in node, normal, and face counters. 1998-05-16 13:11:25 +00:00
curt
7f1d04962e Beginning to add support for view frustum culling.
Added some temporary code to calculate bouding radius, until the
  scenery generation tools and scenery can be updated.
1998-05-16 13:09:57 +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
1bfa13e003 New updates from Charlie Hotchkiss. 1998-05-16 13:04:13 +00:00
curt
042ec53cf3 Defined field of view max/min limits. 1998-05-16 13:03:10 +00:00
curt
9ddf836a79 Updated ... 1998-05-13 18:30:14 +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
17cfc04cef Added an fov to hud display. 1998-05-13 18:27:53 +00:00
curt
37df3de51d Root path info moved to fgOPTIONS. 1998-05-13 18:25:34 +00:00
curt
143a8d7c6b Updated ... 1998-05-13 18:25:09 +00:00
curt
ff8845de52 Better handling of WIN32 environments. 1998-05-13 18:24:49 +00:00
curt
e4d4a2d8eb Wrapped zlib calls so zlib can be optionally disabled. 1998-05-13 18:24:25 +00:00
curt
d132b13f09 fg_typedefs.h: updated version by Charlie Hotchkiss
general.h: moved fg_root info to fgOPTIONS structure.
1998-05-13 18:23:46 +00:00
curt
c2c4795558 New in 0.47
0.46 -> 0.47
1998-05-13 18:22:30 +00:00
curt
715025e645 Initial revision. 1998-05-11 18:26:12 +00:00
curt
9d733bf6f4 Made fog color slightly bluish. 1998-05-11 18:18:51 +00:00
curt
1904751726 For flat shading use "glHint (GL_FOG_HINT, GL_FASTEST )" 1998-05-11 18:18:15 +00:00
curt
2adc0b8d12 Output message tweaking. 1998-05-11 18:17:28 +00:00
curt
2becdb2747 Complete C++ rewrite of all cockpit code by Charlie Hotchkiss. 1998-05-11 18:13:10 +00:00
curt
5a2a23cc2d Added an "#include <config.h>" and "#include <windows.h>" 1998-05-11 18:04:06 +00:00
curt
8a233ddfbb Moved the extern "C" { } until after all the includes have been done. 1998-05-07 23:20:45 +00:00
curt
a565fb559f ... 1998-05-07 23:16:05 +00:00
curt
a205e76218 Fixed a glTexImage2D() usage bug where width and height were mis-swapped.
Added support for --tile-radius=n option.
1998-05-07 23:15:20 +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
b96a60f8aa Changed frame rate formatting a bit. 1998-05-07 23:12:31 +00:00
curt
e64afb0412 HUD updates from Jeff Goeke-Smith. 1998-05-07 23:11:50 +00:00
curt
7791b36293 updated ... 1998-05-07 23:11:05 +00:00
curt
2b40dc133d Added a blank formating line! 1998-05-07 23:04:28 +00:00
curt
b26263c62d Added an entry for AUTOPILOT. 1998-05-07 23:03:54 +00:00
curt
9ecbe3b8ae Lowered size of frame rate history buffer. 1998-05-07 23:03:17 +00:00
curt
727cf54e9b -> version 0.46 1998-05-07 23:02:53 +00:00
curt
36ba635389 Added an option to control square tile radius. 1998-05-06 03:16:42 +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
3e38180c8b Durk Talsma contributed a graphical frame rate counter which is displayed
as part of the HUD.
1998-05-06 03:15:08 +00:00
curt
09cd56280c Added a shared frame rate counter. 1998-05-06 03:14:30 +00:00
curt
e7f0f1956c Updated texture coordinate fmod() parameter. 1998-05-03 00:48:01 +00:00
curt
448bdb83de Added an option to enable/disable full-screen mode. 1998-05-03 00:47:31 +00:00