1
0
Fork 0
Commit graph

8341 commits

Author SHA1 Message Date
curt
0b181d91c8 Tweaks to ssg LOS routines and the use of it for height above ground
calculations.
1999-11-04 22:55:00 +00:00
curt
54fa3ae512 Make state management conform more to the example in the ssg docs. 1999-11-04 22:54:23 +00:00
curt
0a97fc1dcc Tweaked with drag and thrust. 1999-11-04 22:53:34 +00:00
curt
846ac621a2 Tweaks to my ssg LOS routines and their usage. 1999-11-04 00:41:23 +00:00
curt
1d6675a895 Debug output tweaks. 1999-11-03 23:50:15 +00:00
curt
bd198f503b Began work on adding support for loading additional 3d models per tile.
Began work on my own ssgLOS() (line of sight) routine.
1999-11-03 21:01:59 +00:00
curt
8ce39244df Start adding support for loading additional models per tile. 1999-11-03 20:59:34 +00:00
curt
369f052c7b Clear traversal bit on aircraft model. 1999-11-03 20:58:20 +00:00
curt
b430d919d4 Updates by Christian Mayer. 1999-11-03 18:06:52 +00:00
curt
5097ba0bf8 Patches from Tony to enable brakes. 1999-11-03 17:46:24 +00:00
curt
eeaf652ddb Added some extra debugging infrastructure. 1999-11-03 16:18:19 +00:00
curt
308e9d1ac5 Updates so that trim will work. 1999-11-02 15:59:13 +00:00
curt
491c4c573c Updates from Mark Vallevand. 1999-11-01 21:16:05 +00:00
curt
7638109583 Better no-texture support contributed by David Megginson. 1999-11-01 19:17:43 +00:00
curt
43143ef358 c172 updates from Tony. Fix extra yaw when using ailerons. Flaps and elevator
tweaks.
1999-11-01 19:17:16 +00:00
curt
f9044bc5de Trying to fix automake version problems. 1999-10-30 04:27:21 +00:00
curt
715062e85f Fixed (hopefully) a build problem with newer versions of automake
and autoconf.
1999-10-30 02:37:56 +00:00
curt
ad8e491420 MSVC++ tweak. 1999-10-29 18:09:19 +00:00
curt
4c92fd1418 Added keyboard support for flap control. 1999-10-29 18:09:04 +00:00
curt
cd49be7182 Updateds to win32 print system. 1999-10-29 18:08:54 +00:00
curt
06b966ee53 Added flaps support to c172 model. 1999-10-29 18:08:31 +00:00
curt
0c0071533c Added flaps support to control model. 1999-10-29 18:08:26 +00:00
curt
cee6d7d7d8 Moved to Include/fg_types.hxx 1999-10-27 01:41:59 +00:00
curt
939aa2b1d3 Fixed some warning messages that were tripping up pickier compilers. 1999-10-27 00:52:44 +00:00
curt
eb02aba5c8 More tile memory clean ups. 1999-10-27 00:52:25 +00:00
curt
cde20a9fd6 Better memory clean up and ocean texture generation. Moved cloud generation
calls up a level.
1999-10-27 00:51:42 +00:00
curt
ceaf93a11c Fix for MSVC++ 1999-10-27 00:44:29 +00:00
curt
3b5667ed39 Tweaks by David Megginson. 1999-10-27 00:44:16 +00:00
curt
c6d4eee79a Added common fg_types.hxx 1999-10-27 00:42:36 +00:00
curt
a631bd2e55 Add a key mapping (F3) for taking a screen snap shot.
Keep track of and free index arrays that are fed to ssg.
Ssg branch deletion memory leak work around.
1999-10-26 03:45:33 +00:00
curt
c6d49ec502 Cygwin32 fixes. 1999-10-23 04:19:25 +00:00
curt
29bcf26577 Added cloud puffs as we pass through the cloud layer. 1999-10-23 00:09:26 +00:00
curt
e69c859afd Moved where glBlendFunc() is reset to main.cxx 1999-10-22 17:15:43 +00:00
curt
5c9b04f975 Just a minor tweak. 1999-10-22 01:30:39 +00:00
curt
37220833ed Added Durk's first stab at clouds.
Added Simulator/Clouds/
Durk fixed a problem in gui.cxx with cursor type.
Durk updated his time zone / time-offset command line parameters
Curt added a cheezy fade in/out as we transition through the cloud layer.
  We really need to fog the sky dome, sun, moon, stars as well.
Curt added --enable/disable-clouds and --clouds-asl= to control clouds.
1999-10-22 00:27:49 +00:00
curt
e3f7c16e6a Don't actually set fog parameters here.
Added FGWeatherVectorWrap.h to cvs.
1999-10-22 00:23:32 +00:00
curt
adf5011f80 Fixes to Christian's latest weather submission. 1999-10-21 22:53:12 +00:00
curt
2751545008 Updates by Christian Mayer. 1999-10-20 22:19:07 +00:00
curt
aacffa37d6 Updates to BalloonSim init by Christian Mayer.
Removed old plib include line from the days when plib was rolled in with
  flight gear.
Texture handling tweaks contributed by David Megginson.
1999-10-20 22:18:54 +00:00
curt
0e48fe8ac4 Updates from Christian Mayer. 1999-10-20 22:15:41 +00:00
curt
eb81fb7a2d Updates to tools to move the class FGArray into the lib area so it could
be used by multiple programs.
Fixed a triangle loading bug in obj.cxx introduced when I added tri-strip
  functionality.
1999-10-19 20:34:58 +00:00
curt
7a1e59ae4b Changes to properly handle new style tri-strips. 1999-10-18 14:57:38 +00:00
curt
805878ebaf Working on adding textured airport runways. 1999-10-18 04:55:58 +00:00
curt
0b55a915b4 Wire in the balloon sim. 1999-10-15 22:21:09 +00:00
curt
802af70258 A couple MSVC++ portability tweaks. 1999-10-15 22:06:56 +00:00
curt
c0b59ca4b2 Pan view with mouse both side-to-side and up/down from Norman Vine. 1999-10-15 20:43:02 +00:00
curt
978b8af9cb Updates from Norman Vine. 1999-10-15 20:42:28 +00:00
curt
c9b58a1e44 Rename screen dump to snap shot.
Updated view enums.
1999-10-15 13:55:44 +00:00
curt
d707c00c13 Maybe fixed an altitude problem. 1999-10-15 05:35:50 +00:00
curt
e577d8c7ef Tweaks to dumpScreen(). 1999-10-15 00:40:11 +00:00
curt
2633d957e7 Updates for sun. 1999-10-15 00:39:41 +00:00
curt
6d733533ba Script was looking for wrong executable name. 1999-10-15 00:11:52 +00:00
curt
c866ba581d Added screen dumping and screen printing (win32) functionality. 1999-10-14 23:46:28 +00:00
curt
eddea671a2 Upgraded to latest weather data base code from Christian Mayer's and make
it the default.
1999-10-14 20:30:54 +00:00
curt
b822efcf78 Use wgs_84 time and distance calc routines instead of pure spherical geometry. 1999-10-14 19:32:15 +00:00
curt
229ba460d8 Moved wgs_84 time and distance calc routines to fg_geodesy.[ch]xx 1999-10-14 19:31:55 +00:00
curt
f565b1fdbe ... 1999-10-14 19:31:27 +00:00
curt
7a5fbf1ba3 Fixed up external view mode so it works once again. 1999-10-14 17:32:34 +00:00
curt
884dae9c57 Removing all the old vestiges of the original attempt at a slew FDM. Now
this functionality is implimented as a magic carpet mode.
1999-10-14 02:01:27 +00:00
curt
b5aaa84cc9 Initial revision. 1999-10-14 01:54:11 +00:00
curt
cecd5685ca Adding magic carpet FDM mode. 1999-10-14 01:53:43 +00:00
curt
e78f205b38 Added some temporary debugging msgs (now commented out.) 1999-10-14 01:53:20 +00:00
curt
23b97f93fe Replaced all instances of pow(a,2.0) with (a*a) 1999-10-13 19:33:17 +00:00
curt
a0aee5d866 Updates by Christian Mayer. 1999-10-12 03:30:24 +00:00
curt
c4963be66c First pass at incorporating Christian's BalloonSim. 1999-10-12 03:30:00 +00:00
curt
de03bd75bd Default to no force-disengage of autopilot for now. 1999-10-12 03:29:10 +00:00
curt
c682dec898 Initial revision of balloon simulator code. 1999-10-12 03:27:06 +00:00
curt
8957e8e354 Fixed a typo. 1999-10-11 23:10:10 +00:00
curt
74a337b91e Fixed a couple warning messages. 1999-10-11 23:09:51 +00:00
curt
b86e6ddc11 Updating FGFS <=> FDM interface. 1999-10-11 23:09:07 +00:00
curt
98af0b8924 Tweaks to scenery version number keyword. 1999-10-10 17:08:46 +00:00
curt
9f678a797f Work on better texture coordinate handling with the ability to scale textures
via a parameter in the materials file, while having the textures scroll
smoothly at any scaling.
1999-10-10 16:49:29 +00:00
curt
5bb9223dda Pass through ground speed for hud ETA calculation. 1999-10-10 16:48:21 +00:00
curt
303326d256 Expanded size for hud text strings to 64. 1999-10-10 16:47:51 +00:00
curt
4e043de1f1 Added "ETA" to display. 1999-10-10 16:47:21 +00:00
curt
5f5905f6e8 Updates by norman vine to controls.hxx.
Joystick auto-coordination tweaks.
Additional debuging output when pausing and resuming the sim.
Window resizing tweaks by David Megginson (and Norman Vine).
1999-10-09 13:09:16 +00:00
curt
65ea4e8bfc Updates contributed by Norman Vine. 1999-10-09 13:07:35 +00:00
curt
5e61535594 Irix tweaks. 1999-10-08 00:14:01 +00:00
curt
f00b1f8b83 Various SGI portability tweaks. 1999-10-07 23:08:48 +00:00
curt
f7af6787a0 Removed menu entries that were not implimented. 1999-10-07 17:10:41 +00:00
curt
da3271e103 Simplify ssg branch deletion code. Saying we were doing it the
round-a-bout hard way would be an understatement.
1999-10-06 20:59:52 +00:00
curt
f8df262633 Added a simple auto-coordination capability.
Can be enabled/disabled from the command line.
1999-10-06 20:58:57 +00:00
curt
6f079dcf2e Added a simple auto-coordination capability.
If only a single 2-axis joystick is found, and the user hasn't specified a
preference, enable autocoordination.
1999-10-06 20:58:40 +00:00
curt
6de1139450 Added a simple auto-coordination capability. 1999-10-06 20:57:47 +00:00
curt
038b68153e Added support for a pilot view offset vector from the center of gravity. 1999-10-04 04:43:09 +00:00
curt
38999ec3e0 "sg-izing" the matrix/vector code so that I can hopefully eventually remove
the older "MAT3" code.
1999-10-04 04:02:10 +00:00
curt
ad7718ff02 Rewriting old mat3 stuff with plib's sg library. 1999-10-03 18:49:39 +00:00
curt
7d08a3c508 Tweaks for greater precision output in PVE format. 1999-10-02 16:39:54 +00:00
curt
5d9577f806 Remove ssg kids in a an attepmpt to fix one memory leak. We think the
remaining leak is ssg's fault.
1999-10-01 20:36:16 +00:00
curt
2375ae99e3 Fix to keep longitude between -180 ... 180. 1999-10-01 20:35:43 +00:00
curt
780a3c6831 More heave tweaks. 1999-10-01 20:33:06 +00:00
curt
26193c5b19 PVE serial output tweaks.
Other minor tweaks.
1999-10-01 20:07:44 +00:00
curt
cea7b4b335 Try to generate serial output for a motion platform company in California. 1999-09-30 02:59:44 +00:00
curt
aa065f7068 Pass a few more values between LaRCsim and FGInterface. 1999-09-30 02:59:12 +00:00
curt
04619e469f Debugging output tweaks. 1999-09-28 22:44:23 +00:00
curt
9a508406db MSVC++ portability tweaks. 1999-09-28 22:44:08 +00:00
curt
b274e7ce4a Some view tweaks. 1999-09-28 22:43:52 +00:00
curt
0e5ecc165c Allow single joysticks with more than 2 axes to work. 1999-09-28 22:42:59 +00:00
curt
88a0a8264f Some mouse input enhancements. 1999-09-28 22:42:35 +00:00
curt
d12253020b Make sure c172 files get into distribution. 1999-09-28 22:42:07 +00:00
curt
7f25206f92 Show accelerated speed. 1999-09-28 22:41:43 +00:00
curt
6eaf06957d Dynamic calculation of CG and inertias. 1999-09-28 14:19:34 +00:00
curt
fde987982e Tweaks to get rid of a compiler warning. 1999-09-11 02:09:09 +00:00
curt
a5e9fd1358 Jon's updates to adjust control gains. 1999-09-11 02:08:31 +00:00
curt
057fa8d37e Norman's autopilot updates, now serving great circle routes direct to
the center of airports.
1999-09-11 02:07:48 +00:00
curt
045b1acef6 Tweaks from Durk. 1999-09-10 17:00:55 +00:00
curt
f9c9e8b49f Slight syntax change. 1999-09-09 14:19:04 +00:00
curt
9e28d1b626 Updates from David Megginson. 1999-09-09 03:40:06 +00:00
curt
8087bae02a Fiddling around with views, fdm data passing and management to try to be
more sensible so we can do a more reasonable external view.
Fixed some const incorrectness.
1999-09-09 00:17:06 +00:00
curt
1b45c9ee54 Fiddling around with views, fdm data passing and management to try to be
more sensible so we can do a more reasonable external view.
1999-09-09 00:16:28 +00:00
curt
e9013be4a0 Fixed altitude update bug. 1999-09-08 16:11:09 +00:00
curt
c193021346 Updates to get engine working. 1999-09-07 23:15:45 +00:00
curt
4dc4764510 Initial revision of:
geocoord.cxx geocoord.h lowleveltime.cxx lowleveltime.h
   mymath.cxx mymath.h timezone.cxx timezone.h
Incorporating Durk's better timezone handling:
   Makefile.am fg_time.cxx fg_time.hxx
1999-09-07 23:11:22 +00:00
curt
92f7e1123c Added Durks timezone handling changes. 1999-09-07 23:09:43 +00:00
curt
8d903eac1c Patches to allow panel to display.
Allow model_hz to be defined from the command line.
1999-09-03 00:27:48 +00:00
curt
8d1be9f893 Added support for timegm() which returns time_t and explicitely expects GMT
input.
1999-09-03 00:24:30 +00:00
curt
32bab8aa10 Setup a user definable model hertz. 1999-09-01 20:24:54 +00:00
curt
87e3a7decb Tweaked some log messages. 1999-09-01 18:52:31 +00:00
curt
0925492e4c Fixed a couple small bugs with fragment creation in on-the-fly generated
tiles.
1999-09-01 18:51:49 +00:00
curt
c3753bf620 Lighting/ssgSimpleState fixes.
obj.cxx added code to generate an ocean tile on the fly if no tile exists.
1999-08-31 23:23:04 +00:00
curt
0f6565f764 Patch to allow window resizes. 1999-08-31 23:22:05 +00:00
curt
c664ec4e93 Updates from Tony. 1999-08-24 23:17:05 +00:00
curt
efa21a5dd6 Initial revisions. 1999-08-17 21:20:38 +00:00
curt
bfcfbcaa5e Updates from Tony. 1999-08-17 21:18:16 +00:00
curt
f38dcfd995 Updates from Jon. 1999-08-17 21:18:11 +00:00
curt
db1be3a0ce Updates to interface to pass in radians for starting position. 1999-08-17 21:18:04 +00:00
curt
bbced46d9f Tweaks to fix problems with moon rendering introduced with ssg. 1999-08-15 15:35:07 +00:00
curt
58a8b0d103 Minor tweaks. 1999-08-14 22:07:35 +00:00
curt
82da518255 minor tweaks 1999-08-14 22:07:15 +00:00
curt
2dc567a4a4 Tweaks from Norman. 1999-08-14 22:06:54 +00:00
curt
fdbfd9c2f8 Minor tweaks to work around egcs compiler pickiness. 1999-08-12 21:08:37 +00:00
curt
e945d2b761 Christian's new weather subsystem is causing problems with some compilers
so I am allowing it to be #ifdef'd out until the compile problems can be
resolved.
1999-08-12 17:13:44 +00:00
curt
7397860323 Fixed --shading-flat option so it sets the material properties correctly. 1999-08-11 18:35:23 +00:00
curt
afe8cc4d26 Updates to material properties so --disable-textures now works, although
textures still cannot be toggled on and off with F9 while the sim is running.
1999-08-11 16:52:15 +00:00
curt
8b2e57a93d Updated to support new weather subsystem (visibility variable determins
how far out the scenery should be drawn.)
1999-08-10 03:45:47 +00:00
curt
9e3edfb47b Added support for Christian Mayers new weather subsystem.
Added support for david@megginson.com's mouse yoke patch.
Added a flight model acceleration options (controlled by a/A keys.)
1999-08-10 03:44:47 +00:00
curt
06ee5a4f0a Added a patch contributed by david@megginson.com for mouse yoke control. 1999-08-10 03:43:05 +00:00
curt
b645c8cf7e Initial revision. 1999-08-10 03:40:34 +00:00
curt
21f888a43f Updates from Tony. 1999-08-08 17:12:33 +00:00
curt
a5f19c7a7c Removed extra square array of indirection indices between what's visible
and where these things are in the cache.  We just let ssg sort out what needs
to be drawn based on visual range.
1999-08-08 15:23:39 +00:00
curt
1e8b5c8956 Makefile.am: Got rid of -DUSE_SSG
options.cxx: reorder option initializations to match declaration order.
views.cxx: much cleanup of stuff that was depricated by the move to ssg.
           I now use ssg to do all the projection/modelview matrix calculation
           and setup. (mostly)
vies.hxx: also added the view pan offset to the view matrix calcs.
1999-08-08 15:21:54 +00:00
curt
471fe324ff Added a place holder for optionally giving the engine a bit of a boost. 1999-08-08 07:04:11 +00:00
curt
82b41d7db6 Set up the model view matrix exactly as ssg does it before drawing sky, stars
sun, and moon.  I really should do a derived sgLeaf class so that these things
can be drawn within ssgCullandDraw() but this is quicker for now ...
1999-08-08 01:31:30 +00:00
curt
b512e40e79 Cleaning cruft that can be removed now that ssg is taking over. 1999-08-07 23:07:59 +00:00
curt
e7751d59f2 Initial revision. 1999-08-07 19:19:14 +00:00
curt
09987296b4 Updates to Tony's c172 model. 1999-08-07 19:18:45 +00:00
curt
a7abe629cf Scaling inputs to JSBsim to get a bit more realistic results. 1999-08-07 18:28:21 +00:00
curt
243b73c10b Moving towards increased dependence on ssg. 1999-08-07 18:27:29 +00:00
curt
dec6e86f6e Mac portability tweaks. 1999-08-07 18:24:49 +00:00
curt
6b2f7f4e3d Mac portability changes. 1999-08-07 18:24:23 +00:00
curt
e6aef49822 Updates to Tony's c172 model. 1999-08-07 18:23:55 +00:00
curt
b001cc55c7 Updates for Mac compilers. 1999-08-07 18:22:57 +00:00
curt
def090d631 Return to glider model ... 1999-07-31 05:01:04 +00:00
curt
44400cdff8 Fix a small tile cache bug. 1999-07-31 04:59:28 +00:00
curt
439779ee36 Tweaks so that Jon's FDM stuff get's initialized better. 1999-07-31 04:58:26 +00:00
curt
0bb22cd0a7 Improvements to Tony's c172 model. 1999-07-31 04:57:35 +00:00
curt
aa68d067d0 Updates so that JSBsim can work. 1999-07-31 04:56:13 +00:00
curt
a1b2152d7f Updates from Jon. 1999-07-31 04:55:23 +00:00
curt
8d58f64257 Fixed a tile caching bug. When I was freeing tiles to make room in the
cache, I was only checking currently visible tiles, rather than checking
all the cache entries.
1999-07-25 01:52:36 +00:00
curt
e5a87cf9fa (Hopefully) fixed bug which caused corrupt entries to be loaded into the
scene graph when a tile shift occured while the tile load queue was not
  empty.
1999-07-04 07:37:30 +00:00
curt
6efea97fb0 Don't make mismatched nodes/normals a fatal error ... 1999-07-04 07:33:29 +00:00
curt
f57f8ef7ce Fail on mismatch of nodes and normals. 1999-07-03 04:03:59 +00:00
curt
d3b9b645ad ssg and external view tweaks. 1999-07-01 01:17:43 +00:00
curt
0660ea821a Network updates contributed by Oliver Delise. 1999-06-30 20:21:04 +00:00
curt
7a56d332ad Force initial ssgState before doing ssg cull and render pass so that the
lazy state loader get's primed.
1999-06-30 19:16:53 +00:00
curt
9f9f487e2a Added some early support for a cheezy external view of TuX.
'v' toggles internal vs. external view modes.
Add the distance of the bouding radius into the tile's range selector.
1999-06-30 14:35:01 +00:00
curt
39b3602dce Ssg tweaks.
Better handling of missing tiles.
Added a range selector so we can completely ignore tiles that are beyond
  our visibility range.
Added a routine to prep the ssg nodes before rendering by updating the
  transform and range selector values.
1999-06-30 00:28:20 +00:00
curt
5329ce82c5 Ssg tweaks. Better handling of missing tiles. 1999-06-30 00:26:43 +00:00
curt
35dc68a0d0 Ssg tweaks. 1999-06-30 00:25:13 +00:00
curt
b333a30678 Misc. tweaks. 1999-06-29 17:26:46 +00:00
curt
0ae48876a7 More ssg tweaks. 1999-06-29 14:57:00 +00:00
curt
0c25cad3a1 MSVC++ tweaks contributed by Christian Mayer. 1999-06-28 18:41:01 +00:00
curt
e2a7fb6080 Initial revision. 1999-06-28 18:22:20 +00:00
curt
b67e68b684 FreeBSD tweaks. 1999-06-28 18:19:26 +00:00
curt
bb94a6ef5c Updates contributed by Jon Berndt. 1999-06-28 17:39:20 +00:00
curt
a85b537e75 Fear the penguin ... 1999-06-28 14:18:14 +00:00
curt
aa27214f65 Additional tweaks to fix the ssg texture (state) problems. Tweaked near
and far clip planes.  Adjusted rendering order so menus and hud get drawn
last.
1999-06-28 05:47:02 +00:00
curt
858f17b323 Changes to begin incorporating plib support for managing and rendering the
terrain.
1999-06-28 00:02:52 +00:00
curt
a540873192 Tweaks by Oliver. 1999-06-25 18:15:52 +00:00
curt
8520f46403 Initial revision. 1999-06-24 20:40:22 +00:00
curt
aea253a85c Updated build system to remove DEFS += -DFOO type lines. This doesn't seem
to be supported in recent versions of autoconf.
1999-06-24 20:38:31 +00:00
curt
540849b9c3 Incorporated Oliver's initial networking code. 1999-06-22 21:24:31 +00:00
curt
116e3913ae Updated for both JSBsim and Tony Peden's c172 flight model. 1999-06-21 05:01:31 +00:00
curt
c54a4fe206 Updates to JSBsim from Jon Berndt.
Fixed a typo in hud.cxx.
1999-06-20 04:10:44 +00:00
curt
3895c604ce Borland C++ tweaks.
MacOS/Metrowerks tweaks.
Fix for fgText default constructor.
More ssg fiddling.
Fixed an include problem with client/server tile build tools.
1999-06-20 03:54:57 +00:00
curt
bfe5df5f24 Working on getting ssg integrated. 1999-06-19 04:48:07 +00:00
curt
6e10fd9a05 Fiddling with ssg. 1999-06-18 16:12:17 +00:00
curt
c8501f9b29 Now use plib in native install mode.
Preparations for unstable development version 0.7.0
Some reorganizational changes.
Beginning to test the use of ssg (part of plib)
1999-06-18 03:42:54 +00:00
curt
90655cf54b renamed GLUTkey.* -> keyboard.*
renamed GLUTmain.cxx -> main.cxx
1999-06-17 21:33:39 +00:00
curt
14a8533f63 Initial revision 1999-06-17 20:07:19 +00:00
Tim Moore
c90db01dc8 source tree reorganization prior to flightgear 0.7
SimGear and TerraGear appear to have been split off at this time.
2009-09-14 14:26:20 +02:00