ThorstenB
826107f132
#510 : Fix disappearing AIShips.
...
Untangle AI reinit and init methods. Some code in init hooks expects to be
called once only. Derived classes should not redirect their reinit to init,
even if this seems fine for the methods of the derived class itself. This
also triggers the init methods of all base classes, which may not expect
multiple calls to their init methods (or to "init" on "reinit").
2011-12-09 17:06:19 +01:00
ThorstenB
b16338598a
Use more specific log classes.
...
Log class filters work better when different modules
use different classes :).
2011-10-11 21:55:50 +02:00
Torsten Dreyer
f938a23d7c
clear two gcc warnings
2011-02-25 20:46:18 +01:00
ThorstenB
133cfbfa7f
Fixed several compiler warnings
...
uninitialized or unused variables, init sequence, ...
2011-02-02 22:05:54 +01:00
Csaba Halasz
674a295896
Merge commit 'refs/merge-requests/13' of git://gitorious.org/fg/flightgear into next
2010-11-30 00:26:22 +01:00
ThorstenB
7dd2cf19e8
Fixed some compiler warnings.
...
Please the compiler (gods).
2010-10-29 21:14:09 +02:00
Vivian Meazza
b88d0988cd
More rationalization of methods, and other clean-ups
...
Signed-off-by: Vivian Meazza <vivian.meazza@lineone.net>
2010-10-28 17:29:41 +01:00
Vivian Meazza
2b95158704
Add coefficients configurable at runtime, and bugfix.
...
Signed-off-by: Vivian Meazza <vivian.meazza@lineone.net>
2010-09-30 01:06:19 +02:00
Vivian Meazza
10866851de
Add join manoeuvre/command to AIWingman. Rationalize more methods. Fix some more bugs
2010-09-30 00:34:15 +02:00
Vivian Meazza
2758f07df0
Use AIBase method setParentNode() vice the local method.
...
Signed-off-by: Vivian Meazza <vivian.meazza@lineone.net>
2010-09-17 21:17:56 +02:00
Vivian Meazza
bc12f0be21
Walk the AImodels property tree only once at init, rather than at update. Should have a beneficial effect on frame rate, but in practice makes no discernible improvement. It is cleaner code though.
...
Signed-off-by: Vivian Meazza <vivian.meazza@lineone.net>
2010-09-02 09:24:45 +01:00
Vivian Meazza
9e44be1df7
Merge branch 'next' of D:\Git_New\flightgear into next
...
Conflicts:
src/AIModel/AIBallistic.cxx
2010-08-29 00:08:50 +01:00
Vivian Meazza
dff8099994
Major update of Ballistic objects and submodels. Introduce submodels slaved to AI Objects. Remove deprecated code. Try to increase framerate. Use quaternion calculations for Initial Conditions.
...
Signed-off-by: Vivian Meazza <vivian.meazza@lineone.net>
2010-08-29 00:00:09 +01:00
Vivian Meazza
72c5a314e6
Add aubmodels to AI objects
...
Signed-off-by: Vivian Meazza <vivian.meazza@lineone.net>
2010-08-14 13:39:30 +01:00
timoore
79e251383b
Wingman code from Vivian Meazza
2008-02-15 11:06:27 +00:00