1
0
Fork 0
Commit graph

15455 commits

Author SHA1 Message Date
curt
e7bd36fe3c renamed general.h to general.hxx
More portability enhancements to compiler.h
1999-01-06 21:47:36 +00:00
curt
e4d747e7ac New frame rate counting mechanism. 1998-12-18 23:40:55 +00:00
curt
2ff224ba0c Collapsed out the FGState variables not currently needed. They are just
commented out and can be readded easily at any time.  The point of this
exersize is to determine which variables were or were not currently being
used.
1998-12-18 23:37:06 +00:00
curt
9ff1f466d9 Converted to a simpler frame rate counting method. 1998-12-18 23:35:09 +00:00
curt
152eb395bd Converted to a simpler frame rate calculation method. 1998-12-18 23:34:42 +00:00
curt
750b319de7 LaRCsim maintains all it's variables internally. I had been copying all of
them back and forth to the FG struture everytime I updated the flight model.
However, I have realized that this is not necessary.  I just need to copy
the control positions and environmental parameters into the LaRCsim structure
before updating the FDM, then copy every thing back out into the publick FGFS
structure afterwords.  This seems to solve (or at least help) a westward
drift problem some poeple had been observing.
1998-12-14 13:31:06 +00:00
curt
ef4d103735 Removed some old, outdated, no longer needed code. 1998-12-14 13:27:47 +00:00
curt
871c005f13 #include tweaks. 1998-12-11 20:26:54 +00:00
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
164eeabc57 Fixed view frustum culling bug ... 1998-12-11 20:23:17 +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
99f11a01fc Use C++ style comments. 1998-12-09 18:48:08 +00:00
curt
915b2d9d88 Use C++ style comments. 1998-12-09 18:47:39 +00:00
curt
7651ee98bd Added a VERSION file to contain the current version number.
Updated NEWS.
1998-12-09 18:47:14 +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
b3eacb19f6 Portability improvements. 1998-12-07 21:10:26 +00:00
curt
f12840a72e Improvements to take advantage of memory portability changes. 1998-12-07 21:09:52 +00:00
curt
f472bc563d Added a const in a couple places to get rid of annoying compiler warnings. 1998-12-07 21:08:01 +00:00
curt
50cc243a3d Memory related portability improvements. 1998-12-07 21:07:24 +00:00
curt
937b80eff4 Added some additional checks for memory.h, bcopy, and memcopy. 1998-12-07 21:06:43 +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
6624daa174 Tweaked link libs. 1998-12-05 14:12:02 +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
3e05a5780d Tweak for SGI portability. 1998-12-04 01:24:35 +00:00
curt
fc96b0ae3d Added an External flight model subdirectory. 1998-12-04 01:24:13 +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
2454f8d269 tweak for un portability. 1998-12-03 01:11:56 +00:00
curt
0bfb970511 Update note on compilers and portability. 1998-12-03 01:11:20 +00:00
curt
6d7f865089 Tweaks ... 1998-12-02 00:26:56 +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
b4a913e339 Having the class destructor close the fd was a bad idea ... especially if you
ever make a copy of the instance and then subsequently destroy either.
close_port() is now a separate member function.
1998-11-30 17:15:29 +00:00
curt
d25ab417c5 Support for an arbitrary number of serial ports. 1998-11-25 01:33:58 +00:00
curt
b82aef65e5 Remove call to cfmakeraw() 1998-11-25 01:33:23 +00:00