X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fstage.h;h=1ab32d83d27d07fa50be5510c5b7bf8216ab43db;hb=7857d6ec5961f94bc926b1a969f2c841713f9650;hp=f34e6ae8462eeb01360c4bfab816ed3f969b9dfb;hpb=35332818fc6bad98fe77831de2c51a11326e31aa;p=libs%2Fdemoscene.git diff --git a/source/stage.h b/source/stage.h index f34e6ae..1ab32d8 100644 --- a/source/stage.h +++ b/source/stage.h @@ -3,19 +3,33 @@ #include #include "cameracontrol.h" -#include "sequencer.h" +#include "action.h" struct Stage { - class UseInView: public Sequencer::Action + class UseInView: public Action { + public: + class Loader: public Msp::DataFile::DerivedObjectLoader + { + public: + Loader(UseInView &, Demo &); + + private: + void stage(const std::string &); + void view(const std::string &); + }; + private: - Msp::GL::View &view; - Stage &stage; + Msp::GL::View *view; + Stage *stage; public: + UseInView(); UseInView(Msp::GL::View &, Stage &); + virtual void validate() const; + virtual void start(float, float); };