1
0
Fork 0
Commit graph

666 commits

Author SHA1 Message Date
curt
790657391d Fixed view frustum culling accuracy bug so we can look out the sides and
back without tri-stripes dropping out.
1998-12-11 20:26:25 +00:00
curt
f450f4a9af Converted "class fgVIEW" to "class FGView" and updated to make data
members private and make required accessor functions.
1998-12-09 18:50:12 +00:00
curt
7acf7cd038 Sun now appears to grow in size as it gets very low in the horizon. 1998-12-08 21:42:31 +00:00
curt
800b484493 Fixed a problem with the initial starting altitude. "v->abs_view_pos" wasn't
being calculated correctly at the beginning causing the first terrain
intersection to fail, returning a ground altitude of zero, causing the plane
to free fall for one frame, until the ground altitude was corrected, but now
being under the ground we got a big bounce and the plane always ended up
upside down.
1998-12-06 14:52:54 +00:00
curt
1c789b7ab6 Turned "struct fgWEATHER" into "class FGWeather". 1998-12-06 13:51:20 +00:00
curt
5ead340cee Renamed class fgCONTROLS to class FGControls. 1998-12-05 16:13:10 +00:00
curt
71f334cc0d Renamed class fgFLIGHT to class FGState as per request by JSB. 1998-12-05 15:53:59 +00:00
curt
d671446a35 Moved struct fg_timestamp to class fgTIMESTAMP and moved it's definition
to it's own file, timestamp.hxx.
1998-12-05 14:21:28 +00:00
curt
2d0e4dbacd Looking into a terrain intersection problem. 1998-12-05 14:20:21 +00:00
curt
ef620f3170 Looking into a problem with cur_view_params.abs_view_pos initialization. 1998-12-05 14:19:51 +00:00
curt
835927d295 added an fgTIMESTAMP to define when this record is valid. 1998-12-05 14:18:47 +00:00
curt
de6e4747b1 Sun portability tweak. 1998-12-05 14:11:19 +00:00
curt
59b20e610c Converted "struct fg_timestamp" to "class fgTIMESTAMP" and added some
convenience inline operators.
1998-12-04 01:32:46 +00:00
curt
554768199d Added support for the External flight model. 1998-12-04 01:30:42 +00:00
curt
7c5c000184 Stubbed in a new flight model called "External" which is expected to be driven
from some external source.
1998-12-04 01:29:37 +00:00
curt
dfd36a1f5f Initial revision. 1998-12-04 01:28:48 +00:00
curt
01d6408def math domain error fix from Charlie Hotchkiss. 1998-12-04 01:25:05 +00:00
curt
cfc9e51128 Actually set the current scenery elevation based on scenery intersection point
rather than calculating the intesection point and throwing it away.
1998-12-03 14:15:24 +00:00
curt
87a670d524 Working on fixing up new fgFLIGHT class. 1998-12-03 04:25:02 +00:00
curt
f7bdff08ce Converted fgFLIGHT to a class.
Tweaks for Sun Portability.
Tweaked current terrain elevation code as per NHV.
1998-12-03 01:18:16 +00:00
curt
86d9fd9c85 Converted fgFLIGHT to a class.
Tweaks for Sun portability.
1998-12-03 01:15:35 +00:00
curt
7fbb963a39 Converted fgFLIGHT to a class. 1998-12-03 01:14:58 +00:00
curt
711080b063 Lots of tweaking to get serial output to actually work. 1998-11-30 17:43:32 +00:00
curt
c4a6d31750 using an uninitialized variable bug fixed. 1998-11-30 17:42:37 +00:00
curt
d25ab417c5 Support for an arbitrary number of serial ports. 1998-11-25 01:33:58 +00:00
curt
be02039e9c minor tweaks. 1998-11-23 21:49:48 +00:00
curt
a83788c587 Borland portability tweaks. 1998-11-23 21:48:09 +00:00
curt
ecf2a3eab3 Tweaking serial stuff. 1998-11-23 20:51:51 +00:00
curt
74e2b27308 Fiddling with when I can get info from the opengl driver. 1998-11-23 20:51:26 +00:00
curt
732282a357 Try to detect Mesa/Glide/Voodoo and chose the appropriate resolution. 1998-11-20 01:02:35 +00:00
curt
31e8d42ceb whitespace tweak. 1998-11-20 01:01:45 +00:00
curt
1466ce0040 Added a "Garman" mode. 1998-11-19 13:53:25 +00:00
curt
3866a42bec FG_LOG() message tweaks. 1998-11-16 14:00:28 +00:00
curt
f2234416b0 Added pow() macro bug work around.
Added support for starting FGFS at various resolutions.
Added some initial serial port support.
Specify default log levels in main().
1998-11-16 13:59:58 +00:00
curt
302a831599 Initial revision. 1998-11-16 13:57:42 +00:00
curt
8aa30c3d30 Added Michael Johnson's audio patches for testing.
Also did a few tweaks to avoid numerical problems when starting at a place
with no (or bogus) scenery.
1998-11-11 00:24:00 +00:00
curt
dd70057f84 Updated comment delimeter to C++ style. 1998-11-11 00:19:27 +00:00
curt
b10ec55403 Log message clean ups. 1998-11-09 23:41:51 +00:00
curt
f8e4de2d13 Bernie Bright <bbright@c031.aone.net.au> writes:
I've made some changes to the Scenery handling.  Basically just tidy ups.
The main difference is in tile.[ch]xx where I've changed list<fgFRAGMENT> to
vector<fgFRAGMENT>.  Studying our usage patterns this seems reasonable.
Lists are good if you need to insert/delete elements randomly but we
don't do that.  All access seems to be sequential.  Two additional
benefits are smaller memory usage - each list element requires pointers
to the next and previous elements, and faster access - vector iterators
are smaller and faster than list iterators.  This should also help
Charlie Hotchkiss' problem when compiling with Borland and STLport.

./Lib/Bucket/bucketutils.hxx
  Convenience functions for fgBUCKET.

./Simulator/Scenery/tile.cxx
./Simulator/Scenery/tile.hxx
  Changed fragment list to a vector.
  Added some convenience member functions.

./Simulator/Scenery/tilecache.cxx
./Simulator/Scenery/tilecache.hxx
  use const fgBUCKET& instead of fgBUCKET* where appropriate.

./Simulator/Scenery/tilemgr.cxx
./Simulator/Scenery/tilemgr.hxx
  uses all the new convenience functions.
1998-11-09 23:40:46 +00:00
curt
4fee7f9df2 Tweaks for the instrument panel. 1998-11-09 23:39:22 +00:00
curt
3563de2a16 Panel updates from Friedemann. 1998-11-09 23:38:50 +00:00
curt
2c2b68fc47 Enable release builds using the --without-logging option to the configure
script.  Also a couple log message cleanups, plus some C to C++ comment
conversion.
1998-11-07 19:07:06 +00:00
curt
c74350c4fe Converted to new logstream debugging facility. This allows release
builds with no messages at all (and no performance impact) by using
the -DFG_NDEBUG flag.
1998-11-06 21:17:31 +00:00
curt
ad3ae51348 Changes to track Bernie's updates to fgstream. 1998-11-06 14:46:59 +00:00
curt
197b94fcf4 Changes to the automake/autoconf system to reduce the number of libraries
that are unnecessarily linked into the various executables.
1998-11-04 23:01:39 +00:00
curt
b7daf28f0e Display ft or m in mini-hud next to altitude. 1998-11-03 12:33:11 +00:00
curt
f17926ec54 HUD units now display in feet by default with meters being a command line
option.
1998-11-02 23:04:02 +00:00
curt
2fe733e796 Portability changes for the Borland compiler. 1998-11-02 18:29:00 +00:00
curt
2612ab0ab3 Check for __CYGWIN__ (b20) as well as __CYGWIN32__ (pre b20 compilers)
Other misc. tweaks.
1998-11-02 18:25:34 +00:00
curt
80b8037230 Changes to support GLUT joystick routines as fall back. 1998-10-27 02:14:21 +00:00