]> git.mxchange.org Git - flightgear.git/log
flightgear.git
20 years agoName the property sun-angle-rad instead of sun-pos-rad to make it a bit more descriptive
ehofman [Wed, 7 Jan 2004 22:51:28 +0000 (22:51 +0000)]
Name the property sun-angle-rad instead of sun-pos-rad to make it a bit more descriptive

20 years agoMake sure FlightGear quits when a specified aircraft configuration file was not found
ehofman [Wed, 7 Jan 2004 13:03:44 +0000 (13:03 +0000)]
Make sure FlightGear quits when a specified aircraft configuration file was not found

20 years agoChnage the name to reflect the real unit of radians instead of degrees
ehofman [Wed, 7 Jan 2004 09:26:17 +0000 (09:26 +0000)]
Chnage the name to reflect the real unit of radians instead of degrees

20 years agoMake the position of the sun above the horizon available in the proprty tree
ehofman [Wed, 7 Jan 2004 09:21:35 +0000 (09:21 +0000)]
Make the position of the sun above the horizon available in the proprty tree

20 years agoModified Files:
curt [Tue, 30 Dec 2003 20:46:50 +0000 (20:46 +0000)]
Modified Files:
  net_ctrls.hxx net_fdm.hxx net_fdm_mini.hxx net_gui.hxx

I, Curtis Olson, being the primary author of these header files, hereby
release them into the public domain to facilitate interfacing FlightGear
with other external code (which might need to remain proprietary or may
be licensed under some not quite GPL compatible terms.)

20 years agoAdd a small optimization to reduce the amount of vasi computation that is
curt [Tue, 30 Dec 2003 15:12:04 +0000 (15:12 +0000)]
Add a small optimization to reduce the amount of vasi computation that is
done every frame.

20 years agoSmarter vasi/papi coloring.
curt [Tue, 30 Dec 2003 07:04:40 +0000 (07:04 +0000)]
Smarter vasi/papi coloring.

20 years agoFirst stab at correct vasi/papi coloring. This is still rough and doesn't
curt [Tue, 30 Dec 2003 05:57:25 +0000 (05:57 +0000)]
First stab at correct vasi/papi coloring.  This is still rough and doesn't
account for variation in lighting alignment, but it's more useful than the
previous attempt which was based on a misunderstanding of how environment
mapping worked.

20 years agoForgot to implment the Node.getChild(name, index) form of the function
andy [Mon, 29 Dec 2003 22:52:21 +0000 (22:52 +0000)]
Forgot to implment the Node.getChild(name, index) form of the function

20 years agoUpdated Andrei's entry.
curt [Mon, 29 Dec 2003 20:54:12 +0000 (20:54 +0000)]
Updated Andrei's entry.

20 years agoReset /sim/crashed upon reset
ehofman [Mon, 29 Dec 2003 10:10:35 +0000 (10:10 +0000)]
Reset /sim/crashed upon reset

20 years agoMake sure the mouse mode can be overriden by a commandline option
ehofman [Sun, 28 Dec 2003 17:42:26 +0000 (17:42 +0000)]
Make sure the mouse mode can be overriden by a commandline option

20 years agoMIPSpro 7.4 fixes
ehofman [Sat, 27 Dec 2003 22:27:27 +0000 (22:27 +0000)]
MIPSpro 7.4 fixes

20 years agoOops, make sure that one of the default splash screens gets used when the splash...
ehofman [Mon, 22 Dec 2003 21:59:43 +0000 (21:59 +0000)]
Oops, make sure that one of the default splash screens gets used when the splash-texture is undefined

20 years agoAdd support for an aircraft specific splash screen
ehofman [Mon, 22 Dec 2003 21:49:11 +0000 (21:49 +0000)]
Add support for an aircraft specific splash screen

20 years agoFix a typo
ehofman [Mon, 22 Dec 2003 20:18:33 +0000 (20:18 +0000)]
Fix a typo

20 years agoFix for a premature deletion bug. The _arg SGPropertyNode* is passed
andy [Mon, 22 Dec 2003 19:18:22 +0000 (19:18 +0000)]
Fix for a premature deletion bug.  The _arg SGPropertyNode* is passed
to handlers which might want to assign it to a SGPropertyNode_ptr for
reference counting (Nasal does, for instance, to prevent garbage
collector interactions).  If that smart pointer is then destroyed,
that will free this object while it is still live.

Simply use a SGPropertyNode_ptr here; the code ends up smaller as a
bonus, since FGBinding no longer has to deallocation for _arg.

20 years agoYank more debug code.
andy [Mon, 22 Dec 2003 19:02:20 +0000 (19:02 +0000)]
Yank more debug code.

20 years agoSplit up model[] into ship[], aircraft[], ballistic[] and model[] (for unspecified...
ehofman [Mon, 22 Dec 2003 12:30:35 +0000 (12:30 +0000)]
Split up model[] into ship[], aircraft[], ballistic[] and model[] (for unspecified models).

20 years agoTidy up the code a bit more, move /ai/model[] to /ai/models/model[] and make sure...
ehofman [Mon, 22 Dec 2003 10:24:15 +0000 (10:24 +0000)]
Tidy up the code a bit more, move /ai/model[] to /ai/models/model[] and make sure there can be more than one model subtree.

20 years agoUse some C++ FOOmagic to get the lat and lon updated in the property tree properly
ehofman [Sun, 21 Dec 2003 22:16:57 +0000 (22:16 +0000)]
Use some C++ FOOmagic to get the lat and lon updated in the property tree properly

20 years agoMake the AI model export it's internal state to the property tree under /ai/model...
ehofman [Sun, 21 Dec 2003 20:12:55 +0000 (20:12 +0000)]
Make the AI model export it's internal state to the property tree under /ai/model[] using the same naming convention as used for the regular FDM. Also make sure the model animations are relative the the /ai/model[] node.

20 years agoRearange a part of the orientation section
ehofman [Sun, 21 Dec 2003 17:00:51 +0000 (17:00 +0000)]
Rearange a part of the orientation section

20 years agoSome small updates to the FDM section
ehofman [Sun, 21 Dec 2003 16:59:39 +0000 (16:59 +0000)]
Some small updates to the FDM section

20 years agoAdd FDM specific properties
ehofman [Sun, 21 Dec 2003 16:56:25 +0000 (16:56 +0000)]
Add FDM specific properties

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

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

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

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

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

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

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