1
0
Fork 0
Commit graph

610 commits

Author SHA1 Message Date
curt
0ffa19cd32 Updates to JSBsim from Jon's CVS.
Massaging some names inside of SimGear.
2000-07-06 22:13:24 +00:00
curt
9d47a64a09 Updates from Jon's official CVS tree. 2000-07-06 21:02:46 +00:00
curt
e7d90b98d2 Rewrite from David Megginson to use property registry to allow the joystick
to be runtime configurable.
2000-07-06 16:26:56 +00:00
curt
92dd898110 Initial revision. 2000-07-05 17:04:08 +00:00
curt
d1e4a4bc6f A lot of code reorganization relating to moving some core code from
FlightGear into SimGear so it can be used by other projects.
2000-07-05 02:39:30 +00:00
curt
efe5654b8b Moved sky code over to simgear.
Added David Megginsons property manager.
2000-07-03 20:09:56 +00:00
curt
03f703cea0 Oops, a couple more sky tweaks. 2000-06-30 23:51:11 +00:00
curt
db6da3a896 Various odds and ends tweaks. 2000-06-30 21:46:41 +00:00
curt
4c72f1df98 Updates to cloud code to add different basic cloud types. This isn't the
final list of cloud types, but servers as an example / template for someone
who wants to tweak this out and do it right.
2000-06-23 04:55:55 +00:00
curt
33bfe7587d Rewrites of material.[ch]xx and materialmgr.[ch]xx 2000-06-23 02:59:03 +00:00
curt
39ae3864de Cleaned up all the old fragment and material_mgr stuff which originated
from the pre-ssg / render everything ourselves days.  Replaced with a
material library manager that is much better suited for working in the
context of ssg.  This simplified and cleaned up a ton of old junk.
2000-06-23 00:30:04 +00:00
curt
276a1d5221 A couple more cloud tweaks. 2000-06-20 23:44:03 +00:00
curt
291d72d4be Updating cloud code. 2000-06-20 22:31:47 +00:00
curt
86af8c519a Lighting tweaks. 2000-06-20 04:50:00 +00:00
curt
cb1d2d96d1 Fix for reset/reloading tiles. 2000-06-20 04:48:12 +00:00
curt
2ec4d6782e Rearranging some code. 2000-06-20 02:29:58 +00:00
curt
6a6e829dd1 Changing the way clouds are handled. 2000-06-20 02:29:31 +00:00
curt
f7d775ff1e Updates from David Megginson to add DG control. 2000-06-20 02:29:01 +00:00
curt
9adf2456e2 Updates from David Megginson:
1. I've modified src/Time/fg_time.cxx so that the --start-date-gmt
option works correctly, at least on my system.

2. I've modified src/Main/bfi.cxx to return the correct time from
FGBFI::getTimeGMT(), so that saving and reloading now keeps the time set
correctly again.

3. I've modified src/Main/main.cxx so that the engine still makes a
noise when it's idling (it sounded very strange when the engine simply
turned off at idle then magically turned on again with a little
throttle).
2000-06-17 03:41:03 +00:00
curt
bb61414e04 Initial revision. 2000-06-16 02:15:08 +00:00
curt
cd1a471f7e Updates, optimizations, and restructures from Norman Vine. 2000-06-15 22:32:26 +00:00
curt
0f4ff744c6 Patch from Oliver. 2000-06-15 22:31:57 +00:00
curt
fa3cbdb2f8 Updates from Alex for his motion chair project. 2000-06-15 22:31:40 +00:00
curt
fb8baab76d View code simplifications and optimizations contributed by Norman Vine. 2000-06-15 22:31:20 +00:00
curt
a586378692 Stubbed in some radio settings for Alex. 2000-06-15 22:30:48 +00:00
curt
c8a0114406 Start of a ascii-file configurable joystick module. 2000-06-15 18:49:42 +00:00
curt
1882fb0119 Patches and tweaks from Alex. 2000-06-15 18:36:13 +00:00
curt
ca3fd98b5c Tony Peden: fixed Mach number for LaRCsim. 2000-06-14 21:52:22 +00:00
curt
016cd935ef Updates from David Megginson:
I've done some substantial reengineering of the 2D panel: except for the
radios, the whole panel is built from a large table now.  I'd be
grateful if you could add these changes to the main distribution.

Since I always like to provide some eye-candy with my updates, I've
fixed the ADF gauge to be more usable by slimming the needle and adding
markings every 45 deg (you'll need to use the attached textures).
2000-06-14 20:59:51 +00:00
curt
dcdd61c590 Added differential braking (Alex and David). 2000-06-12 20:52:36 +00:00
curt
2d4cd1b24d Added support back in for raw triangle faces in the object file. 2000-06-06 00:33:30 +00:00
curt
838c4a684c A few enhancements to allow object definitions to reference new textures
on the fly.
2000-06-02 23:37:40 +00:00
curt
a371fe4e6d Minor fiddling with material properties *trying* to chase down a visual bug
where the scene get's brighter or dimmer depending on whether or not the sun
or moon is in the field of view.
2000-06-01 21:14:06 +00:00
curt
6cb91111d8 Added a get_type() to the iochannel class so the protocol code can optionally
impliment different behavior depending on the channel that's being used.
2000-06-01 21:13:26 +00:00
curt
818a462a02 Replaced Durk's mymath.* with plib/sg.h (contributed by Durk). 2000-05-30 20:51:47 +00:00
curt
252cb48f44 Swapped throttle and rudder axes. 2000-05-30 17:23:57 +00:00
curt
1e5c61fcbd Alex Perry has added support for Ray Woodworth's motion chair which has
3-5 axes installed.
2000-05-30 17:01:09 +00:00
curt
2e08c97204 Updates [hack] from David Megginson so VOR reception range scales with
altitude.
2000-05-30 16:49:44 +00:00
curt
0786793f42 05/30/2000 updates from Jon Berdnt. Landing gear code now is beginning to
work.
2000-05-30 16:48:52 +00:00
curt
febc9cf0b2 First quick hack at panel shading. 2000-05-27 06:40:55 +00:00
curt
d4d10fad6b Replaced gdbm with metakit. Involves a new simgear version and a new database
format for the airports in the base package.
2000-05-27 05:54:02 +00:00
curt
e12e81dd23 5/26/2000 updated from Jon and Tony. 2000-05-27 05:48:14 +00:00
curt
b074559216 MSVC5 portability changes contributed by Bruce Finney. 2000-05-24 06:10:01 +00:00
curt
d423fa9337 MSVC5 Compatibility tweaks. 2000-05-24 04:27:28 +00:00
curt
b543d8291e Fixes to uiuc includes and initialization.
Fixes to fg_io.cxx periodic scheduler.
2000-05-23 22:08:00 +00:00
curt
9835072241 From Tony Peden:
This set of changes cleans up my previous ones quite a bit:
[tony@valkyrie FlightGear]$ tar -ztf tp_changes.tgz
src/Controls/controls.cxx
src/Controls/controls.hxx
src/FDM/JSBsim.cxx
src/Main/fg_init.cxx
src/Main/options.cxx
src/Main/options.hxx
src/Joystick/joystick.cxx

controls.[ch]xx:  removed the trimmed_throttle stuff.  This undoes the
                  changes I submitted last time.

JSBsim.cxx:       updates for the removal of the trimmed_throttle stuff

fg_init.cxx:      removed the autothrottle logic.  The autothrottle is now
off
                  by default.

options.[ch]xx:   Sets trim_mode to false by default.  It is enabled only
                  when --notrim is not used and JSBsim is the FDM.

joystick.cxx:     Added logic for syncing the throttle lever.  This is
                  only enabled when trim_mode is enabled.   The way I
                  did it is, I hope, a good way of going about it.

I tested:
fgfs --fdm=larcsim
fgfs --fdm=jsb --aircraft=c172 --vc=100 --altitude=500
fgfs --notrim --fdm=jsb --aircraft=c172 --vc=100 --altitude=500

All work as intended, at least for me.

Make sure your joystick is calibrated and give:
fgfs --fdm=jsb --aircraft=c172 --vc=100 --altitude=500
a try, I think you just might be impressed.

I am. ;-)
2000-05-19 16:29:23 +00:00
curt
2f22748275 Fixes from David Megginson for save/restore. 2000-05-19 16:14:37 +00:00
curt
466c7ec5dc Fix so that we don't attempt a phantom trim on the larcsim flight model at
startup.
2000-05-17 03:53:36 +00:00
curt
f886e46623 Fixes to magnetic compass.
Fixed a typo in disabling autothrottle.
2000-05-16 23:00:31 +00:00
curt
fb2a4f6909 Updates from Jon (addendum to previous changes). 2000-05-16 22:43:58 +00:00
curt
c4a1cc047e Updates from the Jon and Tony show.
Tony submitted:

JSBsim:
Added trimming routine, it is longitudinal & in-air only at this point
Added support for taking wind & weather data from external source
Added support for flaps.
Added independently settable pitch trim
Added alphamin and max to config file, stall modeling and warning to
follow

c172.cfg:
Flaps!
Adjusted Cmo, model should be speed stable now

FG:
Hooked up Christian's weather code, should be using it soon.
Hooked up the trimming routine.  Note that the X-15 will not trim.
  This is not a model or trimming routine deficiency, just the
  nature of the X-15
The trimming routine sets the pitch trim and and throttle at startup.
The throttle is set using Norman's code for the autothrottle so the
autothrottle is on by default.  --notrim will turn it off.
Added --vc, --mach, and --notrim switches
      (vc is airspeed in knots)
uBody, vBody, and wBody are still supported, last one entered
on the command line counts, i.e. you can set vc or mach or u,v,
and w but any combination will be ignored.
2000-05-16 21:35:11 +00:00
curt
90707efd3f Changes by David Megginson. 2000-05-16 18:21:08 +00:00
curt
e8d1596ec7 Added cur_radius (radius in meters from the center of the earth) to the
current terrain elevation structure.
2000-05-15 18:19:17 +00:00
curt
ed973e8993 Updated hud controls a bit:
"h" toggles between day/night/off
"H" cycles through black/dark/medium/light intensities.
2000-05-15 17:47:50 +00:00
curt
9dc5c9ca22 Instrument panel updates from David Megginson.
- the panel uses much, much less texture memory, and draws much
  faster, at least on my hardware

- there is a wet (magnetic) compass at the top of the panel

- the gyro compass shows true heading again, but don't get used to it:
  we're going to set it up to drift soon

- there are TO/FROM flags on NAV1 and NAV2 (but no GS flag yet)

- the ADF looks a little more realistic (if you can forgive the ugly
  needle)

- when the HUD is not open, the framerate is moved to the right side
  of the screen so that it won't be obscured by the mag compass
2000-05-15 16:33:42 +00:00
curt
7863c607bf Heading bug (and bfi) now deals with magnetic compass heading rather than
true heading.  Internally, the sim (and the autopilot) still runs off of
true heading.
2000-05-14 04:18:12 +00:00
curt
56a8d4247d Fixed a typo rich messed up vor range calculations. 2000-05-14 01:41:11 +00:00
curt
365b26d093 HUD updates/cleanups from Norman Vine. 2000-05-13 00:02:43 +00:00
curt
5127740c72 More fixes to ils approaches and autopilot. 2000-05-12 22:17:09 +00:00
curt
db89ecfae8 Fixes to ILS approaches ... now takes into consideration actual GS and DME
locations.
2000-05-12 20:07:51 +00:00
curt
63df45998f More magvar fixes relating to vor/ils. 2000-05-12 14:09:52 +00:00
curt
51898e3a14 Added magvar offset to VOR's. 2000-05-12 13:41:12 +00:00
curt
519996f34d Changes contributed by Tony Peden to put wind data "on the bus". 2000-05-11 19:17:33 +00:00
curt
a74e205930 Norman Vine contributed code to do anti-aliases HUD lines.
However, this tanks my voodoo2 frame rates so it the code is disabled for now.
2000-05-11 19:17:02 +00:00
curt
109088a84e Updated save file and bfi code from David Megginson. 2000-05-06 21:47:53 +00:00
curt
b603674b92 Fix gui parameter adjuster. 2000-05-04 17:09:42 +00:00
curt
292c97fa43 Propogate colocated dme flag. 2000-05-04 15:53:03 +00:00
curt
2fac753991 minor tweaks. 2000-05-04 05:21:50 +00:00
curt
2cda6e7082 ADF tuner fixes so that it goes from 100 to 1299 without decimal steps.
The left button moves by 1, and the right button moves by 25.
2000-05-04 05:10:32 +00:00
curt
6bc7ed9ba2 Overhaul of the navaid system to increase efficiency, reduce redundancy, and
also properly model the DME.
2000-05-04 01:18:45 +00:00
curt
977917a612 Initial revision (is this the best place for this?) 2000-05-03 03:02:30 +00:00
curt
4f6ed28a17 Instrument panel / steam updates for more realistic modeling of various
instruments (contributed by Alex Perry)
2000-05-02 19:41:35 +00:00
curt
a975fd77c5 User-visible
- knobs now continue to rotate when you hold down the mouse
- the middle mouse button makes knobs rotate much faster
- there are NAV1, NAV2, and ADF radios that can be tuned using the mouse
- there are standby frequencies for NAV1 and NAV2, and buttons to swap
- there is a crude, rather silly-looking DME, hard-wired to NAV1
- there is a crude, rather silly-looking autopilot that can lock
  the heading (to the bug on the gyro), can lock to NAV1, and can lock
  the current altitude
- the knobs for changing the radials on NAV1 and NAV2 look much better
  and are in the right place
- tuning into an ILS frequency doesn't change the displayed radial for
  NAV1

Code

- I've created a new module, sp_panel.[ch]xx, that constructs the
  default single-prop panel; this works entirely outside of FGPanel,
  so it is possible to construct similar modules for other sorts of
  panels; all code specific to the default panel has been removed from
  panel.cxx
- current_panel is now a pointer
- radiostack.[ch]xx keeps track both of the actual radial and of the
  selected radial (they will differ with ILS); the NAV gauges should
  not spin around automatically to show the actual radial (we need to
  do something similar with the autopilot)
- the panel is initialized fairly early
- make sure that standby frequencies also get initialized
- I've started combining and clipping small textures to save texture
  memory; there's a lot more to do, but at least I've made a start
2000-05-02 18:26:00 +00:00
curt
ea80ed959e Partial JSBsim update. 2000-05-02 18:25:30 +00:00
curt
921beb96d7 First stab at NAV1 and GS hold modes for the autopilot. 2000-04-30 22:21:47 +00:00
curt
b62900e44c Minor autopilot/gui tweaks. 2000-04-30 07:33:11 +00:00
curt
3ecf1b8dce Autopilot "class-ification".
Separated out gui parts of autopilot control from the actual autopilot code.
2000-04-30 06:51:49 +00:00
curt
2aefd15f74 Added getAGL() 2000-04-28 20:08:22 +00:00
curt
1868e44ee4 0429 updates from Jon. 2000-04-28 19:59:46 +00:00
curt
418279fdd4 Panel updates from David Megginson. Radials can now be adjusted on the fly
by clicking on the knob on the instrument panel.
2000-04-27 22:45:48 +00:00
curt
949fc00815 MacOS build updates. 2000-04-27 21:57:08 +00:00
curt
39f4bea43e Fixes for cygwin32 builds. 2000-04-27 03:26:36 +00:00
curt
f7891be922 Initial revision. 2000-04-26 00:35:14 +00:00
curt
e9b2b521ca April 25, 2000 updates from Jon. 2000-04-25 17:43:40 +00:00
curt
8f71890c08 April 25 updates to JSBsim by Jon. 2000-04-25 17:42:11 +00:00
curt
ff8e6b9e28 Tweaks to navaid database loading. 2000-04-25 17:33:13 +00:00
curt
b5420977d7 Updates to nav radio stack model ... starting to get to first usable pass. 2000-04-25 04:58:25 +00:00
curt
b23f930aa6 Beginning work on integrating radiostack model into fgfs. 2000-04-25 03:09:26 +00:00
curt
9a3b25e4fa cygwin32 fixes by norman vine. 2000-04-24 23:52:13 +00:00
curt
8f1c10a746 Fix a bug with converting frequencies to "int". 2000-04-24 23:51:56 +00:00
curt
8f21c91edf Moved main.o to beginning of link line.
Initialize navaid databases.
2000-04-24 23:51:26 +00:00
curt
56ad909452 Begin adding radio stack functionality. 2000-04-24 23:50:59 +00:00
curt
c7cac5893f Added new section of JSBsim. 2000-04-24 23:49:37 +00:00
curt
ad4416e143 Updated JSBsim code. 2000-04-24 23:49:06 +00:00
curt
6dba794faa Added fix routines. 2000-04-21 18:30:59 +00:00
curt
abc61895ed Added ils loader. 2000-04-21 18:00:47 +00:00
curt
a759908c76 More name changing. 2000-04-21 16:42:01 +00:00
curt
6b7353598b Renamed files. 2000-04-21 16:03:36 +00:00
curt
afcf4d4324 Tweaks. 2000-04-21 05:27:13 +00:00
curt
ce86c83222 Basic query routine now working. 2000-04-21 05:26:24 +00:00
curt
96a8cc0fff Whups didn't mean to add this, removed. 2000-04-21 04:31:18 +00:00
curt
f83731630c Updates to add in navaid management code. 2000-04-21 04:20:35 +00:00
curt
7a16ec4fb4 Start of code to load, manage, and query the navaid database. 2000-04-21 04:19:22 +00:00
curt
96c20e6532 Added custom joystick client support so that flight gear can read values
being shipped over from a separate joystick server.
2000-04-19 21:22:16 +00:00
curt
f03cfb6b4a Initial revision. 2000-04-19 21:20:44 +00:00
curt
336aee09c4 Added one more missing include file. 2000-04-13 17:42:09 +00:00
curt
4139964eb2 Fixed a syntax error (stray space). 2000-04-12 19:05:41 +00:00
curt
6660bb4788 Added all .h files to Makefile.am so they can be included in the distribution. 2000-04-12 17:43:58 +00:00
curt
12168687cb Changes by Tony Peden to get pitch, roll, and yaw rates onto the "bus." 2000-04-11 21:45:42 +00:00
curt
a0ed3977ce Comment some debugging output. 2000-04-11 20:38:45 +00:00
curt
1f1b2bab50 David Megginson made a few (mostly minor) mods to the LaRCsim files, and
it's now possible to choose the LaRCsim model at runtime, as in

  fgfs --aircraft=c172

or

  fgfs --aircraft=uiuc --aircraft-dir=Aircraft-uiuc/Boeing747

I did this so that I could play with the UIUC stuff without losing
Tony's C172 with its flaps, etc.  I did my best to respect the design
of the LaRCsim code by staying in C, making only minimal changes, and
not introducing any dependencies on the rest of FlightGear.  The
modified files are attached.
2000-04-10 20:09:40 +00:00
curt
d9c7848ed7 Replaced all instances sgMultMat4 with sgPre/PostMultMat4 to avoid bug and
fix discrepancy in plib.
2000-04-04 05:49:05 +00:00
curt
616610a962 Removed all sgMultMat4 in favor of Pre/PostMultMat4. Steve says there is
an error in MultMat4 that isn't found in Pre/Post.  He wants to fix it which
means different versions of plib could work differently from each other.
2000-04-04 05:46:37 +00:00
curt
7db09cfd2f Build gdbm database from original text file. 2000-03-29 20:23:28 +00:00
curt
3b34980556 Updates to simple.[ch]xx to use gdbm to look up airport values. 2000-03-29 20:21:31 +00:00
curt
19d2b1a314 Updated for magvar calculations. 2000-03-29 00:15:58 +00:00
curt
dec30d2090 Updated ... 2000-03-29 00:15:26 +00:00
curt
87d4e7b5d4 David Megginson: I've created a couple of very simple textures: one for
the NAV face, and one for a NAV needle (just a thin, slightly blurry red
line for now).  I'm attaching my two new textures, together with my newest
panel.cxx (modified from Alex's to use the new textures).  Obviously,
there's a lot more to do, including TO/FROM indicators, but this is a
start, and it's fun.
2000-03-26 17:19:39 +00:00
curt
9517c0b82d NAV1 is now the ILS-28R on airport KMYF,
NAV2 is now the VOR radial 068 from MZB,
ADF  is now the Compass locator on the outer marker.
This combination is more than the legally required to
fly any of KMYF-ILS-28R, KMYF-LOC-28R KMYF-NDB28.
If you don't have access to the approach plates
and would like them, let me know and I'll scan them
(and put them on the webpage area).

The approaches do work; I've checked them all out in
terms of altitude profile, centerlines and other stuff.

In real life, the radar vectoring will basically abandon you
overhead KSEE airport at 4000 ft heading 210 or so.  Sometime
later you'll be turned to a heading of 260 if the controller
doesn't have too much else to do, just before you hit the
extended centerline.  You can't rely on that though.
Maintain 3500ft until established, 2100 ft until the outer marker,
If non-precision, maintain 1340 until crossing the radial,
then 900 thereafter until you miss, based on time from the NDB.
The miss takes you heading 270 to intercept a radial which this
hacky implementation will not let you set up the computer for.

The hacky math implementation does not take range and/or signal
strength into account, so you can fly to San Diego from England
by following the needle indication on the ADF.  It is also
fairly inaccurate math; about as accurate as the real-life signals.
When we have a _real_ radio module, I will be very happy to
throw all that code away.  For now, it makes it demonstratable.

Please notice the nastiness involving the "VARY_E" constant.
This is _not_ something that will go away with the radio module.
As far as I know, we don't have a routine that calculates
magnetic variation as a function of global position.
We will need one, probably within the next two months.
2000-03-26 16:52:36 +00:00
curt
a2f328c8a8 A couple more tweaks to get UIUC flight model stuff to work. 2000-03-23 03:28:54 +00:00
curt
bd969d8e11 tweaks. 2000-03-23 00:14:37 +00:00
curt
0b69d5a107 Initial revision. 2000-03-22 22:08:16 +00:00
curt
8f3aa1bebd UIUC flight model contribution. This is based on LaRCsim, but can read
the aircraft parameters from a file.  It still uses Tony's <crappy> (and I
mean that in a constructive way) gear model. :-)
2000-03-22 22:01:33 +00:00
curt
863423054e Updates to vacuum system model from Alex Perry. 2000-03-22 21:59:59 +00:00
curt
3b0cf518bc MSVC++ tweaks contributed by Christian Mayer. 2000-03-21 22:06:05 +00:00
curt
a940c7293e Added Alex's patches for more accurate instrument modeling (compass, vsi,
altitute)
2000-03-21 20:51:03 +00:00
curt
a9f48c0dac Rendering tweaks. 2000-03-17 06:16:15 +00:00
curt
314a1dd9dd Moved src/Astro to src/Ephemeris 2000-03-16 23:19:39 +00:00
curt
10ceaa4ba0 *** empty log message *** 2000-03-16 23:03:05 +00:00
curt
84c64c8cc3 Removed dependencies on Astro/solarsystem.*
Pass star and planet data to Sky module.
2000-03-16 23:01:57 +00:00
curt
dc01e3f8d2 tweaks. 2000-03-16 04:23:24 +00:00
curt
4deab11ed6 Tweaks to reduce module interdependencies.
Additional sun and moon position values calculated from new FGEphemeris class.
2000-03-16 04:18:24 +00:00
curt
b00c41ab45 Slight updates to material properties. 2000-03-16 04:15:47 +00:00
curt
7ada12ed09 Updates for ssg solarsystem/sky model. Includes changes to Time, Light, and
initialization sequences.
2000-03-16 04:15:22 +00:00
curt
52039b1fe5 Working on ssg-ifying sky. 2000-03-06 23:29:24 +00:00
curt
8d27e09b91 Pass NULL for ColourArray when creating cloud objects. 2000-03-06 23:28:52 +00:00
curt
28f17b1052 Updates for sky rendering. 2000-03-06 23:28:43 +00:00
curt
359b9507b1 Working on drawing sun and sun halo. 2000-03-03 00:07:23 +00:00
curt
02732b23f8 Sun now correctly placed in sky and correctly colored. 2000-03-02 19:20:54 +00:00
curt
f874d4a94f Working on separating out ephemeris code from the actual rendering code
which I am trying to ssg-ify at the same time.
2000-03-02 13:51:31 +00:00
curt
e6d5923ad0 Separating out the Sky rendering as a separate unit and ssg-ifying it. 2000-03-02 03:03:16 +00:00
curt
7cfecd71a3 Tweaks related to updating skydome colors. 2000-03-01 00:32:09 +00:00
curt
a50dc5af73 Forgot to include ssg.h 2000-03-01 00:31:56 +00:00
curt
8f3f9bd264 Cygwin fixes. 2000-03-01 00:31:46 +00:00
curt
138863b3e2 Working on skydome ... some actual progress has been made. :-) Still
something goofy with sunrise, sunset effects.
2000-03-01 00:31:35 +00:00
curt
cb071f4e56 Continuing work on ssg-ifying the sky dome. 2000-02-29 17:13:02 +00:00
curt
749462f9bb Make NetworkOLK optional even if compiled in. 2000-02-28 04:16:12 +00:00
curt
c2226f6e34 Added bfi.[ch]xx (Big Flat Interface) to give a consistant access point
to shared state inside Flight Gear.
2000-02-26 18:01:13 +00:00
curt
06f56d1465 Updates from David Megginson.
Externally: added a chronometer and a control-position indicator a la
MSFS, along with dummies for the radio-nav gauges.

Internally, substantially reworked the code so that the individual gauges
can be table- (and eventually, file-) driven.
2000-02-21 22:00:24 +00:00
curt
cb4164c5e1 Added an #include <glut.h> to pick up the FLT_MAX definition. 2000-02-21 18:05:42 +00:00
curt
b98a3093c6 It makes things easier to have this file already seeded after a cvs co. 2000-02-21 18:05:04 +00:00
curt
ac9491e386 Converted ssgVTable's to ssgVtxTable's which manage their own memory and
will hopefully be a step towards using compiled vertex arrays.
2000-02-20 05:19:15 +00:00
curt
becffdbce9 A blind attempt to fix the errno problem for the cygwin people. 2000-02-20 04:08:12 +00:00
curt
cc26bb7fe7 Removed all dependencies on <simgear/math/mat3.h> and friends. These are
old routines from SRGP.  Steve's plib/sg.h does a nice job of completely
replacing this (and since plib is already around) and is a nice clean design
so it just makes sense.
2000-02-19 14:29:27 +00:00
curt
b23d8f9938 A few remaining reorg changes. 2000-02-17 23:34:30 +00:00
curt
1294aed465 One more pass at a reorg. 2000-02-16 23:01:03 +00:00
curt
274bdfd1eb More reorganization. 2000-02-15 20:46:04 +00:00
curt
ee4433c312 Moved here at least for now. 2000-02-15 17:13:45 +00:00
curt
afdda1c821 Added. 2000-02-15 06:12:40 +00:00
curt
485230b443 Code reorganization. 2000-02-15 03:30:01 +00:00
curt
7f9c6d72ab Added a load/save state function contributed by David Megginson. 2000-02-11 22:27:23 +00:00
curt
9a207fb4e1 MacOS fixes contributed by Darrell Walisser on 1/26/2000. 2000-02-10 23:37:56 +00:00
curt
de21d794a7 Minor code shuffling. 2000-02-10 23:36:44 +00:00
curt
095c069b39 Updated for plib-1.1.x 2000-02-04 22:50:04 +00:00
curt
d70120752c Read all pending messages. 2000-01-21 18:02:19 +00:00
curt
fa16790a9b Fixed a comment typo. 2000-01-21 18:01:57 +00:00
curt
85ac481272 17 Jan 2000 updates from Vader@t-online.de (Christian Mayer) 2000-01-18 18:32:35 +00:00
curt
e61785f83b 2000 17 Jan updates from "Oliver Delise" <delise@mail.isis.de> 2000-01-18 18:28:51 +00:00
curt
e7c6f292a5 The aircraft model used for external views was being included in the height
above terrain check so when the view position and the aircraft model collided
the current altitude kept getting pushed up to compensate, but of course the
aircraft model would get pushed up as well because it tracks the current
aircraft position and orientation.  Thus you had a never ending cycle ...
2000-01-13 20:12:16 +00:00
curt
b89675ceb8 One final rearrangement tweak. 2000-01-13 17:32:30 +00:00
curt
a056d93a99 13 Dec 2000 updates from Oliver. 2000-01-13 17:27:32 +00:00
curt
3ae06c157e A couple tweaks. 2000-01-12 18:40:04 +00:00
curt
fc008f9a34 Added new GUI changes for Oliver's Network code.
Moved Oliver's network stuff to his own subdir: NetworkOLK.
2000-01-12 18:09:54 +00:00
curt
fd48bdb9f2 Moved Oliver's network stuff to his own subdir: NetworkOLK. 2000-01-12 18:09:35 +00:00
curt
a93e97c438 Moved to NetworkOLK and updated. 2000-01-12 17:53:10 +00:00
curt
c665ace281 Moved Oliver's multi-pilot network code to NetworkOLK/ 2000-01-12 17:30:20 +00:00
curt
0e1c43e8e5 Jan 11, 2000 changes from Jon. 2000-01-11 17:26:43 +00:00
curt
6e14da1e16 Corrected a comment. 2000-01-10 21:07:52 +00:00
curt
58e1bc7698 Updates to propogate V_calibrated_kts and Mach from all FDM codes. 2000-01-10 21:07:26 +00:00
curt
c722481805 Updates from Jon and Tony. 2000-01-10 21:07:00 +00:00
curt
eedbfddbf1 Added Mach Number to hud.
Change reported speed on hud from V_equiv_kts to V_calibrated_kts.
2000-01-10 21:06:39 +00:00
curt
226b8a8971 Here is a wrap-up of the latest changes to JSBSim. It still is flaky, but
much less so due to returning the aero reference point stuff to the config
files. Don't know what happened there ...

Additionally, I have added a new field to the config file: CFG_VERSION. A
version number, currently 1.1, is assigned to the config file and a matching
definition is found in FGDefs.h. The two need to match. Tony has also added
code into FGAircraft.cpp to handle if aero reference point is not specified.
1999-12-30 18:01:59 +00:00
curt
871e4e8319 Updates to help work the kinks out of JSBsim. 1999-12-30 17:42:24 +00:00
curt
817279c7a8 Removed libVoronoi.a
Added Ctrl-U key binding to force an instant altitude gain of 1000'.
1999-12-23 19:38:40 +00:00
curt
7da417530f Panel code reorganization contributed by David Megginson:
I've reorganized the code in panel.cxx and panel.hxx so that it will
be a little easier to extend the panel later if someone wants to.
It's still basically Friedemann's code at the core, but I've
repackaged it into a saner class hierarchy and encapsulated as much as
I could (there are still a couple of circular dependencies that need
swatting).  If someone wants to modify it to use SSG or to add new
gauges, it should be a lot easier now.

There are no user-visible changes.
1999-12-23 17:37:18 +00:00
curt
46b65bcab2 Fixed abs() vs. fabs() typo. 1999-12-23 17:35:10 +00:00
curt
4c0f52af83 21.12.1999 Christian Mayer: Added a fix for compatibility to gcc 2.8 which
suggested by Oliver Delise.
1999-12-23 17:17:48 +00:00
curt
210e87ec3a The WeatherDatabase doesn't need the voronoi code anymore but uses
Dave Eberly's spherical interpolation code (found in the Lib/Math
directory). So it would be great if you could give him also a place
in the thanks file.  Changing the WeatherDatabse made actually a heavy
internal redesign necessary but no code outside the database is
affected (isn't code hiding great?).
1999-12-23 16:54:54 +00:00
curt
1963e006c3 Removed for this version of weather code. 1999-12-23 16:49:30 +00:00
curt
5c487a7803 Allow JSBsim aircraft model file to be specified from the command line. 1999-12-20 20:26:18 +00:00
curt
3cca59bf1f Allow aircraft model file to be specified from the command line. 1999-12-20 20:25:58 +00:00
curt
9892d4f03e Initial revisions. 1999-12-20 20:25:13 +00:00
curt
c319dac02a Updates from the Jon and Tony show. 1999-12-20 20:24:49 +00:00
curt
797fb48d03 Playing around with altitude hold settings. 1999-12-13 21:44:21 +00:00
curt
5d302f0f2a Y2K output tweak. 1999-12-13 21:43:53 +00:00
curt
a872c40389 Updates from Tony. 1999-12-13 21:43:41 +00:00
curt
e340190916 Updates from Tony. 1999-12-08 19:48:54 +00:00
curt
bc8bbb823f Testing display lists in ssg. 1999-11-24 14:15:10 +00:00
curt
d7d9403509 Cosmetic change. 1999-11-24 14:15:00 +00:00
curt
ba60c0effd Added an FGIOChannel::writestring().
Some cygwin32 portability fixes for fg_socket.cxx.
1999-11-24 14:14:45 +00:00
curt
796aa8b352 Removed some testing cruft related to a dumb attempt to disable the nagle
algorithm.
1999-11-23 13:27:08 +00:00
curt
cd5ab3222a Added FGFS "Native" I/O protocol. 1999-11-23 05:51:14 +00:00
curt
8c70ec7026 Initial revision of FGFS "Native" I/O protocal. 1999-11-23 05:47:16 +00:00
curt
99e9eb0833 Fixed the bug that was causing overbuffering of socket traffic and lending
to big delays between the master and the slave.
1999-11-23 03:19:09 +00:00
curt
8c789b1e61 Tweak with readline() return value. 1999-11-22 18:08:14 +00:00
curt
57163baca0 Added first stab at a socket class.
Fixed readline() bug in fg_serial.cxx and fg_socket.cxx.
Fixed process() bug in nmea.cxx and garmin.cxx.
1999-11-20 15:41:48 +00:00
curt
ed98ee8a31 Tweaked a comment line. 1999-11-20 15:40:15 +00:00
curt
60ac2b36e0 Do a better job of disabling all sound related stuff if --disable-sound is
specified.
1999-11-20 15:39:53 +00:00
curt
65e9aba6dc Added support for parsing socket options. 1999-11-20 15:39:20 +00:00
curt
4f294285fe Added a readline(buf) vs. read(buf,len) 1999-11-20 00:28:30 +00:00
curt
24caa82715 Cleaning out old code ... 1999-11-19 23:19:51 +00:00
curt
1f66606440 Added two new output formats, PVE and RUL. 1999-11-19 03:03:11 +00:00
curt
2c7625351a Added PVE (ProVision Entertainment) and RUL (some guy's motion platform)
formats.
1999-11-19 03:02:49 +00:00
curt
5fdede6f75 Revamped the "External" flight model. 1999-11-19 02:12:46 +00:00
curt
1fd9270267 Revamping I/O system. 1999-11-19 02:10:24 +00:00
curt
5bcd8c700b Updates from Tony, mostly to landing gear. 1999-11-15 23:54:07 +00:00
curt
40a1a07730 Added js_demo.cxx from plib source tree. 1999-11-10 20:50:58 +00:00
curt
021ee36a78 Tweaks to get rid of compiler warnings. 1999-11-09 19:51:07 +00:00
curt
212bf4a549 Cygwin32 build tweaks. 1999-11-09 18:22:55 +00:00
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