Mercurial > mm7
comparison Game.h @ 2463:0f17a30149ec
cleaning project part 1
author | zipi |
---|---|
date | Sun, 17 Aug 2014 15:13:18 +0100 |
parents | 5d263539bbec |
children | 104fdbea0386 |
comparison
equal
deleted
inserted
replaced
2462:1d04e48651d4 | 2463:0f17a30149ec |
---|---|
1 #pragma once | 1 #pragma once |
2 #include "VectorTypes.h" | 2 #include "VectorTypes.h" |
3 | |
4 #include "OSAPI.h" | |
3 | 5 |
4 | 6 |
5 #define GAME_FLAGS_1_01_lightmap_related 0x01 | 7 #define GAME_FLAGS_1_01_lightmap_related 0x01 |
6 #define GAME_FLAGS_1_DRAW_BLV_DEBUGS 0x08 | 8 #define GAME_FLAGS_1_DRAW_BLV_DEBUGS 0x08 |
7 #define GAME_FLAGS_2_SATURATE_LIGHTMAPS 0x02 | 9 #define GAME_FLAGS_2_SATURATE_LIGHTMAPS 0x02 |
181 void sub_42FBDD(); | 183 void sub_42FBDD(); |
182 void CloseWindowBackground(); | 184 void CloseWindowBackground(); |
183 void GameUI_MsgProc(); | 185 void GameUI_MsgProc(); |
184 void back_to_game(); | 186 void back_to_game(); |
185 void GUI_MainMenuMessageProc(); | 187 void GUI_MainMenuMessageProc(); |
188 | |
189 void UpdateUserInput_and_MapSpecificStuff(); | |
190 void PrepareWorld(unsigned int _0_box_loading_1_fullscreen); | |
191 void DoPrepareWorld(unsigned int bLoading, int _1_fullscreen_loading_2_box); | |
192 | |
193 //int __stdcall aWinProc(HWND hWnd, UINT Msg, WPARAM wParam, unsigned int lParam); | |
194 int __stdcall InsertMM7CDDialogFunc(HWND hDlg, int a2, __int16 a3, int a4); | |
195 bool __fastcall FindMM7CD(HWND hWnd, char *pCDDrive); | |
196 //bool __fastcall Initialize(HINSTANCE hInst, char *pCmdLine); | |
197 | |
198 void Game_DeinitializeAndTerminate(int exitCode); // idb | |
199 void FinalInitialization(); | |
200 bool __fastcall CheckMM7CD(char c); | |
201 void SecondaryInitialization(); | |
202 | |
203 | |
204 void MM6_Initialize(const wchar_t *pIniFilename); | |
205 void MM7Initialization(); | |
206 | |
207 void __fastcall PrepareToLoadODM(unsigned int bLoading, struct ODMRenderParams *a2); | |
208 void MainMenu_Loop(); | |
209 unsigned int GameOverMenu(void *ecx0); | |
210 void ResetCursor_Palettes_LODs_Level_Audio_SFT_Windows(); | |
211 void _461103_load_level_sub(); | |
212 void init_event_triggers(); | |
213 void InitializeTurnBasedAnimations(void *); | |
214 void SetCurrentMenuID(enum MENU_STATE); // idb | |
215 enum MENU_STATE GetCurrentMenuID(); | |
216 unsigned int GetGravityStrength(); | |
217 void GameUI_StatusBar_UpdateTimedString(unsigned int bForceHide); // idb | |
218 | |
219 void __fastcall sub_44861E_set_texture(unsigned int uFaceCog, const char *pFilename); | |
220 void __fastcall sub_44892E_set_faces_bit(int sCogNumber, int bit, int on); | |
221 void __fastcall SetDecorationSprite(uint16_t uCog, bool bHide, const char *pFileName); // idb |