James Turner
6f80df0b8d
NasalTimerObject tweaks.
2013-03-20 18:10:27 +00:00
Thomas Geymayer
60bec150aa
Reduce severity of warning for missing gui/dialogs directory
2013-03-20 18:02:11 +01:00
James Turner
9575783491
NasalPositioned-cppbind additions.
...
Expose searching by name, filtering by any type, and sorting by range.
2013-03-19 18:14:56 +00:00
Thomas Geymayer
1e4ba18284
Update/simplify property interpolation to latest SimGear changes
2013-03-17 23:49:15 +01:00
Mathias Froehlich
b0249bad98
fgviewer: Move rti libs past libsimgear.
2013-03-17 15:27:38 +01:00
James Turner
eb53f3c919
Fix missing include for Linux.
2013-03-17 14:07:07 +00:00
James Turner
015732db33
Fix un-inited vars found by valgrind.
...
All benign, but good to get fixed.
2013-03-17 13:22:30 +00:00
James Turner
c6221b2c84
Fix max-metar-age, bug #1076 .
...
Will merge to 2.10 branch once verified.
2013-03-17 13:14:08 +00:00
James Turner
96a40fe70c
Commands to control scenarios / AI-objects.
...
New commands allow runtime scenario loading and unloading, and AI object creation and removal at runtime.
2013-03-16 16:53:12 +00:00
James Turner
4a84ea0bc4
AIManager scenario tweaking.
2013-03-16 16:53:12 +00:00
James Turner
d70e26d87b
Don't duplicate userpos in in AIObjects.
2013-03-16 16:53:12 +00:00
Thomas Geymayer
4b21dc51ee
Replace SGInterpolator with new advanced interpolation system.
...
Allow for advanced animations using easing functions and adapters
for interpolating specific property types (eg. CSS colors).
Old behavior should not have changed.
2013-03-16 16:45:03 +01:00
Eric van den Berg
2a2beec658
improved mechanical VSI model, it now lags and displays wrong at
...
altitude
2013-03-16 13:35:34 +00:00
James Turner
c487188bfc
Show a message when pausing the sim.
2013-03-16 12:44:43 +00:00
James Turner
ab939ff772
A real Timer object in Nasal.
...
A persistent timer object which can be stopped, started and restarted. Gosh. Has both singleShot and repeating modes.
2013-03-16 12:44:27 +00:00
James Turner
0f26267647
Reduce a message severity.
2013-03-16 12:43:25 +00:00
Christian Schmitt
f11201d3d9
MapWidget: make partially use of the new colocated DME information.
...
Until a better way to draw proper symbols is implemented, this has to do.
2013-03-15 14:07:32 +01:00
Christian Schmitt
08bae40991
Parse nav.dat DMEs and assign them to appropriate navaid, if applicable.
...
We can now detect whether a DME is colocated at a VOR/ILS/VORTAC/TACAN/NDB
2013-03-15 14:07:31 +01:00
Anders Gidenstam
46eadabf3a
Added support for tracking mouse movements with shift and control+shift pressed.
2013-03-13 21:20:17 +01:00
Thomas Geymayer
0bc5a813a8
Revert "Ensure immediate canvas update inside GUI windows."
...
This reverts commit 07f01bd734
.
We don't need this anymore as there is now a proper fix
in SimGear.
2013-03-11 21:24:40 +01:00
James Turner
4786923838
Tweak hover logic.
...
Fixes tooltips vanishing on mouse-move.
2013-03-11 17:13:03 +00:00
Thomas Geymayer
07f01bd734
Ensure immediate canvas update inside GUI windows.
...
Ensure canvas displayed inside GUI windows are updated in the same
frame as the according window is made visible. This prevents
showing previous contents for the first frame.
2013-03-10 20:43:14 +01:00
James Turner
0718e2b0f7
Candidate fix for bug 1055. Needs validation however!
2013-03-10 15:14:13 +00:00
James Turner
67a0acb64a
Live cursor updating during pick-drags.
...
This gives nice cursors when hovering and dragging slider and knob-animations, and the cursor is set correctly on mouse-up after the drag too. Makes directional knobs/sliders much easier to understand.
2013-03-10 12:06:20 +00:00
James Turner
ead479532b
New cursor shapes.
...
Unfortunately OSG lacks the 'closed hand' (aka 'grab') cursor, really time to get platform cursor working reliably.
2013-03-10 12:05:14 +00:00
James Turner
0971ed1f2c
Make tooltips independent of cursor auto-hide.
2013-03-10 10:17:27 +00:00
Christian Schmitt
461d89cb22
Fix some uninitialized variables (found by valgrind)
2013-03-10 01:24:57 +01:00
James Turner
b5a6812c95
Clean up mouse-input property handling.
...
Use a listener to avoid reading state each event/update. Support setting some values on the SGKnobAnimation configure global behaviour.
2013-03-08 16:34:21 +00:00
James Turner
b29470c129
Disable native cursor on Windows for now.
...
There's an unfortunate interaction with osgViewer on Windows that needs to be resolved, before the can switched on.
2013-03-07 19:33:46 +00:00
James Turner
30fcfd219e
Pass key-mod state into pick-callbacks.
...
Allow pick-callbacks to get the current mod-state at all times. (Required for matching SG change)
2013-03-07 18:41:38 +00:00
PlutoniumHeart
acf47d00d5
Replacing strdup with _strdup in MSVC
2013-03-07 00:00:47 -07:00
Thomas Geymayer
3047c316dc
Clean up/simplify NasalPositioned_cppbind
...
Ensure all FGPositioned related functions return SGSharedPtr
instead of raw pointers to allow automatic conversion to
nasal ghosts without custom helper functions.
2013-03-06 23:21:49 +01:00
James Turner
23a1d4338d
Windows cursor implementation.
...
This does not (yet) support custom cursor images, but can be easily
extended to do so.
2013-03-06 18:22:37 +00:00
James Turner
7cad407843
Core data class for PolyLine handling.
...
This is all unused yet, but defines the simple model for polyLines.
2013-03-06 17:22:34 +00:00
James Turner
12bcea2861
Make Ctrl+axis bindings explicit (and work).
...
Thanks to Clement/F-JJTH for the fix.
2013-03-06 14:24:29 +00:00
Thomas Geymayer
8d56b4664a
Port more airport/navaid methods to cppbind
2013-03-06 01:04:52 +01:00
Thomas Geymayer
1c905e5881
Typos, license headers...
2013-03-06 01:04:52 +01:00
James Turner
034140914c
Windows cursor handling stubs.
2013-03-05 20:59:05 +00:00
James Turner
8dc936b44b
Forgot GPL license on new files.
2013-03-05 20:53:43 +00:00
Christian Schmitt
658bda6e40
MapWidget: Show counties and towns as well, depending on the zoom.
...
Some colors added.
2013-03-05 18:26:01 +01:00
Thomas Geymayer
c7e846bd2a
Parse geod/position and use it with new airportinfo.
2013-03-05 17:31:26 +01:00
James Turner
d5c382a780
Fix updating of mouse position props.
...
Some cockpits rely on mouse position props being updated even when using a dragged pick-callback. Thanks to Clement for noticing. Re-structured so however we process the mouse (PUI, pick-callback, normal motion), we always update the props.
2013-03-05 14:31:58 +00:00
James Turner
4c32b832ec
Stray debug message, remove.
2013-03-05 14:29:14 +00:00
James Turner
fce2a53fc7
Fix crash starting at heliport.
...
Don't assume FGAirports have runways, they might only have helipads.
2013-03-05 13:19:10 +00:00
James Turner
50c70035b3
More explicit check for cursor feedback.
2013-03-05 08:40:17 +00:00
James Turner
f2c267f5d7
MouseInput changes to support hover.
...
This adds the framework for platform cursor implementations; Windows and X11 to be done.
It also extend the mouse-input code to generate hover events suitable for driving tooltips.
Note there should be no visible functionality change from this commit, since everything
is inactive until fgdata changes are made.
2013-03-04 23:35:30 +00:00
Thomas Geymayer
22a1c9b2af
Finish porting airportinfo to cppbind
2013-03-04 23:14:26 +01:00
Thomas Geymayer
3579a4404a
Report std::exception in main loop
2013-03-04 23:13:36 +01:00
Thomas Geymayer
4b573ebd13
Start porting NasalPositioned to cppbind.
...
For now it is available in the positioned Nasal
module. FGAirport is fully ported, but especially
procedures/navaids and free functions are still
missing.
2013-03-04 19:24:47 +01:00
Thomas Geymayer
45e3b7e2d1
Clean up/prepare for porting NasalPositioned to cppbind
2013-03-04 16:31:37 +01:00