]> git.tdb.fi Git - libs/demoscene.git/blob - source/stage.h
Initial files lifted from the Skrolliparty 2 demo
[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 "sequencer.h"
7
8 struct Stage
9 {
10         class UseInView: public Sequencer::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 start(float, float);
20         };
21
22         Msp::GL::Pipeline *pipeline;
23         CameraControl camera_control;
24
25         Stage();
26         ~Stage();
27 };
28
29 #endif