Vladimír Vondruš
0fd62194c8
Trade: mutable access in AnimationData.
...
Follows the change done in MeshData.
6 years ago
Vladimír Vondruš
a3ab27f7b9
Trade: return TrackView with const types from AnimationData.
...
Follows the change done in 954798a9ba .
6 years ago
Vladimír Vondruš
9ea46261ad
Trade: test that all *Data move constructors/assignments are noexcept.
7 years ago
Vladimír Vondruš
fb930187c1
Animation: adapt to Corrade changes.
7 years ago
Vladimír Vondruš
3626562e1d
Adapted to Corrade changes.
...
Mostly missing includes now.
7 years ago
Vladimír Vondruš
2149f7b869
Wrap all tests in unnamed namespaces.
...
This makes the compiler warn about test cases that aren't ever used,
which is a good thing.
7 years ago
Vladimír Vondruš
e6b7aa12fa
Updated copyright year.
7 years ago
Vladimír Vondruš
e43d5790f6
Trade: change animation track target to target type and target ID to target.
...
This is in line with how the other APIs are named (for example
ObjectDataXD have instance type and instance). This would be very hard
to change later without breaking backwards compatibility, so I'm doing
it now, until the animation APIs get widely used.
8 years ago
Vladimír Vondruš
aa2e888bed
Trade: provide untyped access to tracks in AnimationData.
...
This reduces the templated code a bit, as I moved the index assertion to
the *.cpp file. Also the function now returns a reference to avoid
needless copies -- it's a view, but still quite a heavy view.
8 years ago
Vladimír Vondruš
1b583454b4
Trade: support both implicit and explicit duration in AnimationData.
8 years ago
Vladimír Vondruš
0109e0d7fe
Trade: convenience default constructor for AnimationTrackData.
...
Otherwise one would need to use a NoInit Array constructor and that
would cause dangling deleter function pointer call after the plugin gets
unloaded.
8 years ago
Vladimír Vondruš
dd1c8052ff
Trade: initial AnimationData implementation.
8 years ago