]> git.tdb.fi Git - libs/demoscene.git/blob - source/stage.h
Framework for loading sequences from files
[libs/demoscene.git] / source / stage.h
1 #ifndef MSP_DEMOSCENE_STAGE_H_
2 #define MSP_DEMOSCENE_STAGE_H_
3
4 #include <msp/gl/pipeline.h>
5 #include "cameracontrol.h"
6 #include "action.h"
7
8 struct Stage
9 {
10         class UseInView: public Action
11         {
12         private:
13                 Msp::GL::View &view;
14                 Stage &stage;
15
16         public:
17                 UseInView(Msp::GL::View &, Stage &);
18
19                 virtual void validate() const { }
20
21                 virtual void start(float, float);
22         };
23
24         Msp::GL::Pipeline *pipeline;
25         CameraControl camera_control;
26
27         Stage();
28         ~Stage();
29 };
30
31 #endif