]> git.mxchange.org Git - flightgear.git/log
flightgear.git
21 years agoMisc clean ups.
curt [Sun, 6 Oct 2002 04:27:24 +0000 (04:27 +0000)]
Misc clean ups.

21 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.

21 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.

21 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.

21 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.

21 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.

21 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).

21 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.

21 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.

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

21 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.

21 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.

21 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).

21 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.

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

21 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.

21 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.

21 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.

21 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.)

21 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.

21 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".

21 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.

21 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

21 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.

21 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

21 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.

21 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.

21 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.

21 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.

21 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.

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

21 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

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

21 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.

21 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.

21 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.

21 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.

21 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.

21 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.

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

21 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.

21 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

21 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.

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

21 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.

21 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.

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

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

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

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

21 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.

21 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.

21 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.

21 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.

21 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.

21 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.

21 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.)

21 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.

21 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)

21 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.

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

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

21 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.

21 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.

21 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.

21 years agoIntroduce a simplistic spin-down when insufficient suction is
david [Tue, 24 Sep 2002 16:37:28 +0000 (16:37 +0000)]
Introduce a simplistic spin-down when insufficient suction is
available.

21 years agoStub in a place holder for the electrical system model.
curt [Tue, 24 Sep 2002 15:24:04 +0000 (15:24 +0000)]
Stub in a place holder for the electrical system model.

21 years agoIgnore generated files.
david [Tue, 24 Sep 2002 14:55:14 +0000 (14:55 +0000)]
Ignore generated files.

21 years agoFlattened src/Systems/ subtree.
david [Tue, 24 Sep 2002 14:51:37 +0000 (14:51 +0000)]
Flattened src/Systems/ subtree.

Added src/Instrumentation/ with partial stab at a vacuum-driven
attitude indicator.

21 years agoResolve the file name conflict for windows. We need someone to update
curt [Tue, 24 Sep 2002 13:35:42 +0000 (13:35 +0000)]
Resolve the file name conflict for windows.  We need someone to update
the README.MSVC file soon.

21 years agoForgot to update header.
david [Tue, 24 Sep 2002 13:11:27 +0000 (13:11 +0000)]
Forgot to update header.

Added .cvsignore.

21 years agoSmall tweaks for improved compiling.
curt [Tue, 24 Sep 2002 13:07:30 +0000 (13:07 +0000)]
Small tweaks for improved compiling.

21 years agoJSBSim updates. This update changes the file format, so an update of the base
tony [Tue, 24 Sep 2002 12:54:43 +0000 (12:54 +0000)]
JSBSim updates.  This update changes the file format, so an update of the base
package is required.

21 years agoAdd a bit more wording to the metakit version check to point out that it
curt [Tue, 24 Sep 2002 02:55:54 +0000 (02:55 +0000)]
Add a bit more wording to the metakit version check to point out that it
can fail if libmk4.so isn't in the link path.

21 years agoMore tweaks to opengl state management when drawing 3d clouds.
curt [Mon, 23 Sep 2002 22:05:36 +0000 (22:05 +0000)]
More tweaks to opengl state management when drawing 3d clouds.

21 years agoStarted new module and sub-modules for aircraft systems, including an
david [Mon, 23 Sep 2002 19:55:10 +0000 (19:55 +0000)]
Started new module and sub-modules for aircraft systems, including an
initial simplistic vacuum system that's not yet connected to anything.

21 years agoRemoved some depricated code snippets.
curt [Mon, 23 Sep 2002 18:52:21 +0000 (18:52 +0000)]
Removed some depricated code snippets.

21 years agoRemoved some left over debugging output.
curt [Mon, 23 Sep 2002 18:49:12 +0000 (18:49 +0000)]
Removed some left over debugging output.

21 years agoVarious tweaks and fixes to navcom radios.
curt [Mon, 23 Sep 2002 18:44:09 +0000 (18:44 +0000)]
Various tweaks and fixes to navcom radios.
Oops, taking the address of a temporary in main.cxx: 3dcloud rendering.

21 years agoRemoved tabs.
david [Mon, 23 Sep 2002 15:27:46 +0000 (15:27 +0000)]
Removed tabs.

21 years agoBernie Bright:
curt [Mon, 23 Sep 2002 14:23:17 +0000 (14:23 +0000)]
Bernie Bright:

fgLoad3DModel() throws an exception if it fails to load the requested model.
This causes FGTileMgr::update(...) to exit.  So I've added a try/catch block
to catch the exception and display an error message instead.

21 years agoSlightly cleaned up 3d cloud positioning code.
curt [Mon, 23 Sep 2002 13:34:51 +0000 (13:34 +0000)]
Slightly cleaned up 3d cloud positioning code.

21 years agoThere is something wierd about moving the cloud base around, let's just leave
curt [Sun, 22 Sep 2002 23:07:01 +0000 (23:07 +0000)]
There is something wierd about moving the cloud base around, let's just leave
it rooted in place until we sort out the positioning.

21 years agoSimple perl script for calculating a tile path based on lon/lat. Does
david [Sun, 22 Sep 2002 15:52:46 +0000 (15:52 +0000)]
Simple perl script for calculating a tile path based on lon/lat.  Does
not depend on SimGear, but doesn't handle objects right on the poles
either.

21 years agoChanged much inline code to non-inline. The inline code that remains in the header...
tony [Sun, 22 Sep 2002 15:32:45 +0000 (15:32 +0000)]
Changed much inline code to non-inline.  The inline code that remains in the header *must* be there to avoid linker errors.

21 years agoLatest updates, including a thrust-only turbofan model. It should produce
tony [Sun, 22 Sep 2002 15:31:09 +0000 (15:31 +0000)]
Latest updates, including a thrust-only turbofan model.  It should produce
realistic thrust (including time-dependent effects), but does not provide
N1, N2, EPR, etc.

21 years agoAdded OBJECT_SHARED, which is identical to OBJECT_STATIC except that
david [Sun, 22 Sep 2002 11:46:53 +0000 (11:46 +0000)]
Added OBJECT_SHARED, which is identical to OBJECT_STATIC except that
the object is loaded relative to $FG_ROOT rather than to the current
scenery directory.

21 years agoPatch to position 3d clouds at center of <current> tile. This means the clouds
curt [Fri, 20 Sep 2002 15:30:54 +0000 (15:30 +0000)]
Patch to position 3d clouds at center of <current> tile.  This means the clouds
jump whenever you cross a tile, but there are currently a lot of other
positioning problems as well, so this doesn't really detract too much and
means you can play with 3d clouds from just about any starting point.

21 years agoDo 3D cloud state changes only when 3D clouds are selected.
david [Fri, 20 Sep 2002 14:01:06 +0000 (14:01 +0000)]
Do 3D cloud state changes only when 3D clouds are selected.

21 years agoStabalize cloud shading.
curt [Thu, 19 Sep 2002 02:21:23 +0000 (02:21 +0000)]
Stabalize cloud shading.

21 years agoMiscellanious flailings trying to get 3d cloud imposter rendering to work
curt [Thu, 19 Sep 2002 01:27:49 +0000 (01:27 +0000)]
Miscellanious flailings trying to get 3d cloud imposter rendering to work
correctly.

21 years agoCascading changes from the navcom.[ch]xx addition.
curt [Thu, 19 Sep 2002 01:12:26 +0000 (01:12 +0000)]
Cascading changes from the navcom.[ch]xx addition.

21 years agoSplit Nav/Com units out into their own source code file to continue the
curt [Thu, 19 Sep 2002 01:11:07 +0000 (01:11 +0000)]
Split Nav/Com units out into their own source code file to continue the
process of simplifying radiostack.[ch]xx

21 years agoErik Hofman:
curt [Wed, 18 Sep 2002 16:13:08 +0000 (16:13 +0000)]
Erik Hofman:

This patch shows fatal error messages even when ./configure --disable-logging
is specified.

21 years agoUpdated from Norman to hack on clouds ... some progress.
curt [Wed, 18 Sep 2002 14:57:20 +0000 (14:57 +0000)]
Updated from Norman to hack on clouds ... some progress.

21 years agoBernie Bright:
curt [Tue, 17 Sep 2002 16:16:54 +0000 (16:16 +0000)]
Bernie Bright:

Fix a problem compiling Main/fg_io.cxx with MSVC.

21 years agoBernie Bright:
curt [Tue, 17 Sep 2002 16:16:31 +0000 (16:16 +0000)]
Bernie Bright:

Added some missing defines to config.h-msvc6 and updated the version macros.

21 years agoFixed some stupidity.
curt [Tue, 17 Sep 2002 02:36:59 +0000 (02:36 +0000)]
Fixed some stupidity.

21 years agoUpgraded version number.
curt [Tue, 17 Sep 2002 02:36:34 +0000 (02:36 +0000)]
Upgraded version number.

21 years agoUpdates for 3d cloud rendering.
curt [Mon, 16 Sep 2002 14:56:16 +0000 (14:56 +0000)]
Updates for 3d cloud rendering.