X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fstage.h;h=c43cccb31601e2d86637706c69224973f7489979;hb=423a982cb00a9ec74fc154d729cbf88518adc6d8;hp=f34e6ae8462eeb01360c4bfab816ed3f969b9dfb;hpb=35332818fc6bad98fe77831de2c51a11326e31aa;p=libs%2Fdemoscene.git diff --git a/source/stage.h b/source/stage.h index f34e6ae..c43cccb 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 view(const std::string &); + void stage(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); };