ehofman
02623bedbc
Reset /sim/crashed upon reset
2003-12-29 10:10:35 +00:00
ehofman
2f764eb319
Make sure the mouse mode can be overriden by a commandline option
2003-12-28 17:42:26 +00:00
ehofman
4cc853e2a2
MIPSpro 7.4 fixes
2003-12-27 22:27:27 +00:00
ehofman
22b5b1c405
Oops, make sure that one of the default splash screens gets used when the splash-texture is undefined
2003-12-22 21:59:43 +00:00
ehofman
465d13b045
Add support for an aircraft specific splash screen
2003-12-22 21:49:11 +00:00
ehofman
5a6858609d
Fix a typo
2003-12-22 20:18:33 +00:00
andy
d14bba8458
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.
2003-12-22 19:18:22 +00:00
andy
a59a272702
Yank more debug code.
2003-12-22 19:02:20 +00:00
ehofman
2d7a6e475d
Split up model[] into ship[], aircraft[], ballistic[] and model[] (for unspecified models).
2003-12-22 12:30:35 +00:00
ehofman
298f53edef
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.
2003-12-22 10:24:15 +00:00
ehofman
c1eb54ae0a
Use some C++ FOOmagic to get the lat and lon updated in the property tree properly
2003-12-21 22:16:57 +00:00
ehofman
9bc2517417
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.
2003-12-21 20:12:55 +00:00
ehofman
8c0e2fbd2e
Rearange a part of the orientation section
2003-12-21 17:00:51 +00:00
ehofman
71ceb56f39
Some small updates to the FDM section
2003-12-21 16:59:39 +00:00
ehofman
dc66014798
Add FDM specific properties
2003-12-21 16:56:25 +00:00
ehofman
4c01e0e76a
Tidy up the code a bit
2003-12-21 13:42:01 +00:00
andy
d0af0c5f58
Export a "/sim/crashed" property to indicate a crash.
...
Yanked some ancient debug code and cleaned up some whitespace while I
was in there.
2003-12-19 19:02:48 +00:00
curt
cdbfda256e
Initial revision.
2003-12-19 15:36:54 +00:00
andy
439a9fa1e4
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.
2003-12-19 02:42:32 +00:00
andy
7edecf980e
Workaround for code generation bug in gcc-2.95.3
2003-12-16 05:39:04 +00:00
ehofman
76585fb801
STL chnages
2003-12-11 14:50:30 +00:00
curt
afd5a88aa2
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.
2003-12-09 21:05:26 +00:00
ehofman
44ce4cdb97
Melchior FRANZ:
...
I think the ufo turns a bit too fast. 25 is better.
2003-12-08 18:08:27 +00:00
andy
0b3159ec0c
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).
2003-12-08 02:05:10 +00:00
ehofman
7ac15db168
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.)
2003-12-07 17:39:48 +00:00
curt
aebc270482
Update readme.
2003-12-05 02:11:51 +00:00
andy
eb3f52c340
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.
2003-12-05 01:54:39 +00:00
andy
85b5210022
Initialize the SGInterpolator subsystem. Also remove some PSL code, since the include file is no longer there
2003-12-05 01:52:34 +00:00
curt
baaea29281
Change some terrasync defaults.
2003-12-04 04:13:43 +00:00
andy
9d15561937
My refactoring left two values uninitialized when running a
...
helicopter. Melchior caught the bug.
2003-12-03 21:26:03 +00:00
ehofman
6b1e5f905a
Remove the reference to libObject.a since it isn't generated anymore.
2003-12-02 18:47:55 +00:00
ehofman
ff2bef2784
Comment out the rest of the Makefile to make the compierl happy
2003-12-02 17:57:21 +00:00
curt
25fddbf476
Add the current true heading to the tuned nav station into the property tree.
2003-12-02 15:56:56 +00:00
ehofman
79e48829da
Add Nasal Vs. 1.5
2003-12-01 14:35:49 +00:00
andy
3b2d97289c
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.
2003-12-01 01:22:27 +00:00
ehofman
4a68c2ffb0
Use strndup() replacement code that doesn't cause a segmentation fault.
2003-11-28 20:25:50 +00:00
ehofman
a9c6ca26af
Don't destroy the elements ourselves. Instead clear
...
() calls the destructor for each element itself.
2003-11-28 20:16:59 +00:00
ehofman
3297ac3544
Some small updates
2003-11-28 20:05:32 +00:00
ehofman
378a4ba0f7
Make room for the terminatig '\0' and prevent a potential buffer overflow.
2003-11-28 17:56:36 +00:00
ehofman
cd0c447b43
Add David Culp's AI model manager code which is derived from David Luff's AI/ATC code.
2003-11-28 15:48:05 +00:00
ehofman
06ce7ae928
IRIX/MipsPro 7.2 doesn't have strndup. Work around it.
2003-11-28 10:25:33 +00:00
david
8b2cfb515b
Add a scrolling list widget for selecting airports.
2003-11-27 23:41:00 +00:00
david
e3737de2d6
Allow sequential access to airports.
2003-11-27 23:37:03 +00:00
ehofman
2be85c1b1b
gcc 2.95 and 3.0 requite handleTimer to be public
2003-11-27 14:34:37 +00:00
ehofman
3459147f5f
Add a refference to sprintf
2003-11-27 13:44:20 +00:00
ehofman
c7ae0e3b0f
Partability fix
2003-11-27 10:24:05 +00:00
curt
0cdbf86578
libnasal.a renamed to libsgnasal.a
2003-11-25 22:50:17 +00:00
curt
d1360d26d0
Remove old PSL support and put our eggs into the Nasal basket.
2003-11-25 21:16:13 +00:00
curt
d3181fb437
Andy Ross:
...
A set of changes to impliment Nasal support in FlightGear. The nasal
interpreter is now part of SimGear.
2003-11-25 21:08:36 +00:00
david
195eadc739
Use SG_LOG for debugging messages from the YASim helicopter model.
2003-11-25 18:50:47 +00:00