]> git.mxchange.org Git - flightgear.git/log
flightgear.git
22 years agoTone down the relative intensity of the taxiway lights.
curt [Tue, 22 Oct 2002 04:12:33 +0000 (04:12 +0000)]
Tone down the relative intensity of the taxiway lights.

22 years agoAdded support for taxiway lights that are much more visible from the size
curt [Tue, 22 Oct 2002 03:57:32 +0000 (03:57 +0000)]
Added support for taxiway lights that are much more visible from the size
than from above.

22 years agoMake runway lighting LOD work correctly.
curt [Mon, 21 Oct 2002 19:45:21 +0000 (19:45 +0000)]
Make runway lighting LOD work correctly.

22 years agoMisc clean ups.
curt [Mon, 21 Oct 2002 16:26:48 +0000 (16:26 +0000)]
Misc clean ups.

22 years agoPreallocate proper ssg list sizes when building list structures so plib
curt [Mon, 21 Oct 2002 16:26:34 +0000 (16:26 +0000)]
Preallocate proper ssg list sizes when building list structures so plib
doesn't need to waste time extending it's list sizes.

22 years agoFix a bug with rabbit light creation.
curt [Mon, 21 Oct 2002 16:09:11 +0000 (16:09 +0000)]
Fix a bug with rabbit light creation.

22 years agoMinor tweak to avoid some compile errors people are seeing with the
curt [Mon, 21 Oct 2002 03:22:27 +0000 (03:22 +0000)]
Minor tweak to avoid some compile errors people are seeing with the
glPointParameterExt.

22 years agoPut cout and endl in std:: namespace.
david [Sat, 19 Oct 2002 10:27:52 +0000 (10:27 +0000)]
Put cout and endl in std:: namespace.

22 years agoAdd a pre/post draw call back to strobe lights so we can make them bigger
curt [Fri, 18 Oct 2002 18:43:50 +0000 (18:43 +0000)]
Add a pre/post draw call back to strobe lights so we can make them bigger
so they will stand out from everything else.

22 years agoThere are some problems with ssgTimedSelector's but shorter strings of
curt [Fri, 18 Oct 2002 03:36:56 +0000 (03:36 +0000)]
There are some problems with ssgTimedSelector's but shorter strings of
rabbit lights appear to almost work except the last light or two is never
included in the animation and longer strings of lights are drawn as all
light on ... :-(

22 years agoSome restructuring to optimize the light point portion of the scene graph.
curt [Thu, 17 Oct 2002 23:17:16 +0000 (23:17 +0000)]
Some restructuring to optimize the light point portion of the scene graph.
There's no point in having a separate leaf for each light.

22 years agoFix a bug in ground elevation measuring for the first frame after we cross
curt [Thu, 17 Oct 2002 15:54:31 +0000 (15:54 +0000)]
Fix a bug in ground elevation measuring for the first frame after we cross
a tile boundary.  (Potentially imposes a slight performance penalty, but
getting the correct answer needs to be higher priority than getting the
wrong answer really quickly.)

22 years agoSupport green directional lights.
curt [Thu, 17 Oct 2002 15:52:32 +0000 (15:52 +0000)]
Support green directional lights.

22 years agoPlaying with glPointParameterfEXT.
curt [Thu, 17 Oct 2002 04:34:32 +0000 (04:34 +0000)]
Playing with glPointParameterfEXT.

22 years agoCleaned some cruft.
curt [Thu, 17 Oct 2002 03:11:10 +0000 (03:11 +0000)]
Cleaned some cruft.

22 years agoAdd support for generating REIL approach light animations.
curt [Thu, 17 Oct 2002 03:08:46 +0000 (03:08 +0000)]
Add support for generating REIL approach light animations.

22 years agoAdd support for additional runway light colors and intensities.
curt [Wed, 16 Oct 2002 22:39:08 +0000 (22:39 +0000)]
Add support for additional runway light colors and intensities.

22 years agoFixed so that ASI will indicate correctly (or at least, more
david [Wed, 16 Oct 2002 22:09:26 +0000 (22:09 +0000)]
Fixed so that ASI will indicate correctly (or at least, more
correctly) in winds.

22 years agoAdd support for wind speed/direction and freezes.
curt [Wed, 16 Oct 2002 03:46:24 +0000 (03:46 +0000)]
Add support for wind speed/direction and freezes.

22 years agoThrottle was being scaled with mixture config values.
curt [Wed, 16 Oct 2002 03:46:05 +0000 (03:46 +0000)]
Throttle was being scaled with mixture config values.
Cleaned up some old cruft.

22 years agoPlaying with point lighting effects.
curt [Wed, 16 Oct 2002 03:44:44 +0000 (03:44 +0000)]
Playing with point lighting effects.

22 years agoCleaned up some old cruft.
curt [Wed, 16 Oct 2002 03:44:19 +0000 (03:44 +0000)]
Cleaned up some old cruft.

22 years agoAdded support for passing wind speed/direction.
curt [Wed, 16 Oct 2002 03:43:52 +0000 (03:43 +0000)]
Added support for passing wind speed/direction.
Added support for passing various freeze commands to fdm.
Initial support for in-air starts.

22 years agoNorman Vine:
curt [Wed, 16 Oct 2002 02:06:42 +0000 (02:06 +0000)]
Norman Vine:

Updates to the autopilot to allow it to run off of 'non-cooked' altitude
and heading values (as a compile time option.)

22 years agoFix an init order bug and do some minor cleanups.
curt [Wed, 16 Oct 2002 02:02:39 +0000 (02:02 +0000)]
Fix an init order bug and do some minor cleanups.

22 years agoUse default visibility instead of modified sky visibility when 2D
david [Sun, 13 Oct 2002 10:46:37 +0000 (10:46 +0000)]
Use default visibility instead of modified sky visibility when 2D
clouds are disabled.

22 years agoPatch from Frederic Bouvier:
david [Sun, 13 Oct 2002 10:43:57 +0000 (10:43 +0000)]
Patch from Frederic Bouvier:

I noticed that textures for scenery static objects are not loaded
anymore for a few weeks.  Static objects have absolute path while
random objects and aircraft have relative path but fgLoad3DModel
unconditionally prepend fg_root to the model path. This patch test the
beginning of the model path to choose if fg_root has to be prepended
to the model path.

22 years agoFixed init-order bug that caused c172-set.xml defaults always to be
david [Thu, 10 Oct 2002 18:39:52 +0000 (18:39 +0000)]
Fixed init-order bug that caused c172-set.xml defaults always to be
used unless explicitly overwritten.  Now, the options are parsed
twice, and only the *-set.xml file for the *last* aircraft specified
is loaded.

22 years agoPatch from Alex Perry:
david [Thu, 10 Oct 2002 18:15:22 +0000 (18:15 +0000)]
Patch from Alex Perry:

Ok, I found the problem.  You're computing the dynamic pressure in
"psf" and adding it to the static pressure in "inHg" to form the
total pressure.  The attached patch is the simple fix to the source.

With that fix, failing the pitot while in cruise at 3k' will cause
the airspeed to indicate beyond redline during climb ... well before 4k'.
Thus, a pitot problem can be detected on any IFR altitude change.

Similarly, failing the static (with working pitot) while cruising 4k'
causes the airspeed to indicate beyond redline during a descent
well before reaching 3k' (during which, of course, the ALT looks fine).
Thus, a static failure can be detected before the aircraft breaks out
of the pilot tolerance range and is blatantly conspicuous soon after.

22 years agoEric Hofman:
curt [Thu, 10 Oct 2002 15:02:50 +0000 (15:02 +0000)]
Eric Hofman:

Now the options can be localized as well. This adds a slight problem for
the --language options, but not that much (worst case, the strings are
loaded twice consuming some more memory). I tried to be as accurate as
posiible when copying the options texts, but there might be some
mostakes left.

22 years agoFix a potential crash with William Riley's scenery build.
curt [Wed, 9 Oct 2002 14:29:42 +0000 (14:29 +0000)]
Fix a potential crash with William Riley's scenery build.

22 years agomisc tweaks.
curt [Wed, 9 Oct 2002 14:15:08 +0000 (14:15 +0000)]
misc tweaks.

22 years agoBegin work on improving runway lighting infrastructure.
curt [Wed, 9 Oct 2002 03:40:23 +0000 (03:40 +0000)]
Begin work on improving runway lighting infrastructure.

22 years agoOops, I had my lighting tris wound the wrong way.
curt [Tue, 8 Oct 2002 22:25:41 +0000 (22:25 +0000)]
Oops, I had my lighting tris wound the wrong way.

22 years agoErik Hofman:
curt [Mon, 7 Oct 2002 15:45:00 +0000 (15:45 +0000)]
Erik Hofman:

This adds supports for a language specific font, defined in locale.xml
I've also moved the fgInitLocale() routine from main.cxx to fg_init.cxx
to prevent an ungly extern definition in options.cxx.

22 years agoMisc clean ups.
curt [Sun, 6 Oct 2002 04:27:24 +0000 (04:27 +0000)]
Misc clean ups.

22 years agoBegin work on rendering runway lights using environment maps. The basics
curt [Sun, 6 Oct 2002 03:53:19 +0000 (03:53 +0000)]
Begin work on rendering runway lights using environment maps.  The basics
are now working.  A runway light is defined by a point and a direction.  The
point and direction are combined with the local up vector to create a small
triangle orthogonal to the direction.  The two ficticous corners of the
triangle are given an alpha value of zero, the orignal corner is given an
alpha of one.  The triangle is drawn in glPolygonMode(GL_FRONT, GL_POINT)
mode which means only the corner points are drawn, and since two have alpha=0
only the original point is drawn.  This is a long way to go to draw a point,
but it ensures that the point is only visible within 90 degrees of the light
direction, behind the light it is not visible.  This is still a long way
to get to drawing a point, but we use an environement map, with the direction
vector as the normal to mimic a light that is brightest when viewed head
on and dimmest when viewed perpendicularly or disappears when viewed from
behind.

- warning, there is a bug in how the current runway light direction vector
  is calculated which will adversely effect runway lighting.  The airports
  should be regenerated in order to fix this problem.

22 years agoFrederic Bouvier:
curt [Fri, 4 Oct 2002 20:57:18 +0000 (20:57 +0000)]
Frederic Bouvier:
The FGGlobals constructor does not initialise the locale pointer.
Under MSVC, uninitialized pointer have a value of 0xcdcdcdcd, not
0, so a test in mainLoop fails and the program segfault.

This patch set un initial value to locale.

22 years agoErik Hofman:
curt [Fri, 4 Oct 2002 15:19:07 +0000 (15:19 +0000)]
Erik Hofman:

This patch fixes some bugs for correctly reporting un-updated
configuration files, and adds support for a --language=<code>
commandline option, overriding the language specified by the OS.

22 years agoEliminated current_input and added FGInput to the subsystems managed
david [Fri, 4 Oct 2002 13:20:53 +0000 (13:20 +0000)]
Eliminated current_input and added FGInput to the subsystems managed
by FGSubsystemMgr.

22 years agoDecrease the error (slightly) from a power glide.
david [Fri, 4 Oct 2002 01:04:20 +0000 (01:04 +0000)]
Decrease the error (slightly) from a power glide.

22 years agoTurn the runway lights on during the day when visibility is less than
david [Fri, 4 Oct 2002 00:23:40 +0000 (00:23 +0000)]
Turn the runway lights on during the day when visibility is less than
5000m (about 3SM).

22 years agoHave update check that sound is enabled.
david [Thu, 3 Oct 2002 21:21:44 +0000 (21:21 +0000)]
Have update check that sound is enabled.

22 years agoFirst draft of subsystem manager; moved some subsystems into it.
david [Thu, 3 Oct 2002 21:20:56 +0000 (21:20 +0000)]
First draft of subsystem manager; moved some subsystems into it.

22 years agoIgnore generated files.
david [Thu, 3 Oct 2002 16:59:32 +0000 (16:59 +0000)]
Ignore generated files.

22 years agoBetter internationalization infrastructure. We now supports the "LANG"
curt [Thu, 3 Oct 2002 14:39:37 +0000 (14:39 +0000)]
Better internationalization infrastructure.  We now supports the "LANG"
environment variable.

22 years agoInit 3d clouds at starting location.
curt [Thu, 3 Oct 2002 03:19:35 +0000 (03:19 +0000)]
Init 3d clouds at starting location.

22 years agoPreliminary support for AI planes from Dave Luff. This works only at
david [Wed, 2 Oct 2002 15:27:49 +0000 (15:27 +0000)]
Preliminary support for AI planes from Dave Luff.  This works only at
KEMT (w120n30 scenery), and you will have to set the property
/sim/ai-traffic/enabled to 'true' to see the other plane (and tune
comm1 to 121.2 to hear the other plane's radio calls).

22 years agoSupport Dave Luff's AI plane if /sim/ai-traffic/enabled is set to
david [Wed, 2 Oct 2002 15:25:58 +0000 (15:25 +0000)]
Support Dave Luff's AI plane if /sim/ai-traffic/enabled is set to
true.

22 years agoRemoved print statements accidentally committed.
david [Tue, 1 Oct 2002 23:35:33 +0000 (23:35 +0000)]
Removed print statements accidentally committed.

22 years agoCorrected so that deflections are reversed on ILS backcourse.
david [Tue, 1 Oct 2002 23:28:17 +0000 (23:28 +0000)]
Corrected so that deflections are reversed on ILS backcourse.

22 years agoGet rid of some debugging output.
curt [Tue, 1 Oct 2002 18:39:49 +0000 (18:39 +0000)]
Get rid of some debugging output.

22 years agoRead menu titles indirectly from specified property names so we can support
curt [Tue, 1 Oct 2002 18:38:34 +0000 (18:38 +0000)]
Read menu titles indirectly from specified property names so we can support
translations.

22 years agoAllow for a user specified timeout when waiting for a response from the
curt [Tue, 1 Oct 2002 16:44:38 +0000 (16:44 +0000)]
Allow for a user specified timeout when waiting for a response from the
remote fdm command server (http server.)

22 years agoPass data needed to make David's new ASI model work correctly.
curt [Tue, 1 Oct 2002 15:26:15 +0000 (15:26 +0000)]
Pass data needed to make David's new ASI model work correctly.

22 years agoErik Hofman:
curt [Mon, 30 Sep 2002 18:45:09 +0000 (18:45 +0000)]
Erik Hofman:

This is a small patch which resets the delay counter if the sound
doesn't need to be stopped. Also the code is reorganiozed a bit to fix
sume "bugs".

22 years agoPut gyro spin into a property so that it can be restored after a save.
david [Sun, 29 Sep 2002 18:26:24 +0000 (18:26 +0000)]
Put gyro spin into a property so that it can be restored after a save.

22 years agoInclude gravity in pilot accel calc when Vt < 1
tony [Sun, 29 Sep 2002 14:13:39 +0000 (14:13 +0000)]
Include gravity in pilot accel calc when Vt < 1

22 years agoLatest JSBSim updates -- includes fix for control surface animations.
tony [Sun, 29 Sep 2002 13:33:53 +0000 (13:33 +0000)]
Latest JSBSim updates -- includes fix for control surface animations.

22 years agoRemoved delete of dangling pointer -- fixes seg fault on reset
tony [Sat, 28 Sep 2002 22:48:21 +0000 (22:48 +0000)]
Removed delete of dangling pointer -- fixes seg fault on reset

22 years agoRenamed raw_ctrls.hxx -> net_ctrls.hxx which makes more sense and matches
curt [Sat, 28 Sep 2002 22:10:49 +0000 (22:10 +0000)]
Renamed raw_ctrls.hxx -> net_ctrls.hxx which makes more sense and matches
net_fdm.hxx.

22 years agoShuffled location of ExternalNet.[ch]xx to it's own subdir.
curt [Sat, 28 Sep 2002 21:42:03 +0000 (21:42 +0000)]
Shuffled location of ExternalNet.[ch]xx to it's own subdir.
Removed External.[ch]xx which is a duplicate of NullFDM.[ch]xx
--fdm=external is preserved but just maps to NullFDM.

22 years agoMoved the ExternalNet code to it's own subdirectory. The plan is also
curt [Sat, 28 Sep 2002 21:38:51 +0000 (21:38 +0000)]
Moved the ExternalNet code to it's own subdirectory.  The plan is also
place standalone FDM wrappers here as well so we can build FDM specific
executables that interface with FG via the ExternalNet interface.

22 years agoAdded pitot system and new airspeed indicator.
david [Sat, 28 Sep 2002 20:48:53 +0000 (20:48 +0000)]
Added pitot system and new airspeed indicator.

22 years agoMy understanding of plib's net libs has expanded slightly. A couple of
curt [Sat, 28 Sep 2002 17:37:44 +0000 (17:37 +0000)]
My understanding of plib's net libs has expanded slightly.  A couple of
small mods here reflect that and allow the external network connection
to play better when other net connections (i.e. telnet) are activated.

22 years agoFixed $FGROOT -> $FG_ROOT
curt [Sat, 28 Sep 2002 15:57:55 +0000 (15:57 +0000)]
Fixed $FGROOT -> $FG_ROOT

22 years agoErik Hofman:
curt [Sat, 28 Sep 2002 12:16:37 +0000 (12:16 +0000)]
Erik Hofman:

For sounds that play while a value is in transit, use time rather than
the number of frames to judge when to halt the sound because it will be much
more reliable on high performance systems. It currently waits 10 ms.
before stopping the sound, but you might want to fiddle it a little by
changing MAX_TRANSIT_TIME defined int fg_sound.hxx

22 years agoMinor formating tweaks.
curt [Sat, 28 Sep 2002 04:01:34 +0000 (04:01 +0000)]
Minor formating tweaks.

22 years agoRemoved some extraneous spaces that crept in some how.
curt [Sat, 28 Sep 2002 04:01:20 +0000 (04:01 +0000)]
Removed some extraneous spaces that crept in some how.

22 years agoPass ground elevation at aircraft position to external FDM, not ground
curt [Sat, 28 Sep 2002 04:00:55 +0000 (04:00 +0000)]
Pass ground elevation at aircraft position to external FDM, not ground
elevation at view point.

22 years agoPanel night lighting acts as if lights are always turned on. We don't
curt [Sat, 28 Sep 2002 03:57:37 +0000 (03:57 +0000)]
Panel night lighting acts as if lights are always turned on.  We don't
really see anything different in the day, but as day turns to night the
panel smoothly darkens and the lighting component becomes visible.
Lights are wired to electrical system so if you kill power, you lose the
lights.

22 years agoModified to use fgGetLowPass from utils.cxx.
david [Fri, 27 Sep 2002 22:04:21 +0000 (22:04 +0000)]
Modified to use fgGetLowPass from utils.cxx.

22 years agoAdded a heading-indicator connected to the vacuum pump and a
david [Fri, 27 Sep 2002 22:03:48 +0000 (22:03 +0000)]
Added a heading-indicator connected to the vacuum pump and a
vertical-speed indicator connected to the static port.

22 years agoWhen the clock is frozen, set delta time to 0 so that the subsystems
david [Fri, 27 Sep 2002 22:02:48 +0000 (22:02 +0000)]
When the clock is frozen, set delta time to 0 so that the subsystems
won't keep updating themselves; that effectively freezes the
instrumentation.

22 years agoAdd utils.[ch]xx.
david [Fri, 27 Sep 2002 22:02:09 +0000 (22:02 +0000)]
Add utils.[ch]xx.

22 years agoGlobally-useful functions, starting with Alex Perry's low-pass
david [Fri, 27 Sep 2002 22:01:33 +0000 (22:01 +0000)]
Globally-useful functions, starting with Alex Perry's low-pass
function from steam.cxx.

22 years agoPass stall warning info in net_fdm.hxx
curt [Fri, 27 Sep 2002 21:20:28 +0000 (21:20 +0000)]
Pass stall warning info in net_fdm.hxx

22 years agoAdded static port system and a new altimeter model connected to it.
david [Fri, 27 Sep 2002 18:27:58 +0000 (18:27 +0000)]
Added static port system and a new altimeter model connected to it.
The static port uses the

  /systems/static/

property subtree, and the altimeter uses the

  /instrumentation/altimeter/

property subtree.

22 years agoMixture is on channel 6.
curt [Fri, 27 Sep 2002 02:33:32 +0000 (02:33 +0000)]
Mixture is on channel 6.

22 years agoPass velocities in local body axis.
curt [Fri, 27 Sep 2002 01:20:20 +0000 (01:20 +0000)]
Pass velocities in local body axis.

22 years agoInterface the adf and transponder to the electrical system.
curt [Thu, 26 Sep 2002 17:26:34 +0000 (17:26 +0000)]
Interface the adf and transponder to the electrical system.

22 years agoCode clean ups.
curt [Thu, 26 Sep 2002 17:25:19 +0000 (17:25 +0000)]
Code clean ups.

22 years agoConnect to the electrical system.
curt [Thu, 26 Sep 2002 17:24:11 +0000 (17:24 +0000)]
Connect to the electrical system.

22 years agoMore code shuffling.
curt [Thu, 26 Sep 2002 16:19:06 +0000 (16:19 +0000)]
More code shuffling.

22 years agoShuffling/reorganizing code.
curt [Thu, 26 Sep 2002 15:34:00 +0000 (15:34 +0000)]
Shuffling/reorganizing code.

22 years agoWork on wiring the dme into the electrical model.
curt [Thu, 26 Sep 2002 14:13:42 +0000 (14:13 +0000)]
Work on wiring the dme into the electrical model.

22 years agoEach node in the electrical system graph can now publish to an arbitrary
curt [Thu, 26 Sep 2002 04:51:23 +0000 (04:51 +0000)]
Each node in the electrical system graph can now publish to an arbitrary
number of properties which will reflect that node's state.

22 years agoFor flaps power, fuel pump, and starter, send power state rather than switch
curt [Thu, 26 Sep 2002 04:49:31 +0000 (04:49 +0000)]
For flaps power, fuel pump, and starter, send power state rather than switch
state.

22 years agoBegin interfacing the navcom's to the electrical model.
curt [Thu, 26 Sep 2002 04:47:29 +0000 (04:47 +0000)]
Begin interfacing the navcom's to the electrical model.

22 years agoBegin interfacing with the electrical model.
curt [Thu, 26 Sep 2002 04:45:45 +0000 (04:45 +0000)]
Begin interfacing with the electrical model.

22 years agoRead and publish states of master switches (bat, alt, avionics.)
curt [Wed, 25 Sep 2002 22:09:38 +0000 (22:09 +0000)]
Read and publish states of master switches (bat, alt, avionics.)
Read and publish states of toggle switches and circuit breakers.

22 years agoInterchange state of fuel_pump (switches) and master switches (bat, alt,
curt [Wed, 25 Sep 2002 22:08:43 +0000 (22:08 +0000)]
Interchange state of fuel_pump (switches) and master switches (bat, alt,
and avionics.)

22 years agoChange path name of electrical system config file.
curt [Wed, 25 Sep 2002 22:07:28 +0000 (22:07 +0000)]
Change path name of electrical system config file.

22 years agoAdded fuel_pump switch, and master switches (bat, alt, avionics)
curt [Wed, 25 Sep 2002 22:06:38 +0000 (22:06 +0000)]
Added fuel_pump switch, and master switches (bat, alt, avionics)

22 years agoAdded a per-engine fuel pump switch.
curt [Wed, 25 Sep 2002 22:05:49 +0000 (22:05 +0000)]
Added a per-engine fuel pump switch.

22 years agoFixed a compiler warning.
curt [Wed, 25 Sep 2002 22:05:14 +0000 (22:05 +0000)]
Fixed a compiler warning.

22 years agoRemove 'cout'
curt [Wed, 25 Sep 2002 12:38:09 +0000 (12:38 +0000)]
Remove 'cout'

22 years agoFixes for flaps, gear, and reset. The c310 takeoff rotation problem seems to be...
tony [Wed, 25 Sep 2002 11:04:20 +0000 (11:04 +0000)]
Fixes for flaps, gear, and reset.  The c310 takeoff rotation problem seems to be fixed as well, though I don't understand why.

22 years agoUpdates to the electrical system model. "Juice" is now propogated through
curt [Tue, 24 Sep 2002 23:45:56 +0000 (23:45 +0000)]
Updates to the electrical system model.  "Juice" is now propogated through
the system, switches, fuses, circuit-breakers work.  Nothing is actually
wired into the electical system yet.

22 years agoCheck point commit:
curt [Tue, 24 Sep 2002 19:57:11 +0000 (19:57 +0000)]
Check point commit:

The code reads the electrical system config and contructs an internal model.
Nothing is done beyond that yet ... the electrical system is not updated,
nor is it connected to the property system in anyway.