ThorstenB
0d233c0dfc
Bertrand Coconnier: updated fix for #204 and #222 : JSBSim reset
...
Use shared property pointers instead of path strings, adapt method
names to JSBSim style, catch all property ties, proper error handling
when tieing failed.
2011-02-06 15:16:58 +01:00
ThorstenB
ad8d46ba64
Improved fix for #204 and #222 : JSBSim::unbind() needs to untie _all_ its properties
...
Extends and partially reverts commit 287cc74965
Previous fix did not consider properties outside the /fdm/jsbsim branch.
FGPropertyManager now keeps track of all its tied properties - and provides
a method to cleanly untie them again.
2011-02-05 17:49:26 +01:00
ThorstenB
edfc06119a
Not reported by cppcheck: fix another memory leak :)
...
Extends/changes commit 687be04678
to fix a related second leak (with "model").
2011-02-04 19:38:22 +01:00
ThorstenB
133cfbfa7f
Fixed several compiler warnings
...
uninitialized or unused variables, init sequence, ...
2011-02-02 22:05:54 +01:00
ThorstenB
07fe929288
Fixed helicopter view.
...
Corrected the new panning check: panning rotates around the y-axis,
so the x- or z-axis need an offset != 0 (not x-/y-axis).
2011-02-01 19:23:05 +01:00
Frederic Bouvier
6bb8e69b92
Initialize class member in AIFlightPlan
2011-01-30 21:20:50 +01:00
Frederic Bouvier
a853af5b0e
Reported by cppcheck: fix an incorrect usage of iterators
2011-01-30 21:17:20 +01:00
Frederic Bouvier
687be04678
Reported by cppcheck: fix a memory leak
2011-01-30 21:17:19 +01:00
Frederic Bouvier
95a5326c4e
Merge branch 'next' of git://gitorious.org/fg/flightgear into next
2011-01-30 21:16:57 +01:00
Frederic Bouvier
257e3390c9
Detect joystick disconnection
2011-01-30 21:14:32 +01:00
ThorstenB
f68f300bb3
Proposed fix for #251 : Waypoint handling
...
Do not consider destination/runway waypoints as done, when these
are far away - even if the course is off by > 90 degrees.
2011-01-30 18:05:53 +01:00
ThorstenB
91d001ff4e
Fix viewer issue with Tower and Chase View.
...
When looking _at_ a model with an x,y offset of 0,
then the view heading has no effect. So, force heading offset property
to 0 to keep other property consumers from running incorrect calculations.
=> Trying to rotate the heading offset in Tower/Chase view no longer
rotates the blue sky around the aircraft, though the viewer itself
isn't rotating anything.
2011-01-30 17:35:07 +01:00
ThorstenB
32b69f823a
Betrand Coconnier: fix bugs #47,#184: roll/pitch/speed via command-line
...
Specifying initial roll, pitch and speed should be working again.
2011-01-30 16:05:28 +01:00
Erik Hofman
287cc74965
Fix for bug #204 and #222 by Bertrand Coconnier; NaNs (bug #222 ) were basically generated because the method JSBSim::unbind() was not implemented in JSBSim.cxx.
2011-01-30 11:04:37 +01:00
James Turner
2ea7f87ae1
Andreas Gaeb: make input (joystick) re-init work.
2011-01-29 16:05:02 +00:00
Frederic Bouvier
86bb7f39f9
Ignore a generated file
2011-01-28 20:15:43 +01:00
Frederic Bouvier
2a7afaf642
Cmake: add a rule to build sources from fluid (.fl) files
2011-01-28 20:12:56 +01:00
Frederic Bouvier
511e10142d
Cmake: use different icons for 32-bit and 64-bit executables
2011-01-28 19:34:49 +01:00
Frederic Bouvier
0807cf3ae6
Cmake: set an icon to the Windows executable
2011-01-28 19:30:27 +01:00
Frederic Bouvier
2317b3bf05
Deprecate VS2010 handmade project files now that we have Cmake
2011-01-28 19:00:28 +01:00
Frederic Bouvier
0baa517b33
Cmake: fix VS2010 link
2011-01-28 15:15:20 +01:00
Frederic Bouvier
ede9a03d07
Cmake: support VS2010 and MSVC 64 bit
2011-01-28 14:57:32 +01:00
James Turner
4f364af6d1
Andreas Gaeb: fix #222 (JSBSIm reset problems)
2011-01-25 00:26:07 +00:00
James Turner
c2458a17bf
Re-apply fix for #204 , crash on JSBSim reset
2011-01-25 00:25:43 +00:00
James Turner
4b494b1d08
Re-apply partial fix for #222 , JSBsim crash-on-reset
2011-01-25 00:25:23 +00:00
Torsten Dreyer
8fe3d6c8e8
Bugfix: reset transparency of non fog/mist/haze layers
2011-01-24 19:41:56 +01:00
James Turner
7f84bf5599
Whoops, missed a place to use fgVersion
2011-01-24 13:48:01 +00:00
James Turner
fec0b28f14
Include Macflightgear files, and the build helper.
2011-01-24 13:35:01 +00:00
Torsten Dreyer
b085649f20
Code cleanup, no functional change
2011-01-23 21:51:07 +01:00
Frederic Bouvier
fe03a4d799
Merge branch 'next' of git://gitorious.org/fg/flightgear into next
2011-01-23 21:08:09 +01:00
Frederic Bouvier
c21ba6cb20
Cmake: restore its original name to the ephemeris library
2011-01-23 21:07:24 +01:00
Mathias Froehlich
cb82e136dd
Help configure finding the rti libraries.
2011-01-23 20:35:05 +01:00
ThorstenB
5268b3c6ed
Report stopped MP transmission at higher log level,
...
it's too important to be a "debug only" message.
2011-01-23 15:24:28 +01:00
Erik Hofman
5402ab5a1b
Merge branch 'next' of git://gitorious.org/fg/flightgear into next
2011-01-23 15:14:57 +01:00
Erik Hofman
4a817a6307
Sync. with JSBSim CVS
2011-01-23 15:14:01 +01:00
ThorstenB
feab53b462
Added sanity checks to MP receive/send.
...
Stop invalid data (NaN values) from being sent or received via MP.
2011-01-23 15:07:09 +01:00
Frederic Bouvier
58550d9e70
Cmake: remove debug messages
2011-01-23 09:49:04 +01:00
Frederic Bouvier
65239f8f53
Build Terrasync with libsvnclient under Windows
2011-01-23 09:42:13 +01:00
ThorstenB
7f846d20c7
Make route editing sane.
...
Drag&drop, insert and remove now update the current waypoint as expected.
2011-01-23 00:45:06 +01:00
James Turner
1108944087
Fix Apple libsvn include for isysroot (SDK) builds.
2011-01-22 18:49:54 +00:00
ThorstenB
f32656b2a5
Fix crash in GPS module.
...
Fixes crash on exit (during property untie). Also potential run-time crash.
2011-01-21 23:44:23 +01:00
Torsten Dreyer
ac4d22628e
remove debug message spam
2011-01-21 20:44:35 +01:00
ThorstenB
fab1284f83
GPWS: avoid "altitude_callout_voice != NULL" assertion
...
Properly remember which active alerts were already voiced.
Added NULL-pointer safety check
2011-01-21 19:55:42 +01:00
Torsten Dreyer
a81103341e
Fix bug 255, support turbulence to weather menu
2011-01-21 10:35:04 +01:00
James Turner
d227258b3b
Lazy caching of magvar on waypoints. Not used yet, but soon.
2011-01-20 08:49:09 +00:00
James Turner
7cbb3a10ed
Expand route-manager waypoint info, to support smarter FMS functions.
2011-01-20 00:39:42 +00:00
James Turner
54ef43878f
Fix bug 259 - don't override existing airport/runway in initPos
2011-01-19 23:58:00 +00:00
Torsten Dreyer
e86cecf470
Fix bug #253 , at least partially
...
make options
--wind=nnn@mm
--visibility
--visibility-miles
--ceiling
--turbulence
work again. These options now write properties in the
/environment/config/presets
branch. The values will be applied in the property-rules
in FGDATA/Environment/interpolator.xml
2011-01-19 19:36:04 +01:00
James Turner
bd60cd21e7
Support the libsvn 1.4 API, which is what is available shipped with Mac OS-X 10.5 (Leopard)
2011-01-19 13:54:30 +00:00
James Turner
c1f44b366c
Working Cmake-terrasync-libsvn support. Probably needs additional refinement, but testable.
2011-01-19 12:14:59 +00:00