]> git.tdb.fi Git - libs/demoscene.git/blobdiff - source/animate.h
Use an OpenGL 3.2 core context unless requested otherwise
[libs/demoscene.git] / source / animate.h
index d386a7ac452a90cedb392cadf5c859a9f2c15e31..50e279c57e67ae618f95bc6ea5efa70efbbbb569 100644 (file)
@@ -1,10 +1,14 @@
 #ifndef MSP_DEMOSCENE_ANIMATE_H_
 #define MSP_DEMOSCENE_ANIMATE_H_
 
+#include <msp/gl/animatedobject.h>
 #include <msp/gl/animation.h>
 #include <msp/gl/animationplayer.h>
 #include "action.h"
 
+namespace Msp {
+namespace DemoScene {
+
 class Animate: public Action
 {
 public:
@@ -20,7 +24,9 @@ public:
 
 private:
        Msp::GL::Placeable *target;
+       Msp::GL::AnimatedObject *target_obj;
        const Msp::GL::Animation *anim;
+       bool stacked;
        Msp::GL::AnimationPlayer *player;
 
 public:
@@ -32,4 +38,7 @@ public:
        virtual void start(float, float);
 };
 
+} // namespace DemoScene
+} // namespace Msp
+
 #endif