James Turner
45d5511fd7
Remove stray debug.
2013-04-02 18:10:09 +01:00
Thomas Geymayer
198c5d23fd
nasal::Ghost tweaking to allow using with osg::oberser_ptr.
2013-04-01 13:35:41 +02:00
Thomas Geymayer
c41caeaf64
Ensure every scenery model has own SGModelData.
...
This makes Nasal unload hooks of scenery objects working again.
Previously the same SGModelData instance was used for all objects
which never got destroyed and therefore was not able to call any
unload callback.
2013-04-01 13:22:28 +02:00
Thomas Geymayer
b6c542b0e7
nasal::Ghost tweaking and to_nasal_helper for SGGeod.
2013-03-23 12:47:06 +01:00
Thomas Geymayer
2d62275a08
Fix uninitialized member.
...
Thanks to Chris for the catch.
2013-03-20 23:44:26 +01:00
Thomas Geymayer
971ea81861
cppbind: add from_nasal_helper to convert Nasal ghosts to C++ shared pointer
2013-03-19 18:36:55 +01:00
Thomas Geymayer
9e9cc7859c
Interpolation system tweaking and add helpers to SGPropertyNode to interpolate its value
2013-03-17 23:48:01 +01:00
Thomas Geymayer
8898f5fe52
Tweak interpolator and allow passing list of interpolation steps
2013-03-16 16:36:20 +01:00
Thomas Geymayer
40be69ae8e
Remove unecessary dependency from libSimGearCore on libSimGearScene.
2013-03-16 12:19:23 +01:00
Thomas Geymayer
17eec81071
Fix headless build
2013-03-16 10:35:30 +01:00
Thomas Geymayer
c9bbbd18ec
New interpolation/animation system.
...
Inspired by jQuery.animate() properties can be interpolated using
different easing functions and specifying an animation duration.
Additionally animations can be chained to get table-based
animations like with the current SGInterpolator, or also create
looped animations or other more complicated curves.
Currently this system is not used yet, but it is intended to
replace SGInterpolator and allow more advanced animations of
eg. also colors, for example, for the canvas.
2013-03-15 23:37:17 +01:00
Thomas Geymayer
e08eda18d5
CMake: Create list of libs for testing only once
2013-03-15 23:21:38 +01:00
James Turner
d2c03a6651
Fix pick-callbacks with no action.
...
Ensure pick animations work only to show a tooltip. Thanks to Emilian
for noticing I broke this
2013-03-12 21:14:31 +00:00
Thomas Geymayer
0a1e920659
Ensure canvas is updated before displaying image containing a canvas
2013-03-11 21:22:43 +01:00
James Turner
cd58df820e
Standardise location (in XML) of hovered elements.
...
Hovered bindings are always direction children of the pick animation, since having different hovered behaviours per-action makes no sense.
2013-03-11 18:07:27 +00:00
James Turner
1a5467aec8
Collect properties from expression/condition trees.
...
Initial ground-work to support efficient updating of condition/expression results; allow collecting all the dependent property values from the hierarchy, so they can be observed. Also add a very small test-case for this.
2013-03-11 16:53:52 +00:00
Thomas Geymayer
0dcb64dca3
slider - fix shifted check while dragging
2013-03-10 23:10:26 +01:00
James Turner
b703102d9b
Part of fixing bug 1055.
...
Add machinery to convert hateful legacy Windows encodings to UTF-8.
2013-03-10 13:38:29 +00:00
James Turner
3c2ef75b50
Tweaks for pick callback cursors.
2013-03-10 12:03:09 +00:00
James Turner
4fa530354d
Knob/slider - clean up internals.
...
Add support for a global sensitivity parameter to scale drag response.
2013-03-08 16:31:02 +00:00
James Turner
eeeb30dc3f
Work on knob/slider animations.
...
Rename some values, and support mouse-dragging.
2013-03-07 18:40:37 +00:00
PlutoniumHeart
870fc2e53e
Replacing strdup with _strdup in MSVC
2013-03-06 23:58:38 -07:00
Thomas Geymayer
79ae0da927
Fix some warnings
2013-03-07 00:17:45 +01:00
Thomas Geymayer
e179bda57a
add static_pointer_cast for SGSharedPtr
2013-03-06 23:17:02 +01:00
Thomas Geymayer
8e0c15e32e
cppbind: allow adding free functions accepting nasal::CallContext and do some cleanup
2013-03-06 17:00:38 +01:00
Thomas Geymayer
ff844f6760
May MSVC likes this more...
2013-03-05 18:12:17 +01:00
Thomas Geymayer
bc96ac85f4
cppbind: Add some methods to nasal::CallContext
2013-03-05 17:27:49 +01:00
James Turner
33b328e3d5
Fix priority of pick animations.
2013-03-05 08:39:44 +00:00
James Turner
dcda8d1c7a
Add a pick priority lower than the default.
2013-03-04 23:33:21 +00:00
James Turner
5fd2bd225f
Support motion-tracking in pick callbacks.
2013-03-04 23:11:40 +00:00
Thomas Geymayer
2db8859076
cppbind: Tweak from_nasal error reporting
2013-03-04 23:15:13 +01:00
Thomas Geymayer
6eff167a28
Silence MSVC
2013-03-04 18:42:32 +01:00
Thomas Geymayer
9fecb69b84
cppbind: tweaking from_nasal/to_nasal.
2013-03-04 16:26:28 +01:00
Thomas Geymayer
0539aa38e5
cppbind: faster from_nasal for bool and fix VS warning.
2013-03-04 00:30:30 +01:00
James Turner
fe9caad391
Max catalog age configurable per-catalog.
...
Allows for short-validity catalogs for development use.
2013-03-03 23:03:09 +00:00
Thomas Geymayer
ceae2928aa
cppbind: refactor to_nasal for better name lookup.
...
Using template parameter dependent name lookup it is
now possible to create to_nasal_helper overloads
for custom types and having them used for automatic
type conversion with binding methods/member on
nasal::Ghost objects.
2013-03-03 23:42:40 +01:00
Christian Schmitt
0e6934abe5
Add a missing define for minizip, needed on some installations of zlib
2013-03-03 23:35:43 +01:00
Thomas Geymayer
a2e7c92f99
cppbind: Allow getter without from_nasal defined and setter without to_nasal.
2013-03-03 20:55:57 +01:00
Thomas Geymayer
643a8717b4
Make old gcc happy
2013-03-03 20:16:21 +01:00
Thomas Geymayer
f21127fd4a
cppbind: rework to allow binding nearly everything.
...
It is now possible to register all types of member function
and free functions as methods for nasal::Ghost objects.
The return value and arguments are converte automatically
to the required types.
Also usage is simplified by removing replacing the old
method and method_func with a single method function
which only needs a name for the method and something
callable.
2013-03-03 19:28:39 +01:00
Peter Sadrozinski
0bc8005100
Add new api to retreive a list of SGBuckets within a bounding rectangle
2013-03-03 19:21:05 +01:00
James Turner
67efc1f68f
Look for MSVC 3rdparty deps differently.
...
Check for the 3rdparty dir in the parent of build dir, not the parent of the source dir. For the recommended build layout, this is the same location, but for super-builds using fgmeta it's not (and the source tree should not be touched).
If this causes anyone issues, please let me know, since it's possible more flexibility is needed to set the path explicitly.
2013-03-03 16:06:51 +00:00
James Turner
dfebf60e68
Simplify CMakeLists now package code is enabled.
2013-03-03 16:01:06 +00:00
James Turner
26e7d134ce
Package management tweaks.
2013-03-03 15:03:25 +00:00
Thomas Geymayer
c414242f13
sg_netChat: let getTerminator return const char* for compatiblity with FlightGear
2013-03-03 01:19:35 +01:00
Thomas Geymayer
33e60725b1
sg_netChat: Use std::string to prevent crash with old strdup.
...
Thanks to Godspeed for noticing this code crashing with MSVC.
Using std::string should fix this.
2013-03-03 01:12:01 +01:00
James Turner
f21b0985cc
pkgutil can show detailed info about a package.
2013-03-02 17:02:08 +00:00
James Turner
71e9548c20
Lots more work on package support.
...
Delegate is hooked up in the demo util, and Install forwards control to the delegate too.
2013-03-02 16:30:39 +00:00
James Turner
fc64abea5c
LGPL license on package files.
2013-03-02 15:15:52 +00:00
James Turner
413e89c955
Package dependencies.
2013-03-02 15:14:09 +00:00