1
0
Fork 0
Commit graph

4811 commits

Author SHA1 Message Date
ehofman
3150506b26 Remove a stale source file 2004-01-09 22:39:32 +00:00
ehofman
ab5f7f259d Hide the binary executables from CVS 2004-01-09 22:32:24 +00:00
ehofman
57220efd9b Add the math library for architextures that needs it 2004-01-09 22:29:22 +00:00
ehofman
18eb0a35a2 Rename utils/3dconvert to utils/Modeller and add Jim Wilson's animassist utility 2004-01-09 21:19:44 +00:00
andy
ce91286e19 First cut at a turbulence model for YASim. It's a
perlin/scale-invariant vector field implemented as a 2D lookup table.
Seems to work OK, but needs testing and feedback.
2004-01-09 17:05:26 +00:00
ehofman
1fa7a1464f Name the property sun-angle-rad instead of sun-pos-rad to make it a bit more descriptive 2004-01-07 22:51:28 +00:00
ehofman
46877af1a7 Make sure FlightGear quits when a specified aircraft configuration file was not found 2004-01-07 13:03:44 +00:00
ehofman
f279f4b065 Chnage the name to reflect the real unit of radians instead of degrees 2004-01-07 09:26:17 +00:00
ehofman
519fd99106 Make the position of the sun above the horizon available in the proprty tree 2004-01-07 09:21:35 +00:00
curt
de7d16cd27 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.)
2003-12-30 20:46:50 +00:00
curt
461baef128 Add a small optimization to reduce the amount of vasi computation that is
done every frame.
2003-12-30 15:12:04 +00:00
curt
a80b033104 Smarter vasi/papi coloring. 2003-12-30 07:04:40 +00:00
curt
3d7f467c61 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.
2003-12-30 05:57:25 +00:00
andy
2166dd70a8 Forgot to implment the Node.getChild(name, index) form of the function 2003-12-29 22:52:21 +00:00
curt
c09aeb9bef Updated Andrei's entry. 2003-12-29 20:54:12 +00:00
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