initial commit
[ld37_one_room] / src / metascene.h
1 #ifndef METASCENE_H_
2 #define METASCENE_H_
3
4 #include <map>
5 #include "scene.h"
6 #include "mesh.h"
7 #include "datamap.h"
8
9 class MetaScene {
10 public:
11         DataMap datamap;
12
13         std::vector<Scene*> scenes;
14
15         Mesh *walk_mesh;
16         Vec3 start_pos;
17         Quat start_rot;
18
19         std::map<Scene*, void*> scndata;
20
21
22         MetaScene();
23         ~MetaScene();
24
25         bool load(const char *fname);
26         bool scene_loaded(Scene *scn);
27
28         void update(float dt);
29         void draw() const;
30 };
31
32 #endif  // METASCENE_H_