1
0
Fork 0
Commit graph

438 commits

Author SHA1 Message Date
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
curt
920eefd4a7 C++ - ifing the code.
Starting a bit of reorganization of lighting code.
1998-04-22 13:25:39 +00:00
curt
73ed3c180e C++ - ifiing the code a bit.
Starting to reorginize some of the lighting calcs to use a table lookup.
1998-04-22 13:24:04 +00:00
curt
aba1974dad C++ - ifing the code a bit. 1998-04-22 13:21:26 +00:00
curt
664b1fa4a8 Prepairing for C++ integration. 1998-04-21 17:02:27 +00:00
curt
52727b75c6 Fixed a problems where a pointer to a function was being passed around. In
one place this functions arguments were defined as ( void ) while in another
place they were defined as ( int ).  The correct answer was ( int ).

Prepairing for C++ integration.
1998-04-21 17:01:43 +00:00
curt
e2ddc6f2b8 Integrated autopilot.
Prepairing for C++ integration.
1998-04-21 16:59:33 +00:00
curt
7d39aa3777 Moved fg_debug.c to it's own library. 1998-04-18 04:13:51 +00:00
curt
580b1acec6 Added zlib on the fly decompression support for loading scenery objects. 1998-04-18 04:13:17 +00:00
curt
09fc7f812e Moved fg_debug to it's own library, added zlib support. 1998-04-18 04:11:25 +00:00
curt
ab59ca78b9 Code reorganizations. Added a Lib/ directory for more general libraries. 1998-04-14 02:23:04 +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
019d180f84 Initial revision. Contributed by Jeff Goeke-Smith - jgoeke@voyager.net 1998-04-14 02:18:44 +00:00
curt
575d57249c We had unified some of the platform disparate time handling code, and
there was a bug in timesum() which calculated a new time stamp based on
the current time stamp + offset.  This hosed the periodic event processing
logic because you'd never arrive at the time the event was scheduled for.
Sky updates and lighting changes are handled via this event mechanism so
they never changed ... it is fixed now.
1998-04-09 18:40:13 +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
e84ad0511b Adopted Gnu automake/autoconf system. 1998-04-08 23:30:04 +00:00
curt
b69c64da41 Minor cleanups and reorganizations. 1998-04-06 15:56:15 +00:00
curt
058e32ca21 Moved ../Win32/ 1998-04-05 21:59:15 +00:00
curt
9b53a3c645 Removed Include/ subdirectory from make system (no buildable elements there.) 1998-04-05 21:58:59 +00:00
curt
35fd547612 Removed Linux subdirectory. 1998-04-03 22:51:17 +00:00
curt
e95e9f6432 Converting to Gnu autoconf system. 1998-04-03 22:20:48 +00:00
curt
c1004bd1a0 Converting to Gnu autoconf system.
Centralized time handling differences.
1998-04-03 22:12:53 +00:00
curt
74e16d77f8 Converting to Gnu autoconf system. 1998-04-03 22:09:02 +00:00
curt
09b42d3f33 Converting to Gnu autoconf system. 1998-04-03 22:07:27 +00:00
curt
e3e1a04634 Converting to Gnu autoconf system.
Tweaks to hud.c
1998-04-03 21:55:27 +00:00
curt
54d5c7a071 Converting to Gnu autoconf system. 1998-04-03 21:50:53 +00:00
curt
6c98beae60 Source code formating tweaks. 1998-03-23 21:24:37 +00:00
curt
b77c2362c5 Debugging output tweaks. 1998-03-23 21:23:05 +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
f4562d4262 Version 0.38 1998-03-14 00:32:35 +00:00