|
@@ -8,12 +8,18 @@
|
8
|
8
|
#ifndef _GAME_H_
|
9
|
9
|
#define _GAME_H_
|
10
|
10
|
|
|
11
|
+#include <list>
|
|
12
|
+
|
11
|
13
|
#include "Camera.h"
|
12
|
14
|
#include "global.h"
|
13
|
15
|
#include "Render.h"
|
14
|
16
|
#include "TombRaider.h"
|
15
|
17
|
#include "World.h"
|
16
|
18
|
|
|
19
|
+typedef enum {
|
|
20
|
+ Flag_DebugModel = (1 << 0)
|
|
21
|
+} GameFlags;
|
|
22
|
+
|
17
|
23
|
/*!
|
18
|
24
|
* \brief Game abstraction
|
19
|
25
|
*/
|
|
@@ -45,8 +51,20 @@ public:
|
45
|
51
|
|
46
|
52
|
private:
|
47
|
53
|
|
|
54
|
+ void processPakSounds();
|
|
55
|
+ void processTextures();
|
|
56
|
+ void processSprites();
|
|
57
|
+ void processMoveables();
|
|
58
|
+ void processMoveable(int index, int i, int *ent,
|
|
59
|
+ std::vector<skeletal_model_t *> &cache2,
|
|
60
|
+ std::vector<unsigned int> &cache, int object_id);
|
|
61
|
+ void processModel(int index);
|
|
62
|
+ void processRoom(int index);
|
|
63
|
+ void setupTextureColor(texture_tri_t *r_tri, float *colorf);
|
|
64
|
+
|
48
|
65
|
bool mLoaded;
|
49
|
66
|
char *mName;
|
|
67
|
+ unsigned int mFlags;
|
50
|
68
|
TombRaider mTombRaider;
|
51
|
69
|
|
52
|
70
|
unsigned int mTextureStart;
|