annotate Engine/Game.h @ 2526:b1c516bf1102

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