]> git.mxchange.org Git - flightgear.git/log
flightgear.git
20 years agoTidy up the code a bit
ehofman [Sun, 21 Dec 2003 13:42:01 +0000 (13:42 +0000)]
Tidy up the code a bit

20 years agoExport a "/sim/crashed" property to indicate a crash.
andy [Fri, 19 Dec 2003 19:02:48 +0000 (19:02 +0000)]
Export a "/sim/crashed" property to indicate a crash.
Yanked some ancient debug code and cleaned up some whitespace while I
was in there.

20 years agoInitial revision.
curt [Fri, 19 Dec 2003 15:36:54 +0000 (15:36 +0000)]
Initial revision.

20 years agoMinor API changes to support the new sg_geodesy implementation. A few
andy [Fri, 19 Dec 2003 02:42:32 +0000 (02:42 +0000)]
Minor API changes to support the new sg_geodesy implementation.  A few
places now use sgCartToGeod() instead of rolling their own
approximation.  And YASim is now using exactly the same 3D coordinate
system as the rest of FlightGear is.

20 years agoWorkaround for code generation bug in gcc-2.95.3
andy [Tue, 16 Dec 2003 05:39:04 +0000 (05:39 +0000)]
Workaround for code generation bug in gcc-2.95.3

20 years agoSTL chnages
ehofman [Thu, 11 Dec 2003 14:50:30 +0000 (14:50 +0000)]
STL chnages

20 years agoFix the nmea and garmin output to a) fake a GSA sentence, b) fix a y2k bug
curt [Tue, 9 Dec 2003 21:05:26 +0000 (21:05 +0000)]
Fix the nmea and garmin output to a) fake a GSA sentence, b) fix a y2k bug
(seriously, my bad), c) fix some issues with the RMC string, d) use proper
line terminators (\r\n), and e) a few other clean ups.

20 years agoMelchior FRANZ:
ehofman [Mon, 8 Dec 2003 18:08:27 +0000 (18:08 +0000)]
Melchior FRANZ:
I think the ufo turns a bit too fast. 25 is better.

20 years agoAdd a new command, "dialog-new", allowing external code (e.g. Nasal
andy [Mon, 8 Dec 2003 02:05:10 +0000 (02:05 +0000)]
Add a new command, "dialog-new", allowing external code (e.g. Nasal
scripts) to create dialogs at runtime.  Augment "dialog-close" to take
a name argument, allowing code other than PUI callbacks to close
dialogs.

The changes to the GUI directory to enable this are actually minor,
basically amounting to using SGPropertyNode_ptr reference counting
(the GUI subsystem no longer "controls" the dialog property trees, so
it can't delete them).

20 years agoMelchior FRANZ:
ehofman [Sun, 7 Dec 2003 17:39:48 +0000 (17:39 +0000)]
Melchior FRANZ:
Everyone knows that ufos can turn on the spot.
Turn on rudder input at low speeds. (Quite useful when using the
ufo fdm for exploring the scenery.)

20 years agoUpdate readme.
curt [Fri, 5 Dec 2003 02:11:51 +0000 (02:11 +0000)]
Update readme.

20 years agoTurn the __timers garbage collector cache into a more generic "gcsave"
andy [Fri, 5 Dec 2003 01:54:39 +0000 (01:54 +0000)]
Turn the __timers garbage collector cache into a more generic "gcsave"
interface, and use it to cache FGNasalScript objects returned from
a new parseScript() method.

Added a rand() function.

Added an interpolate() function interface to the new SGInterpolator
subsystem.

20 years agoInitialize the SGInterpolator subsystem. Also remove some PSL code, since the includ...
andy [Fri, 5 Dec 2003 01:52:34 +0000 (01:52 +0000)]
Initialize the SGInterpolator subsystem.  Also remove some PSL code, since the include file is no longer there

20 years agoChange some terrasync defaults.
curt [Thu, 4 Dec 2003 04:13:43 +0000 (04:13 +0000)]
Change some terrasync defaults.

20 years agoMy refactoring left two values uninitialized when running a
andy [Wed, 3 Dec 2003 21:26:03 +0000 (21:26 +0000)]
My refactoring left two values uninitialized when running a
helicopter.  Melchior caught the bug.

20 years agoRemove the reference to libObject.a since it isn't generated anymore.
ehofman [Tue, 2 Dec 2003 18:47:55 +0000 (18:47 +0000)]
Remove the reference to libObject.a since it isn't generated anymore.

20 years agoComment out the rest of the Makefile to make the compierl happy
ehofman [Tue, 2 Dec 2003 17:57:21 +0000 (17:57 +0000)]
Comment out the rest of the Makefile to make the compierl happy

20 years agoAdd the current true heading to the tuned nav station into the property tree.
curt [Tue, 2 Dec 2003 15:56:56 +0000 (15:56 +0000)]
Add the current true heading to the tuned nav station into the property tree.

20 years agoAdd Nasal Vs. 1.5
ehofman [Mon, 1 Dec 2003 14:35:49 +0000 (14:35 +0000)]
Add Nasal Vs. 1.5

20 years agoCleanup and refactoring to better integrate the helicopter code into
andy [Mon, 1 Dec 2003 01:22:27 +0000 (01:22 +0000)]
Cleanup and refactoring to better integrate the helicopter code into
the core YASim stuff.  Mostly cosmetic: whitespace adjustment, dead
code & meaningless comment removal, a little code motion to better
partition the helicopter handling from the original code (no more
giant if() { ... } around the solver).  Added a warning to the parser
to try to eliminate the string booleans that crept in.

There should be NO behavioral changes with this checkin.

20 years agoUse strndup() replacement code that doesn't cause a segmentation fault.
ehofman [Fri, 28 Nov 2003 20:25:50 +0000 (20:25 +0000)]
Use strndup() replacement code that doesn't cause a segmentation fault.

20 years agoDon't destroy the elements ourselves. Instead clear
ehofman [Fri, 28 Nov 2003 20:16:59 +0000 (20:16 +0000)]
Don't destroy the elements ourselves. Instead clear
() calls the destructor for each element itself.

20 years agoSome small updates
ehofman [Fri, 28 Nov 2003 20:05:32 +0000 (20:05 +0000)]
Some small updates

20 years agoMake room for the terminatig '\0' and prevent a potential buffer overflow.
ehofman [Fri, 28 Nov 2003 17:56:36 +0000 (17:56 +0000)]
Make room for the terminatig '\0' and prevent a potential buffer overflow.

20 years agoAdd David Culp's AI model manager code which is derived from David Luff's AI/ATC...
ehofman [Fri, 28 Nov 2003 15:48:05 +0000 (15:48 +0000)]
Add David Culp's AI model manager code which is derived from David Luff's AI/ATC code.

20 years agoIRIX/MipsPro 7.2 doesn't have strndup. Work around it.
ehofman [Fri, 28 Nov 2003 10:25:33 +0000 (10:25 +0000)]
IRIX/MipsPro 7.2 doesn't have strndup. Work around it.

20 years agoAdd a scrolling list widget for selecting airports.
david [Thu, 27 Nov 2003 23:41:00 +0000 (23:41 +0000)]
Add a scrolling list widget for selecting airports.

20 years agoAllow sequential access to airports.
david [Thu, 27 Nov 2003 23:37:03 +0000 (23:37 +0000)]
Allow sequential access to airports.

20 years agogcc 2.95 and 3.0 requite handleTimer to be public
ehofman [Thu, 27 Nov 2003 14:34:37 +0000 (14:34 +0000)]
gcc 2.95 and 3.0 requite handleTimer to be public

20 years agoAdd a refference to sprintf
ehofman [Thu, 27 Nov 2003 13:44:20 +0000 (13:44 +0000)]
Add a refference to sprintf

20 years agoPartability fix
ehofman [Thu, 27 Nov 2003 10:24:05 +0000 (10:24 +0000)]
Partability fix

20 years agolibnasal.a renamed to libsgnasal.a
curt [Tue, 25 Nov 2003 22:50:17 +0000 (22:50 +0000)]
libnasal.a renamed to libsgnasal.a

20 years agoRemove old PSL support and put our eggs into the Nasal basket.
curt [Tue, 25 Nov 2003 21:16:13 +0000 (21:16 +0000)]
Remove old PSL support and put our eggs into the Nasal basket.

20 years agoAndy Ross:
curt [Tue, 25 Nov 2003 21:08:36 +0000 (21:08 +0000)]
Andy Ross:

A set of changes to impliment Nasal support in FlightGear.  The nasal
interpreter is now part of SimGear.

20 years agoUse SG_LOG for debugging messages from the YASim helicopter model.
david [Tue, 25 Nov 2003 18:50:47 +0000 (18:50 +0000)]
Use SG_LOG for debugging messages from the YASim helicopter model.

20 years agoDon't force logging priority to warn by default.
david [Tue, 25 Nov 2003 17:10:53 +0000 (17:10 +0000)]
Don't force logging priority to warn by default.

20 years agoDeal with null argument for setting log level.
david [Tue, 25 Nov 2003 17:10:36 +0000 (17:10 +0000)]
Deal with null argument for setting log level.

20 years agoThe code to find the highest hit below you didn't work quite right when
curt [Tue, 25 Nov 2003 01:08:39 +0000 (01:08 +0000)]
The code to find the highest hit below you didn't work quite right when
reinitializing at a new location.  This should fix the problem.

20 years agoAdd support for passing alpha/beta values.
curt [Mon, 24 Nov 2003 21:08:44 +0000 (21:08 +0000)]
Add support for passing alpha/beta values.

20 years agoOops -- checked in last version with a small typo.
david [Mon, 24 Nov 2003 18:00:48 +0000 (18:00 +0000)]
Oops -- checked in last version with a small typo.

20 years agoMake more output honour debug_lvl.
david [Mon, 24 Nov 2003 17:59:41 +0000 (17:59 +0000)]
Make more output honour debug_lvl.

20 years agoTry to coordinate between the different logging idioms of JSBSim and
david [Mon, 24 Nov 2003 17:59:10 +0000 (17:59 +0000)]
Try to coordinate between the different logging idioms of JSBSim and
FlightGear: when FlightGear wants things quiet, make JSBSim quiet as
well.

20 years agoRemove the seriously-outdated DCS code (we have different facilities
david [Mon, 24 Nov 2003 17:46:38 +0000 (17:46 +0000)]
Remove the seriously-outdated DCS code (we have different facilities
for including external objects now).

Set the default logging level to 'alert' (i.e. pending disaster).

20 years agoUse proper logging facility, and lower the priority of some of the
david [Mon, 24 Nov 2003 17:45:35 +0000 (17:45 +0000)]
Use proper logging facility, and lower the priority of some of the
logging messages.  This is part of an effort to make FlightGear a bit
quieter during normal operations.

20 years agoChange the timing semantics slightly so that you get much closer to the
curt [Mon, 24 Nov 2003 01:50:48 +0000 (01:50 +0000)]
Change the timing semantics slightly so that you get much closer to the
specified logging rate.  If you specify 10hz you actually get 10 records
per second rather than 7 or 8 or 9 depending on frame rate and luck.

20 years agoAdd a logging reinit command wrapper so that an external script can set
curt [Mon, 24 Nov 2003 01:49:04 +0000 (01:49 +0000)]
Add a logging reinit command wrapper so that an external script can set
up the desired logging configuration and kick off a logging session
remotely.

20 years agoAdd support for passing nose wheel steering angle as a separate value
curt [Mon, 24 Nov 2003 01:47:52 +0000 (01:47 +0000)]
Add support for passing nose wheel steering angle as a separate value
(which could be different from the rudder position.)

20 years agoComment out timing calls, but leave them there for future timing experiments.
curt [Mon, 24 Nov 2003 01:47:09 +0000 (01:47 +0000)]
Comment out timing calls, but leave them there for future timing experiments.

20 years agoMake sure SGTimeStamp is found
ehofman [Sat, 22 Nov 2003 12:03:10 +0000 (12:03 +0000)]
Make sure SGTimeStamp is found

20 years agoCurrently, when the sim pauses, all IO is also halted. To me it generally
curt [Fri, 21 Nov 2003 23:35:25 +0000 (23:35 +0000)]
Currently, when the sim pauses, all IO is also halted.  To me it generally
makes more sense to keep I/O running.  That way remote telnet connections
will still respond, and the sim can still accept and send data.  This also
allows a remote script or gui to pause and (more importantly) be able to
the unpause the sim.

20 years agoTweaks and massages to the ground intersection code. Most of the changes
curt [Fri, 21 Nov 2003 22:00:46 +0000 (22:00 +0000)]
Tweaks and massages to the ground intersection code.  Most of the changes
are cosmetic, but we now have a combination of code that seems to work
very robustly.  I was able to land the yf23 at about 130 kts on the lower
level of the bay bridge and then taxi the entire length.

20 years agoWith this patch, you can fly under bridges, then turn around and land on
curt [Fri, 21 Nov 2003 04:41:01 +0000 (04:41 +0000)]
With this patch, you can fly under bridges, then turn around and land on
them lengthwise.

20 years agoFix a terrain intersection calculating bug. The code wasn't quite handling
curt [Fri, 21 Nov 2003 03:13:52 +0000 (03:13 +0000)]
Fix a terrain intersection calculating bug.  The code wasn't quite handling
traingle strips right ... it was mixing up the vertex ordering slightly.
Oh what the heck, it was really screwing up tristrips.  Everything else looks
correct though. :-)  Hurray for the red book.

20 years agoAdd support for specifying a <rated-draw> tag in the output sections of
curt [Thu, 20 Nov 2003 19:03:09 +0000 (19:03 +0000)]
Add support for specifying a <rated-draw> tag in the output sections of
the electrical system definition.

20 years agoFix a nasty bug whereby non-scrolling ATC messages longer than the screen width were...
daveluff [Wed, 19 Nov 2003 10:16:26 +0000 (10:16 +0000)]
Fix a nasty bug whereby non-scrolling ATC messages longer than the screen width were not rendered at all.  They are now rendered with the end clipped - that can be fixed later.

20 years agoAllow a switch definition in the electrical system configuration to have
curt [Tue, 18 Nov 2003 21:17:33 +0000 (21:17 +0000)]
Allow a switch definition in the electrical system configuration to have
a <rating-amps> tag which also implies that the switch is a circuit breaker.

Eventually we could have code that will automatically trip the breaker if
the current exceeds the rating.

20 years agoRemove some debugging output.
curt [Mon, 17 Nov 2003 21:19:37 +0000 (21:19 +0000)]
Remove some debugging output.

20 years agoAdded code to support a richer switch definition syntax. Currently we only
curt [Mon, 17 Nov 2003 21:10:47 +0000 (21:10 +0000)]
Added code to support a richer switch definition syntax.  Currently we only
support an attached property name and an intial state, but this can easily
be extended to configure a switch to be a circuit breaker with a max rating,
etc.

20 years agoMiscellaneous changes that got missed somehow.
curt [Mon, 17 Nov 2003 17:08:55 +0000 (17:08 +0000)]
Miscellaneous changes that got missed somehow.

20 years agoAdditions to the electrical system model to allow it to back propagate
curt [Sat, 15 Nov 2003 05:18:55 +0000 (05:18 +0000)]
Additions to the electrical system model to allow it to back propagate
current draw.  This is only one piece of the puzzle, but as we move forward,
the idea is better modeling of the ammeter, and we could automatically pop
circuit breakers if the current gets too high.

20 years agoFix a dependency problem for cygwin builds
ehofman [Fri, 14 Nov 2003 17:51:22 +0000 (17:51 +0000)]
Fix a dependency problem for cygwin builds

20 years agoUpdates to the jsclient remote joystick support code
ehofman [Fri, 14 Nov 2003 10:11:00 +0000 (10:11 +0000)]
Updates to the jsclient remote joystick support code

20 years agoMSVC fix
ehofman [Fri, 14 Nov 2003 09:41:31 +0000 (09:41 +0000)]
MSVC fix

20 years agoGene Buckle:
curt [Thu, 13 Nov 2003 23:04:14 +0000 (23:04 +0000)]
Gene Buckle:

Updated ejection seat properties.

20 years agoGene Buckle:
curt [Thu, 13 Nov 2003 23:03:49 +0000 (23:03 +0000)]
Gene Buckle:

Patches to allow control of more than 1 (up to 10) ejection seats, and
control them with more flexibility.  A particular ejectection seat can be
disarmed or failed, in which case it can't be ejected until it is armed
or fixed.

20 years agoDepreciate NetworkOLK. A big thanks goes to Oliver Delise for implementing it in...
ehofman [Thu, 13 Nov 2003 14:56:51 +0000 (14:56 +0000)]
Depreciate NetworkOLK. A big thanks goes to Oliver Delise for implementing it in the first place.

20 years agoDepreciate NetworkOLK. A big thanks goes to Oliver Delise for implementing it in...
ehofman [Thu, 13 Nov 2003 14:42:47 +0000 (14:42 +0000)]
Depreciate NetworkOLK. A big thanks goes to Oliver Delise for implementing it in the first place.

20 years agoAdd support for passing a CG offset (in inches) to an external FDM.
curt [Thu, 13 Nov 2003 03:10:09 +0000 (03:10 +0000)]
Add support for passing a CG offset (in inches) to an external FDM.

20 years agoAdd Manuel Bessler and Stephen Lowry's remote joystick code and add David Magginson...
ehofman [Wed, 12 Nov 2003 10:06:18 +0000 (10:06 +0000)]
Add Manuel Bessler and Stephen Lowry's remote joystick code and add David Magginson's 3dconvert utility

21 years agoRemoved some extraneous debugging output.
curt [Tue, 11 Nov 2003 17:46:23 +0000 (17:46 +0000)]
Removed some extraneous debugging output.

21 years agoAdd support for accessing the "set-outside-air-temp-degc" function from
curt [Mon, 10 Nov 2003 22:03:16 +0000 (22:03 +0000)]
Add support for accessing the "set-outside-air-temp-degc" function from
the property/telnet interface.

21 years agoAllow the external FDM to calculate slip/skid ball deflection and override
curt [Mon, 10 Nov 2003 22:02:38 +0000 (22:02 +0000)]
Allow the external FDM to calculate slip/skid ball deflection and override
FlightGear's internal calculation.

21 years agoAdd support for shipping out current FlightGear temperature and pressure.
curt [Mon, 10 Nov 2003 22:01:20 +0000 (22:01 +0000)]
Add support for shipping out current FlightGear temperature and pressure.

21 years agoDon't scale elevator by 0.5.
curt [Mon, 10 Nov 2003 22:00:43 +0000 (22:00 +0000)]
Don't scale elevator by 0.5.

21 years agoA couple fixes to the air/ground trim (initial position) setup code.
curt [Mon, 10 Nov 2003 22:00:22 +0000 (22:00 +0000)]
A couple fixes to the air/ground trim (initial position) setup code.

21 years agoAdd a command which will setup the temperature field in the boundary and
curt [Mon, 10 Nov 2003 21:59:35 +0000 (21:59 +0000)]
Add a command which will setup the temperature field in the boundary and
aloft layers to match a current OAT at the current altitude.  This can be
run from an external script or gui.

Given the specified OAT (and the current aircraft altitude), the code
calculates the equivalent sea level temperature, and then assigns that to
all active boundary and aloft environment layers.

21 years agoAllow the slip/skid ball to be overridden by an external source which
curt [Mon, 10 Nov 2003 21:57:14 +0000 (21:57 +0000)]
Allow the slip/skid ball to be overridden by an external source which
calculates the position instead.

21 years agoAdd support for sending out a requested aircraft weight to an external FDM
curt [Mon, 10 Nov 2003 21:56:32 +0000 (21:56 +0000)]
Add support for sending out a requested aircraft weight to an external FDM
via the "pipe" interface.

21 years agoI had made a change on 6/24/2003 relating to temperature interpolation.
curt [Mon, 10 Nov 2003 21:55:49 +0000 (21:55 +0000)]
I had made a change on 6/24/2003 relating to temperature interpolation.
Upon further review, I was very misguided, and unfortunately no one slapped
my hand at the time.

Factoring in the environment manager's interpolation scheme, it makes complete
sense to specify the sea level temperature at each boundary and aloft layer.
In fact, this is the only way that allows the temperature interpolation to
make sense, especially around the boundary layer.  This is confusing stuff,
but it now works perfectly. :-)

21 years agoDisable two sided light model because Andy's patch to plib makes it unneeded. This...
ehofman [Sun, 9 Nov 2003 15:07:23 +0000 (15:07 +0000)]
Disable two sided light model because Andy's patch to plib makes it unneeded. This should also increase framerate a bit

21 years agoRe-commit the changes that I inadvertantly committed as cvsguest
daveluff [Sun, 9 Nov 2003 14:01:50 +0000 (14:01 +0000)]
Re-commit the changes that I inadvertantly committed as cvsguest

21 years agoSomeone managed to commit changes as cvsguest, return to the original
curt [Sun, 9 Nov 2003 00:46:56 +0000 (00:46 +0000)]
Someone managed to commit changes as cvsguest, return to the original
version.  These changes need to be added via the proper channels.

21 years agoSomeone managed to commit changes as cvsguest, return to the original
curt [Sun, 9 Nov 2003 00:38:48 +0000 (00:38 +0000)]
Someone managed to commit changes as cvsguest, return to the original
version.  These changes need to be added via the proper channels.

21 years agoMultiplayer client/server system -- Message base class, "hello" message, and message...
cvsguest [Sat, 8 Nov 2003 20:11:14 +0000 (20:11 +0000)]
Multiplayer client/server system -- Message base class, "hello" message, and message class test harness

21 years agoMultiplayer client/server system -- Fix building MPS enabled binary
cvsguest [Sat, 8 Nov 2003 16:25:30 +0000 (16:25 +0000)]
Multiplayer client/server system -- Fix building MPS enabled binary

21 years agoMultiplayer client/server system -- MessageBuf class and test harness complete
cvsguest [Sat, 8 Nov 2003 04:15:31 +0000 (04:15 +0000)]
Multiplayer client/server system -- MessageBuf class and test harness complete

21 years agoMultiplayer client/server system changes and new files
cvsguest [Fri, 7 Nov 2003 23:38:18 +0000 (23:38 +0000)]
Multiplayer client/server system changes and new files

21 years agoFurther progress towards interactive ATC
daveluff [Wed, 5 Nov 2003 17:24:58 +0000 (17:24 +0000)]
Further progress towards interactive ATC

21 years agoFurther progress towards interactive ATC control
daveluff [Wed, 5 Nov 2003 10:06:57 +0000 (10:06 +0000)]
Further progress towards interactive ATC control

21 years agoFix a nasty bug - FGATC::SetDisplay() should be called *after* FGATC::Init() since...
cvsguest [Wed, 5 Nov 2003 10:02:34 +0000 (10:02 +0000)]
Fix a nasty bug - FGATC::SetDisplay() should be called *after* FGATC::Init() since display is often initialised to false in the init routine.  Also some other bits and pieces.

21 years agoSet the message display delay to default to zero
cvsguest [Wed, 5 Nov 2003 10:00:46 +0000 (10:00 +0000)]
Set the message display delay to default to zero

21 years agoFix a typo in the comments
daveluff [Tue, 4 Nov 2003 12:00:36 +0000 (12:00 +0000)]
Fix a typo in the comments

21 years agoStart supporting user interaction callbacks and tweak the circuit eta calculation
daveluff [Tue, 4 Nov 2003 12:00:14 +0000 (12:00 +0000)]
Start supporting user interaction callbacks and tweak the circuit eta calculation

21 years agoRationalisation of the ATC popup dialog code - moved it all over to AK's dynamic...
daveluff [Tue, 4 Nov 2003 11:54:42 +0000 (11:54 +0000)]
Rationalisation of the ATC popup dialog code - moved it all over to AK's dynamic list system and removed the hardcoded list code, extended the dynamic list system a bit, started adding support for callbacks from the user interaction

21 years agoFix an automake squawk.
curt [Fri, 31 Oct 2003 21:15:43 +0000 (21:15 +0000)]
Fix an automake squawk.

21 years agoUpdates.
curt [Fri, 31 Oct 2003 21:03:53 +0000 (21:03 +0000)]
Updates.

21 years agoUpdates.
curt [Fri, 31 Oct 2003 03:53:10 +0000 (03:53 +0000)]
Updates.

21 years agoInitial revision of the RedHat package building .spec file.
curt [Tue, 28 Oct 2003 20:52:49 +0000 (20:52 +0000)]
Initial revision of the RedHat package building .spec file.

21 years agoVarious 0.9.3 updates.
curt [Fri, 24 Oct 2003 17:06:39 +0000 (17:06 +0000)]
Various 0.9.3 updates.

21 years agoFix a potention buffer overflow
ehofman [Fri, 24 Oct 2003 12:39:31 +0000 (12:39 +0000)]
Fix a potention buffer overflow