Mercurial > mm7
diff Engine/mm7_data.h @ 2541:a902abdfc7f2
1. Renamed class Game to class Engine.
2. Separated game logic as state of FSM from game logic as engine.
3. Found out that many UI screen initializers were optimized away, intially
they all returned newly created window as separate object like it is done
in CharacterUI_Initialize.
author | a.parshin |
---|---|
date | Sun, 10 May 2015 01:29:11 +0200 |
parents | 407263babde8 |
children | bacf9809126a |
line wrap: on
line diff
--- a/Engine/mm7_data.h Sat May 09 12:55:58 2015 +0200 +++ b/Engine/mm7_data.h Sun May 10 01:29:11 2015 +0200 @@ -308,7 +308,7 @@ extern float flt_4D84E8; -extern int pCurrentScreen; // 004E28F8 +extern enum CURRENT_SCREEN current_screen_type; // 004E28F8 extern unsigned int uGammaPos; extern std::array<int, 8> BtnTurnCoord; extern std::array<__int16, 4> RightClickPortraitXmin; @@ -422,7 +422,7 @@ extern int uLastPointedObjectID; // weak //extern unsigned __int8 bMonsterInfoUI_bDollInitialized; extern std::array<const char *, 44> aSpellNames; -extern int pMainScreenNum; // weak +extern enum CURRENT_SCREEN prev_screen_type; // weak extern int dword_506980_uW; // weak extern int dword_506984_uZ; // weak extern int dword_506988_uY; // weak