1
0
Fork 0
Commit graph

619 commits

Author SHA1 Message Date
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
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
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
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
curt
6382b36f23 polar.h -> polar3d.h 1998-05-03 00:46:45 +00:00
curt
0e9aeaf3ff Updated ... 1998-05-03 00:46:12 +00:00
curt
0419841486 Fine tuning mktime() support because of varying behavior on different
platforms.
1998-05-02 01:53:17 +00:00
curt
5a4b56c58e Playing around with texture coordinates. 1998-05-02 01:52:14 +00:00
curt
1f5aeb1d46 Updated polartocart conversion routine. 1998-05-02 01:51:01 +00:00
curt
de51293e5c C++-ifying a couple source files. 1998-04-30 12:35:59 +00:00
curt
401b414feb Added a command line rendering option specify smooth/flat shading. 1998-04-30 12:35:26 +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
67cc5c5482 Fixed a horible bug that cause the time to be *WAY* off when compiling
with the CygWin32 compiler.  This may not yet completely address other
Win32 compilers, but we'll have to take them on a case by case basis.
1998-04-28 21:45:34 +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
4e992277a9 .. 1998-04-28 21:40:58 +00:00
curt
5bbd08091c Type-ified fgTIME and fgVIEW. 1998-04-28 01:22:16 +00:00
curt
96525339ed Tweaked texture parameter calculations to keep the number smaller. This
avoids the "swimming" problem.
Type-ified fgTIME and fgVIEW.
1998-04-28 01:21:42 +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
c0f121ab00 Type-ified fgTIME and fgVIEW 1998-04-28 01:18:59 +00:00
curt
8929f4e1ee Updated ... 1998-04-28 01:18:06 +00:00
curt
78268051c9 Screwing around with texture coordinate generation ... still needs work. 1998-04-27 15:58:15 +00:00
curt
31588527e0 Assigned a couple output messages to the FG_DEBUG class. 1998-04-27 03:35:00 +00:00
curt
ed0acbad5b Minor transformation adjustments to try to keep scenery tiles closer to
(0, 0, 0)  GLfloats run out of precision at the distances we need to model
the earth, but we can do a bunch of pre-transformations using double math
and then cast to GLfloat once everything is close in where we have less
precision problems.
1998-04-27 03:30:13 +00:00
curt
4a487175c9 "struct fgLIGHT" -> "fgLIGHT" because fgLIGHT is typedef'd. 1998-04-26 05:10:00 +00:00
curt
aa6f7608d7 Added zlib support. 1998-04-26 05:06:29 +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
e42e007619 Updated to reflect work done. 1998-04-25 22:03:38 +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
1603c2f3f8 Moved to Simulator/ subdirectory. 1998-04-25 18:39:36 +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
a7213d8a82 Changed "r" to "rb" in gzopen() options. This fixes bad behavior in win32. 1998-04-25 15:09:57 +00:00
curt
435f374258 Added "file.obj.gz" support. 1998-04-24 14:21:08 +00:00
curt
a144bfc090 Fog tweaks. 1998-04-24 14:19:29 +00:00
curt
2addcf2e76 Wrapped "#include <config.h>" in "#ifdef HAVE_CONFIG_H"
Fog color fixes.
Separated out lighting calcs into their own file.
1998-04-24 00:52:24 +00:00
curt
10fb3d1a0c Wrapped "#include <config.h>" in "#ifdef HAVE_CONFIG_H"
Tweaked the scenery file extentions to be "file.obj" (uncompressed)
or "file.obz" (compressed.)
1998-04-24 00:51:07 +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
be119a18a8 C++-ifing the code a bit. 1998-04-24 00:45:53 +00:00
curt
090ebffc84 Wrapped "#include <config.h>" in "#ifdef HAVE_CONFIG_H" 1998-04-24 00:45:17 +00:00
curt
d830cbf39a Wrapped "#include <config.h>" in "#ifdef HAVE_CONFIG_H"
Fixed a bug when generating sky colors.
1998-04-24 00:45:00 +00:00