X-Git-Url: http://git.tdb.fi/?p=libs%2Fgl.git;a=blobdiff_plain;f=source%2Fanimationplayer.h;h=93482c74f9b88daac2744e343f2bc04ab6bbdb42;hp=f4eb0c767c8c660296e35c204588c40f6d7da42e;hb=573ea4e5602c4321cc1d75daf9ed0beed5cde280;hpb=4b4d2a48048268d2ad48bafbce8647af8088573f diff --git a/source/animationplayer.h b/source/animationplayer.h index f4eb0c76..93482c74 100644 --- a/source/animationplayer.h +++ b/source/animationplayer.h @@ -19,20 +19,18 @@ class AnimationPlayer private: struct AnimationSlot { - const Animation &animation; + const Animation *animation; Animation::Iterator iterator; AnimationSlot(const Animation &); }; - typedef std::list AnimationList; - struct ObjectSlot { AnimatedObject &object; Matrix base_matrix; const Armature *armature; - AnimationList animations; + std::vector animations; bool stacked; ObjectSlot(AnimatedObject &);