Thomas Geymayer
d51499382d
Clean up CanvasWidget and more work on Canvas/Nasal bindings
2012-11-18 16:46:03 +01:00
ThorstenB
58380b286e
Fixed some uninitialized member vars and a mem leak.
2012-11-18 16:39:22 +01:00
ThorstenB
a784443a24
Remove static property dependencies
...
preventing us from wiping properties on reset/reinit/subsystem recreate.
(more work required for "native_gui" and "ATC-Outputs" protocols)
2012-11-18 16:35:54 +01:00
ThorstenB
1f1dd1fa16
viewmgr: fix mixed up white-spaces/indentation
...
(content otherwise unchanged)
2012-11-18 13:23:10 +01:00
ThorstenB
d761da248f
viewmgr: stash properties for better performance
2012-11-18 13:17:07 +01:00
ThorstenB
01617861ce
toggle fullscreen: also adapt GUI plane when resizing
2012-11-18 00:00:15 +01:00
ThorstenB
b577ec70fc
Add command to toggle fullscreen mode.
2012-11-17 23:07:00 +01:00
ThorstenB
4e6f0e18fd
YASim airborne start-up
...
Gear should be up when starting in-air.
2012-11-17 20:05:16 +01:00
ThorstenB
adc95a4b55
#600 , for Curt... ;-) allow speed-up value to use fractions
...
"speed-up" can now also be used for slow-motion (i.e. 0.5 / 0.25 / ...)
or fractional speeds (3.141...). This was already working for instruments
(for replay) before, now it's also considered by FDM simulation.
2012-11-17 20:01:19 +01:00
James Turner
8a954f8338
Support request body on xmlhttprequest.
...
Allow XML property data to be submitted with a request; changes the request method from GET to POST. Supply nodes via the 'body' argument to the command.
2012-11-17 18:10:15 +00:00
ThorstenB
bf0dbb22d0
#931 : some VOR+ILS stations not working on 32bit machines
...
When casting to int, always remember the ugly effects of floating-point
(im)precisions ;-).
2012-11-16 22:46:41 +01:00
James Turner
91c6e3433d
Further work on bug 905.
...
Tolerate Octree leaf children which have been moved outside their leaf's BBox. This is necessary since lazy-loading of ILS and threshold files can cause re-locations even during child traversal, where updating the hierarchy is very complex. Instead, simply tolerate this case, and rely on the real position data (which is correct).
2012-11-16 16:43:54 +00:00
Thomas Geymayer
48c1b51875
Add new property indicating whether profiler is available
2012-11-16 12:59:44 +01:00
Thomas Geymayer
1a0fcd5f56
NasalCanvas: Clean up and expose Element node ghost
2012-11-16 12:34:38 +01:00
ThorstenB
9d067bc890
#918 : fix jsbsim in-air repositioning issue
2012-11-15 20:20:40 +01:00
ThorstenB
791389cb98
#895 : AI traffic not working when system is offline but real-wx is enabled
...
Add a timeout when waiting for valid METAR.
2012-11-15 20:20:40 +01:00
ThorstenB
7fa2aecc22
fgprotocol: delete io channel on shutdown
2012-11-15 20:20:40 +01:00
ThorstenB
e8fc85ef7e
jpg-httpd: Add error messages when unable to open port etc.
...
Also move private code to cxx file.
2012-11-15 20:20:40 +01:00
ThorstenB
58158bf51f
jpg-httpd: consistent indentation and white-spaces
...
(no content change)
2012-11-15 20:20:40 +01:00
Christian Schmitt
dd6c220fd7
CMAKE: find plib module: correct the linking order of the pu component,
...
which has to be before fnt. This fixes the fgpanel linking on some distros.
2012-11-15 15:48:34 +01:00
Thomas Geymayer
779a9ae415
Really make profiling commands optional
2012-11-15 13:56:31 +01:00
Thomas Geymayer
0761af344d
Visual Studio bug workaround
2012-11-15 12:43:35 +01:00
Thomas Geymayer
859e92a8ed
Experiment with exposing more canvas methods
2012-11-15 12:43:34 +01:00
Thomas Geymayer
892806cb3f
More cleanup an move of helper classes to simgear
2012-11-15 12:43:34 +01:00
Thomas Geymayer
724d54b3a3
Clean up and some more testing
2012-11-15 12:43:34 +01:00
Thomas Geymayer
863cd6a290
Canvas/Nasal and Nasal/C++ binding experiments
2012-11-15 12:43:34 +01:00
Thomas Geymayer
5610c9551b
Add missing file...
2012-11-15 12:43:34 +01:00
Thomas Geymayer
fe1222a90d
Optional profiling commands using gperftools
2012-11-15 11:55:37 +01:00
Frederic Bouvier
b88e941ca2
MSVC compile fix
2012-11-15 08:42:10 +01:00
James Turner
78d97fa468
Support for creating default SID/approach.
...
Durk reminded me of this - when we're missing procedures data (the common case), synthesise a plausible (but possibly dangerously unrealistic) departure and approach. Will work fine for airports in gentle terrain, and likely kill you at challenging airports. You have been warned.
2012-11-12 22:30:28 +01:00
ThorstenB
25138930e3
replay system: protect from recording multiple records for identical time
...
And avoid div by zero when dt==0 for recorded data.
2012-11-11 17:36:10 +01:00
ThorstenB
1d99401c04
Remove osg dependency for isNaN only.
2012-11-11 17:22:42 +01:00
Mathias Froehlich
354a1b3a0b
hla: Use hla derived classes part 2
2012-11-11 16:30:55 +01:00
Mathias Froehlich
518cd00094
hla: Use HLADataElementIndices instead IndexPathPairs.
2012-11-11 16:30:49 +01:00
Mathias Froehlich
f4d344d44a
hla: Replace the object class callback by it's object class.
2012-11-11 16:30:43 +01:00
Mathias Froehlich
c90d3429aa
hla: Use hla derived classes part 1.
2012-11-11 16:30:36 +01:00
ThorstenB
fdb64a02a8
Extended replay and flight recording system
...
Save/restore replay sessions.
Replay system message support, so recorded flights can be turned into
flight tutorials.
2012-11-10 21:26:08 +01:00
James Turner
08d82294bd
Fix bug 905.
...
When a position is modified for an in-cache FGPositioned, we need to update the runtime information too, or the Octree code may (rightly) complain that it's seeing inconsistent data. Also make the Octree check an exception throw, and verbose, so this is easier to detect in the future.
2012-11-10 14:48:00 +00:00
Stuart Buchanan
b7e79c1231
For clouds use a RNG seed that stays the same for 10 minutes.
...
This allows multi-process systems to stay in sync and display the same
clouds.
2012-11-09 20:29:28 +00:00
James Turner
18e3fc0c82
Bug 921
...
Fix GPS search functionality, I mixed up the SQlite wild-card operator.
2012-11-08 18:31:16 +00:00
James Turner
afcdbd3158
Overhaul the ground-net / parking code.
...
Use the nav-data-cache to cache groundnet information, including
parking positions and the taxi-node graph.
2012-11-08 09:07:05 +00:00
James Turner
72131a4a49
Alexis Bory:
...
The purpose of this little cosmetic patch is to ease the use of proptest's output in a ploter.
2012-11-08 09:06:24 +00:00
Thomas Geymayer
7e7d921515
Adapt for latest SimGear changes and insert missing bracket
2012-11-06 18:50:14 +01:00
Thomas Geymayer
c79510ef34
Fix include and compiler warning
2012-11-04 23:03:06 +01:00
Thomas Geymayer
eb44003309
SimGear now includes ShivaVG
2012-11-04 20:02:20 +01:00
Thomas Geymayer
28779e7a51
Update for new simgear Canvas system.
...
A refactored version of the Canvas system can now be found in
SimGear.
2012-11-04 14:18:31 +01:00
ThorstenB
4a535f67c0
Add error messages when unable to open HTTP port.
...
Also move private code to cxx file.
2012-11-01 19:34:27 +01:00
ThorstenB
46fdb2079d
Remember MP online status throughout a sim reset.
2012-11-01 15:49:45 +01:00
ThorstenB
d15d2ad270
Jean Pellotier: don't show markers for invalid targets in HUD
...
Don't show invalid AI/MP models in the HUD (after they were removed from
the scene).
Also, when a radar is installed, consider radar/in-range for HUD display.
2012-11-01 15:31:05 +01:00
ThorstenB
82bfb96d23
Add different error message when an FDM is disabled.
...
Better shows the difference between "unknown" and "disabled" FDMs.
2012-11-01 15:03:01 +01:00