annotate Engine/Engine.h @ 2567:d569340b05ff

Few constants changed into enum values
author a.parshin
date Thu, 21 May 2015 01:50:59 +0200
parents b6140dfeac27
children dd36326a9994
rev   line source
2541
a902abdfc7f2 1. Renamed class Game to class Engine.
a.parshin
parents:
diff changeset
1 #pragma once
a902abdfc7f2 1. Renamed class Game to class Engine.
a.parshin
parents:
diff changeset
2 #include "Engine/ErrorHandling.h"
a902abdfc7f2 1. Renamed class Game to class Engine.
a.parshin
parents:
diff changeset
3 #include "Engine/Log.h"
a902abdfc7f2 1. Renamed class Game to class Engine.
a.parshin
parents:
diff changeset
4 #include "Engine/MM7.h"
a902abdfc7f2 1. Renamed class Game to class Engine.
a.parshin
parents:
diff changeset
5 #include "Engine/mm7_data.h"
a902abdfc7f2 1. Renamed class Game to class Engine.
a.parshin
parents:
diff changeset
6
a902abdfc7f2 1. Renamed class Game to class Engine.
a.parshin
parents:
diff changeset
7 void SetCurrentMenuID(enum MENU_STATE);
a902abdfc7f2 1. Renamed class Game to class Engine.
a.parshin
parents:
diff changeset
8 enum MENU_STATE GetCurrentMenuID();
a902abdfc7f2 1. Renamed class Game to class Engine.
a.parshin
parents:
diff changeset
9
a902abdfc7f2 1. Renamed class Game to class Engine.
a.parshin
parents:
diff changeset
10 void Engine_DeinitializeAndTerminate(int exitCode);
a902abdfc7f2 1. Renamed class Game to class Engine.
a.parshin
parents:
diff changeset
11
a902abdfc7f2 1. Renamed class Game to class Engine.
a.parshin
parents:
diff changeset
12
a902abdfc7f2 1. Renamed class Game to class Engine.
a.parshin
parents:
diff changeset
13 #pragma once
a902abdfc7f2 1. Renamed class Game to class Engine.
a.parshin
parents:
diff changeset
14 #include "Engine/VectorTypes.h"
a902abdfc7f2 1. Renamed class Game to class Engine.
a.parshin
parents:
diff changeset
15
a902abdfc7f2 1. Renamed class Game to class Engine.
a.parshin
parents:
diff changeset
16 #include "OSAPI.h"
a902abdfc7f2 1. Renamed class Game to class Engine.
a.parshin
parents:
diff changeset
17
a902abdfc7f2 1. Renamed class Game to class Engine.
a.parshin
parents:
diff changeset
18 #include "Engine/MapInfo.h"
a902abdfc7f2 1. Renamed class Game to class Engine.
a.parshin
parents:
diff changeset
19
a902abdfc7f2 1. Renamed class Game to class Engine.
a.parshin
parents:
diff changeset
20
a902abdfc7f2 1. Renamed class Game to class Engine.
a.parshin
parents:
diff changeset
21 #define GAME_FLAGS_1_01_lightmap_related 0x01
a902abdfc7f2 1. Renamed class Game to class Engine.
a.parshin
parents:
diff changeset
22 #define GAME_FLAGS_1_DRAW_BLV_DEBUGS 0x08
a902abdfc7f2 1. Renamed class Game to class Engine.
a.parshin
parents:
diff changeset
23 #define GAME_FLAGS_2_SATURATE_LIGHTMAPS 0x02
a902abdfc7f2 1. Renamed class Game to class Engine.
a.parshin
parents:
diff changeset
24 #define GAME_FLAGS_2_ALTER_GRAVITY 0x08
a902abdfc7f2 1. Renamed class Game to class Engine.
a.parshin
parents:
diff changeset
25 #define GAME_FLAGS_2_TARGETING_MODE 0x10
a902abdfc7f2 1. Renamed class Game to class Engine.
a.parshin
parents:
diff changeset
26 #define GAME_FLAGS_2_DRAW_BLOODSPLATS 0x20
a902abdfc7f2 1. Renamed class Game to class Engine.
a.parshin
parents:
diff changeset
27
a902abdfc7f2 1. Renamed class Game to class Engine.
a.parshin
parents:
diff changeset
28
a902abdfc7f2 1. Renamed class Game to class Engine.
a.parshin
parents:
diff changeset
29
a902abdfc7f2 1. Renamed class Game to class Engine.
a.parshin
parents:
diff changeset
30 /* 320 */
a902abdfc7f2 1. Renamed class Game to class Engine.
a.parshin
parents:
diff changeset
31 enum GAME_STATE
a902abdfc7f2 1. Renamed class Game to class Engine.
a.parshin
parents:
diff changeset
32 {
a902abdfc7f2 1. Renamed class Game to class Engine.
a.parshin
parents:
diff changeset
33 GAME_STATE_PLAYING = 0,
a902abdfc7f2 1. Renamed class Game to class Engine.
a.parshin
parents:
diff changeset
34 GAME_FINISHED = 1,
a902abdfc7f2 1. Renamed class Game to class Engine.
a.parshin
parents:
diff changeset
35 GAME_STATE_CHANGE_LOCATION = 2,
a902abdfc7f2 1. Renamed class Game to class Engine.
a.parshin
parents:
diff changeset
36 GAME_STATE_LOADING_GAME = 3,
a902abdfc7f2 1. Renamed class Game to class Engine.
a.parshin
parents:
diff changeset
37 GAME_STATE_NEWGAME_OUT_GAMEMENU = 4,
a902abdfc7f2 1. Renamed class Game to class Engine.
a.parshin
parents:
diff changeset
38 GAME_STATE_5 = 5,
a902abdfc7f2 1. Renamed class Game to class Engine.
a.parshin
parents:
diff changeset
39 GAME_STATE_STARTING_NEW_GAME = 6,
a902abdfc7f2 1. Renamed class Game to class Engine.
a.parshin
parents:
diff changeset
40 GAME_STATE_GAME_QUITTING_TO_MAIN_MENU = 7,
a902abdfc7f2 1. Renamed class Game to class Engine.
a.parshin
parents:
diff changeset
41 GAME_STATE_PARTY_DIED = 8,
a902abdfc7f2 1. Renamed class Game to class Engine.
a.parshin
parents:
diff changeset
42 GAME_STATE_FINAL_WINDOW = 9,
a902abdfc7f2 1. Renamed class Game to class Engine.
a.parshin
parents:
diff changeset
43 GAME_STATE_A = 10
a902abdfc7f2 1. Renamed class Game to class Engine.
a.parshin
parents:
diff changeset
44 };
a902abdfc7f2 1. Renamed class Game to class Engine.
a.parshin
parents:
diff changeset
45
a902abdfc7f2 1. Renamed class Game to class Engine.
a.parshin
parents:
diff changeset
46
a902abdfc7f2 1. Renamed class Game to class Engine.
a.parshin
parents:
diff changeset
47
a902abdfc7f2 1. Renamed class Game to class Engine.
a.parshin
parents:
diff changeset
48 /* 105 */
a902abdfc7f2 1. Renamed class Game to class Engine.
a.parshin
parents:
diff changeset
49 #pragma pack(push, 1)
a902abdfc7f2 1. Renamed class Game to class Engine.
a.parshin
parents:
diff changeset
50 struct Game__StationaryLight
a902abdfc7f2 1. Renamed class Game to class Engine.
a.parshin
parents:
diff changeset
51 {
a902abdfc7f2 1. Renamed class Game to class Engine.
a.parshin
parents:
diff changeset
52 Vec3_float_ vPosition;
a902abdfc7f2 1. Renamed class Game to class Engine.
a.parshin
parents:
diff changeset
53 Vec3_float_ vRGBColor;
a902abdfc7f2 1. Renamed class Game to class Engine.
a.parshin
parents:
diff changeset
54 float flt_18;
a902abdfc7f2 1. Renamed class Game to class Engine.
a.parshin
parents:
diff changeset
55 };
a902abdfc7f2 1. Renamed class Game to class Engine.
a.parshin
parents:
diff changeset
56 #pragma pack(pop)
a902abdfc7f2 1. Renamed class Game to class Engine.
a.parshin
parents:
diff changeset
57
a902abdfc7f2 1. Renamed class Game to class Engine.
a.parshin
parents:
diff changeset
58
a902abdfc7f2 1. Renamed class Game to class Engine.
a.parshin
parents:
diff changeset
59 /* 108 */
a902abdfc7f2 1. Renamed class Game to class Engine.
a.parshin
parents:
diff changeset
60 #pragma pack(push, 1)
a902abdfc7f2 1. Renamed class Game to class Engine.
a.parshin
parents:
diff changeset
61 struct Game_stru0
a902abdfc7f2 1. Renamed class Game to class Engine.
a.parshin
parents:
diff changeset
62 {
a902abdfc7f2 1. Renamed class Game to class Engine.
a.parshin
parents:
diff changeset
63 int field_0;
a902abdfc7f2 1. Renamed class Game to class Engine.
a.parshin
parents:
diff changeset
64 unsigned __int8 *ptr_4;
a902abdfc7f2 1. Renamed class Game to class Engine.
a.parshin
parents:
diff changeset
65 int field_8;
a902abdfc7f2 1. Renamed class Game to class Engine.
a.parshin
parents:
diff changeset
66 int field_C;
a902abdfc7f2 1. Renamed class Game to class Engine.
a.parshin
parents:
diff changeset
67 };
a902abdfc7f2 1. Renamed class Game to class Engine.
a.parshin
parents:
diff changeset
68 #pragma pack(pop)
a902abdfc7f2 1. Renamed class Game to class Engine.
a.parshin
parents:
diff changeset
69
a902abdfc7f2 1. Renamed class Game to class Engine.
a.parshin
parents:
diff changeset
70
a902abdfc7f2 1. Renamed class Game to class Engine.
a.parshin
parents:
diff changeset
71 /* 279 */
a902abdfc7f2 1. Renamed class Game to class Engine.
a.parshin
parents:
diff changeset
72 #pragma pack(push, 1)
a902abdfc7f2 1. Renamed class Game to class Engine.
a.parshin
parents:
diff changeset
73 //Game_stru1
a902abdfc7f2 1. Renamed class Game to class Engine.
a.parshin
parents:
diff changeset
74 struct Game_Bloodsplat
a902abdfc7f2 1. Renamed class Game to class Engine.
a.parshin
parents:
diff changeset
75 {
a902abdfc7f2 1. Renamed class Game to class Engine.
a.parshin
parents:
diff changeset
76 float x;
a902abdfc7f2 1. Renamed class Game to class Engine.
a.parshin
parents:
diff changeset
77 float y;
a902abdfc7f2 1. Renamed class Game to class Engine.
a.parshin
parents:
diff changeset
78 float z;
a902abdfc7f2 1. Renamed class Game to class Engine.
a.parshin
parents:
diff changeset
79 float r;
a902abdfc7f2 1. Renamed class Game to class Engine.
a.parshin
parents:
diff changeset
80 float g;
a902abdfc7f2 1. Renamed class Game to class Engine.
a.parshin
parents:
diff changeset
81 float b;
a902abdfc7f2 1. Renamed class Game to class Engine.
a.parshin
parents:
diff changeset
82 float radius;
a902abdfc7f2 1. Renamed class Game to class Engine.
a.parshin
parents:
diff changeset
83 };
a902abdfc7f2 1. Renamed class Game to class Engine.
a.parshin
parents:
diff changeset
84 #pragma pack(pop)
a902abdfc7f2 1. Renamed class Game to class Engine.
a.parshin
parents:
diff changeset
85
a902abdfc7f2 1. Renamed class Game to class Engine.
a.parshin
parents:
diff changeset
86
a902abdfc7f2 1. Renamed class Game to class Engine.
a.parshin
parents:
diff changeset
87 class Vis;
a902abdfc7f2 1. Renamed class Game to class Engine.
a.parshin
parents:
diff changeset
88 class LightmapBuilder;
a902abdfc7f2 1. Renamed class Game to class Engine.
a.parshin
parents:
diff changeset
89 class ParticleEngine;
a902abdfc7f2 1. Renamed class Game to class Engine.
a.parshin
parents:
diff changeset
90 class Mouse;
a902abdfc7f2 1. Renamed class Game to class Engine.
a.parshin
parents:
diff changeset
91 class Keyboard;
a902abdfc7f2 1. Renamed class Game to class Engine.
a.parshin
parents:
diff changeset
92 class ThreadWard;
a902abdfc7f2 1. Renamed class Game to class Engine.
a.parshin
parents:
diff changeset
93 class CShow;
a902abdfc7f2 1. Renamed class Game to class Engine.
a.parshin
parents:
diff changeset
94 class GammaController;
a902abdfc7f2 1. Renamed class Game to class Engine.
a.parshin
parents:
diff changeset
95 struct stru9;
a902abdfc7f2 1. Renamed class Game to class Engine.
a.parshin
parents:
diff changeset
96 struct stru10;
a902abdfc7f2 1. Renamed class Game to class Engine.
a.parshin
parents:
diff changeset
97
a902abdfc7f2 1. Renamed class Game to class Engine.
a.parshin
parents:
diff changeset
98 /* 104 */
a902abdfc7f2 1. Renamed class Game to class Engine.
a.parshin
parents:
diff changeset
99 #pragma pack(push, 1)
a902abdfc7f2 1. Renamed class Game to class Engine.
a.parshin
parents:
diff changeset
100 struct Engine
a902abdfc7f2 1. Renamed class Game to class Engine.
a.parshin
parents:
diff changeset
101 {
a902abdfc7f2 1. Renamed class Game to class Engine.
a.parshin
parents:
diff changeset
102 static Engine *Create();
a902abdfc7f2 1. Renamed class Game to class Engine.
a.parshin
parents:
diff changeset
103 static void Destroy();
a902abdfc7f2 1. Renamed class Game to class Engine.
a.parshin
parents:
diff changeset
104
a902abdfc7f2 1. Renamed class Game to class Engine.
a.parshin
parents:
diff changeset
105 protected: Engine();
a902abdfc7f2 1. Renamed class Game to class Engine.
a.parshin
parents:
diff changeset
106 protected: virtual ~Engine();
a902abdfc7f2 1. Renamed class Game to class Engine.
a.parshin
parents:
diff changeset
107
a902abdfc7f2 1. Renamed class Game to class Engine.
a.parshin
parents:
diff changeset
108
a902abdfc7f2 1. Renamed class Game to class Engine.
a.parshin
parents:
diff changeset
109 public:
a902abdfc7f2 1. Renamed class Game to class Engine.
a.parshin
parents:
diff changeset
110 //void _44E904_gamma_saturation_adjust();
a902abdfc7f2 1. Renamed class Game to class Engine.
a.parshin
parents:
diff changeset
111 //bool InitializeGammaController();
a902abdfc7f2 1. Renamed class Game to class Engine.
a.parshin
parents:
diff changeset
112 bool PickMouse(float fPickDepth, unsigned int uMouseX, unsigned int uMouseY, bool bOutline, struct Vis_SelectionFilter *sprite_filter, struct Vis_SelectionFilter *face_filter);
a902abdfc7f2 1. Renamed class Game to class Engine.
a.parshin
parents:
diff changeset
113 bool PickKeyboard(bool bOutline, struct Vis_SelectionFilter *sprite_filter, struct Vis_SelectionFilter *face_filter);
a902abdfc7f2 1. Renamed class Game to class Engine.
a.parshin
parents:
diff changeset
114 void OutlineSelection();
a902abdfc7f2 1. Renamed class Game to class Engine.
a.parshin
parents:
diff changeset
115 signed int _44EC23(struct Polygon *a2, int *a3, signed int a4);
a902abdfc7f2 1. Renamed class Game to class Engine.
a.parshin
parents:
diff changeset
116 signed int _44ED0A(struct BLVFace *a2, int *a3, signed int a4);
a902abdfc7f2 1. Renamed class Game to class Engine.
a.parshin
parents:
diff changeset
117 bool AlterGamma_BLV(struct BLVFace *pFace, signed int *pColor);
a902abdfc7f2 1. Renamed class Game to class Engine.
a.parshin
parents:
diff changeset
118 bool AlterGamma_ODM(struct ODMFace *pFace, signed int *pColor);
a902abdfc7f2 1. Renamed class Game to class Engine.
a.parshin
parents:
diff changeset
119 bool draw_debug_outlines();
a902abdfc7f2 1. Renamed class Game to class Engine.
a.parshin
parents:
diff changeset
120 bool _44EEA7();
a902abdfc7f2 1. Renamed class Game to class Engine.
a.parshin
parents:
diff changeset
121 bool _44F07B();
a902abdfc7f2 1. Renamed class Game to class Engine.
a.parshin
parents:
diff changeset
122 void ToggleFlags(unsigned int uMask);
a902abdfc7f2 1. Renamed class Game to class Engine.
a.parshin
parents:
diff changeset
123 void ToggleFlags2(unsigned int uFlag);
a902abdfc7f2 1. Renamed class Game to class Engine.
a.parshin
parents:
diff changeset
124 void _44F0FD();
a902abdfc7f2 1. Renamed class Game to class Engine.
a.parshin
parents:
diff changeset
125 void PushStationaryLights(int a2);
a902abdfc7f2 1. Renamed class Game to class Engine.
a.parshin
parents:
diff changeset
126 void PrepareBloodsplats();
a902abdfc7f2 1. Renamed class Game to class Engine.
a.parshin
parents:
diff changeset
127 void Deinitialize();
a902abdfc7f2 1. Renamed class Game to class Engine.
a.parshin
parents:
diff changeset
128 void DrawParticles();
a902abdfc7f2 1. Renamed class Game to class Engine.
a.parshin
parents:
diff changeset
129 void Draw();
a902abdfc7f2 1. Renamed class Game to class Engine.
a.parshin
parents:
diff changeset
130
a902abdfc7f2 1. Renamed class Game to class Engine.
a.parshin
parents:
diff changeset
131 //----- (0042EB6A) --------------------------------------------------------
a902abdfc7f2 1. Renamed class Game to class Engine.
a.parshin
parents:
diff changeset
132 struct stru6 *GetStru6() { return this->pStru6Instance; }
a902abdfc7f2 1. Renamed class Game to class Engine.
a.parshin
parents:
diff changeset
133 //----- (0042EB71) --------------------------------------------------------
2543
b6140dfeac27 GameOver h/cpp
a.parshin
parents: 2541
diff changeset
134 //struct IndoorCameraD3D *GetIndoorCamera() { return this->pIndoorCameraD3D; }
2541
a902abdfc7f2 1. Renamed class Game to class Engine.
a.parshin
parents:
diff changeset
135
a902abdfc7f2 1. Renamed class Game to class Engine.
a.parshin
parents:
diff changeset
136
a902abdfc7f2 1. Renamed class Game to class Engine.
a.parshin
parents:
diff changeset
137 //void ( ***vdestructor_ptr)(Game *, bool);
a902abdfc7f2 1. Renamed class Game to class Engine.
a.parshin
parents:
diff changeset
138 Game__StationaryLight pStationaryLights[25];
a902abdfc7f2 1. Renamed class Game to class Engine.
a.parshin
parents:
diff changeset
139 char field_2C0[1092];
a902abdfc7f2 1. Renamed class Game to class Engine.
a.parshin
parents:
diff changeset
140 unsigned int uNumStationaryLights;
a902abdfc7f2 1. Renamed class Game to class Engine.
a.parshin
parents:
diff changeset
141 Game_Bloodsplat pBloodsplats[20];
a902abdfc7f2 1. Renamed class Game to class Engine.
a.parshin
parents:
diff changeset
142 int field_938;
a902abdfc7f2 1. Renamed class Game to class Engine.
a.parshin
parents:
diff changeset
143 int field_93C;
a902abdfc7f2 1. Renamed class Game to class Engine.
a.parshin
parents:
diff changeset
144 int field_940;
a902abdfc7f2 1. Renamed class Game to class Engine.
a.parshin
parents:
diff changeset
145 int field_944;
a902abdfc7f2 1. Renamed class Game to class Engine.
a.parshin
parents:
diff changeset
146 int field_948;
a902abdfc7f2 1. Renamed class Game to class Engine.
a.parshin
parents:
diff changeset
147 int field_94C;
a902abdfc7f2 1. Renamed class Game to class Engine.
a.parshin
parents:
diff changeset
148 int field_950;
a902abdfc7f2 1. Renamed class Game to class Engine.
a.parshin
parents:
diff changeset
149 int field_954;
a902abdfc7f2 1. Renamed class Game to class Engine.
a.parshin
parents:
diff changeset
150 int field_958;
a902abdfc7f2 1. Renamed class Game to class Engine.
a.parshin
parents:
diff changeset
151 int field_95C;
a902abdfc7f2 1. Renamed class Game to class Engine.
a.parshin
parents:
diff changeset
152 int field_960;
a902abdfc7f2 1. Renamed class Game to class Engine.
a.parshin
parents:
diff changeset
153 int field_964;
a902abdfc7f2 1. Renamed class Game to class Engine.
a.parshin
parents:
diff changeset
154 int field_968;
a902abdfc7f2 1. Renamed class Game to class Engine.
a.parshin
parents:
diff changeset
155 int field_96C;
a902abdfc7f2 1. Renamed class Game to class Engine.
a.parshin
parents:
diff changeset
156 int field_970;
a902abdfc7f2 1. Renamed class Game to class Engine.
a.parshin
parents:
diff changeset
157 Mouse *pMouse;
a902abdfc7f2 1. Renamed class Game to class Engine.
a.parshin
parents:
diff changeset
158 int field_978;
a902abdfc7f2 1. Renamed class Game to class Engine.
a.parshin
parents:
diff changeset
159 Game_stru0 stru_97C;
a902abdfc7f2 1. Renamed class Game to class Engine.
a.parshin
parents:
diff changeset
160 char field_98C[1148];
a902abdfc7f2 1. Renamed class Game to class Engine.
a.parshin
parents:
diff changeset
161 int uNumBloodsplats;
a902abdfc7f2 1. Renamed class Game to class Engine.
a.parshin
parents:
diff changeset
162 int field_E0C;
a902abdfc7f2 1. Renamed class Game to class Engine.
a.parshin
parents:
diff changeset
163 __int64 field_E10;
a902abdfc7f2 1. Renamed class Game to class Engine.
a.parshin
parents:
diff changeset
164 int uNumStationaryLights_in_pStationaryLightsStack;
a902abdfc7f2 1. Renamed class Game to class Engine.
a.parshin
parents:
diff changeset
165 unsigned int __depricated1;//unsigned int bGammaControlInitialized;
a902abdfc7f2 1. Renamed class Game to class Engine.
a.parshin
parents:
diff changeset
166 unsigned int uFlags;
a902abdfc7f2 1. Renamed class Game to class Engine.
a.parshin
parents:
diff changeset
167 unsigned int uFlags2;
a902abdfc7f2 1. Renamed class Game to class Engine.
a.parshin
parents:
diff changeset
168 float fSaturation;
a902abdfc7f2 1. Renamed class Game to class Engine.
a.parshin
parents:
diff changeset
169 unsigned __int64 __depricated2;//unsigned __int64 uSomeGammaStartTime;
a902abdfc7f2 1. Renamed class Game to class Engine.
a.parshin
parents:
diff changeset
170 unsigned __int64 __depricated3;//__int64 uSomeGammaDeltaTime;
a902abdfc7f2 1. Renamed class Game to class Engine.
a.parshin
parents:
diff changeset
171 void/*ThreadWard*/ *pThreadWardInstance;
a902abdfc7f2 1. Renamed class Game to class Engine.
a.parshin
parents:
diff changeset
172 ParticleEngine *pParticleEngine;
a902abdfc7f2 1. Renamed class Game to class Engine.
a.parshin
parents:
diff changeset
173 Mouse *pMouseInstance;
a902abdfc7f2 1. Renamed class Game to class Engine.
a.parshin
parents:
diff changeset
174 LightmapBuilder *pLightmapBuilder;
a902abdfc7f2 1. Renamed class Game to class Engine.
a.parshin
parents:
diff changeset
175 Vis *pVisInstance;
a902abdfc7f2 1. Renamed class Game to class Engine.
a.parshin
parents:
diff changeset
176 stru6 *pStru6Instance;
2543
b6140dfeac27 GameOver h/cpp
a.parshin
parents: 2541
diff changeset
177 void *__depricated5;//IndoorCameraD3D *pIndoorCameraD3D;
2541
a902abdfc7f2 1. Renamed class Game to class Engine.
a.parshin
parents:
diff changeset
178 stru9 *pStru9Instance;
a902abdfc7f2 1. Renamed class Game to class Engine.
a.parshin
parents:
diff changeset
179 stru10 *pStru10Instance;
a902abdfc7f2 1. Renamed class Game to class Engine.
a.parshin
parents:
diff changeset
180 void/*stru11*/ *pStru11Instance;
a902abdfc7f2 1. Renamed class Game to class Engine.
a.parshin
parents:
diff changeset
181 void/*stru12*/ *pStru12Instance;
a902abdfc7f2 1. Renamed class Game to class Engine.
a.parshin
parents:
diff changeset
182 void/*CShow*/ *pCShow;
a902abdfc7f2 1. Renamed class Game to class Engine.
a.parshin
parents:
diff changeset
183 Keyboard *pKeyboardInstance;
a902abdfc7f2 1. Renamed class Game to class Engine.
a.parshin
parents:
diff changeset
184 void *__depricated_4;//GammaController *pGammaController;
a902abdfc7f2 1. Renamed class Game to class Engine.
a.parshin
parents:
diff changeset
185 int field_E74;
a902abdfc7f2 1. Renamed class Game to class Engine.
a.parshin
parents:
diff changeset
186 };
a902abdfc7f2 1. Renamed class Game to class Engine.
a.parshin
parents:
diff changeset
187 #pragma pack(pop)
a902abdfc7f2 1. Renamed class Game to class Engine.
a.parshin
parents:
diff changeset
188
a902abdfc7f2 1. Renamed class Game to class Engine.
a.parshin
parents:
diff changeset
189
a902abdfc7f2 1. Renamed class Game to class Engine.
a.parshin
parents:
diff changeset
190
a902abdfc7f2 1. Renamed class Game to class Engine.
a.parshin
parents:
diff changeset
191
a902abdfc7f2 1. Renamed class Game to class Engine.
a.parshin
parents:
diff changeset
192
a902abdfc7f2 1. Renamed class Game to class Engine.
a.parshin
parents:
diff changeset
193
a902abdfc7f2 1. Renamed class Game to class Engine.
a.parshin
parents:
diff changeset
194 extern Engine *pEngine;
a902abdfc7f2 1. Renamed class Game to class Engine.
a.parshin
parents:
diff changeset
195
a902abdfc7f2 1. Renamed class Game to class Engine.
a.parshin
parents:
diff changeset
196 void sub_42FBDD();
a902abdfc7f2 1. Renamed class Game to class Engine.
a.parshin
parents:
diff changeset
197 void CloseWindowBackground();
a902abdfc7f2 1. Renamed class Game to class Engine.
a.parshin
parents:
diff changeset
198 void back_to_game();
a902abdfc7f2 1. Renamed class Game to class Engine.
a.parshin
parents:
diff changeset
199
a902abdfc7f2 1. Renamed class Game to class Engine.
a.parshin
parents:
diff changeset
200 void UpdateUserInput_and_MapSpecificStuff();
a902abdfc7f2 1. Renamed class Game to class Engine.
a.parshin
parents:
diff changeset
201 void PrepareWorld(unsigned int _0_box_loading_1_fullscreen);
a902abdfc7f2 1. Renamed class Game to class Engine.
a.parshin
parents:
diff changeset
202 void DoPrepareWorld(unsigned int bLoading, int _1_fullscreen_loading_2_box);
a902abdfc7f2 1. Renamed class Game to class Engine.
a.parshin
parents:
diff changeset
203
a902abdfc7f2 1. Renamed class Game to class Engine.
a.parshin
parents:
diff changeset
204 //int __stdcall aWinProc(HWND hWnd, UINT Msg, WPARAM wParam, unsigned int lParam);
a902abdfc7f2 1. Renamed class Game to class Engine.
a.parshin
parents:
diff changeset
205 int __stdcall InsertMM7CDDialogFunc(HWND hDlg, int a2, __int16 a3, int a4);
a902abdfc7f2 1. Renamed class Game to class Engine.
a.parshin
parents:
diff changeset
206 bool __fastcall FindMM7CD(HWND hWnd, char *pCDDrive);
a902abdfc7f2 1. Renamed class Game to class Engine.
a.parshin
parents:
diff changeset
207 //bool __fastcall Initialize(HINSTANCE hInst, char *pCmdLine);
a902abdfc7f2 1. Renamed class Game to class Engine.
a.parshin
parents:
diff changeset
208
a902abdfc7f2 1. Renamed class Game to class Engine.
a.parshin
parents:
diff changeset
209 void FinalInitialization();
a902abdfc7f2 1. Renamed class Game to class Engine.
a.parshin
parents:
diff changeset
210 bool __fastcall CheckMM7CD(char c);
a902abdfc7f2 1. Renamed class Game to class Engine.
a.parshin
parents:
diff changeset
211 void SecondaryInitialization();
a902abdfc7f2 1. Renamed class Game to class Engine.
a.parshin
parents:
diff changeset
212
a902abdfc7f2 1. Renamed class Game to class Engine.
a.parshin
parents:
diff changeset
213
a902abdfc7f2 1. Renamed class Game to class Engine.
a.parshin
parents:
diff changeset
214 void MM6_Initialize(const wchar_t *pIniFilename);
a902abdfc7f2 1. Renamed class Game to class Engine.
a.parshin
parents:
diff changeset
215 void MM7Initialization();
a902abdfc7f2 1. Renamed class Game to class Engine.
a.parshin
parents:
diff changeset
216
a902abdfc7f2 1. Renamed class Game to class Engine.
a.parshin
parents:
diff changeset
217 void __fastcall PrepareToLoadODM(unsigned int bLoading, struct ODMRenderParams *a2);
a902abdfc7f2 1. Renamed class Game to class Engine.
a.parshin
parents:
diff changeset
218 void ResetCursor_Palettes_LODs_Level_Audio_SFT_Windows();
a902abdfc7f2 1. Renamed class Game to class Engine.
a.parshin
parents:
diff changeset
219 void _461103_load_level_sub();
a902abdfc7f2 1. Renamed class Game to class Engine.
a.parshin
parents:
diff changeset
220 void InitializeTurnBasedAnimations(void *);
a902abdfc7f2 1. Renamed class Game to class Engine.
a.parshin
parents:
diff changeset
221 unsigned int GetGravityStrength();
a902abdfc7f2 1. Renamed class Game to class Engine.
a.parshin
parents:
diff changeset
222 void GameUI_StatusBar_UpdateTimedString(unsigned int bForceHide); // idb
a902abdfc7f2 1. Renamed class Game to class Engine.
a.parshin
parents:
diff changeset
223
a902abdfc7f2 1. Renamed class Game to class Engine.
a.parshin
parents:
diff changeset
224 void __fastcall sub_44861E_set_texture(unsigned int uFaceCog, const char *pFilename);
a902abdfc7f2 1. Renamed class Game to class Engine.
a.parshin
parents:
diff changeset
225 void __fastcall sub_44892E_set_faces_bit(int sCogNumber, int bit, int on);
a902abdfc7f2 1. Renamed class Game to class Engine.
a.parshin
parents:
diff changeset
226 void __fastcall SetDecorationSprite(uint16_t uCog, bool bHide, const char *pFileName); // idb
a902abdfc7f2 1. Renamed class Game to class Engine.
a.parshin
parents:
diff changeset
227 void _494035_timed_effects__water_walking_damage__etc();
a902abdfc7f2 1. Renamed class Game to class Engine.
a.parshin
parents:
diff changeset
228 void _493938_regenerate();
a902abdfc7f2 1. Renamed class Game to class Engine.
a.parshin
parents:
diff changeset
229 void sub_491E3A();
a902abdfc7f2 1. Renamed class Game to class Engine.
a.parshin
parents:
diff changeset
230 const char *GetReputationString(signed int a1);
a902abdfc7f2 1. Renamed class Game to class Engine.
a.parshin
parents:
diff changeset
231 unsigned int __fastcall _494820_training_time(unsigned int a1);
a902abdfc7f2 1. Renamed class Game to class Engine.
a.parshin
parents:
diff changeset
232 void LoadLevel_InitializeLevelStr();
a902abdfc7f2 1. Renamed class Game to class Engine.
a.parshin
parents:
diff changeset
233 void OnMapLeave();
a902abdfc7f2 1. Renamed class Game to class Engine.
a.parshin
parents:
diff changeset
234 void OnMapLoad();
a902abdfc7f2 1. Renamed class Game to class Engine.
a.parshin
parents:
diff changeset
235 void Level_LoadEvtAndStr(const char *pLevelName);
a902abdfc7f2 1. Renamed class Game to class Engine.
a.parshin
parents:
diff changeset
236 void sub_4452BB();
a902abdfc7f2 1. Renamed class Game to class Engine.
a.parshin
parents:
diff changeset
237 bool _44100D_should_alter_right_panel();
a902abdfc7f2 1. Renamed class Game to class Engine.
a.parshin
parents:
diff changeset
238 void Transition_StopSound_Autosave(const char *pMapName, MapStartPoint point); // sub_44987B idb
a902abdfc7f2 1. Renamed class Game to class Engine.
a.parshin
parents:
diff changeset
239
a902abdfc7f2 1. Renamed class Game to class Engine.
a.parshin
parents:
diff changeset
240 void __fastcall sub_4451A8_press_any_key(int a1, int a2, int a4);
a902abdfc7f2 1. Renamed class Game to class Engine.
a.parshin
parents:
diff changeset
241
a902abdfc7f2 1. Renamed class Game to class Engine.
a.parshin
parents:
diff changeset
242 void OnTimer(int);
a902abdfc7f2 1. Renamed class Game to class Engine.
a.parshin
parents:
diff changeset
243 bool TeleportToNWCDungeon();