Mercurial > mm7
diff GUI/UI/UIArena.cpp @ 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 | 1bcadc6dd203 |
children | d569340b05ff |
line wrap: on
line diff
--- a/GUI/UI/UIArena.cpp Sat May 09 12:55:58 2015 +0200 +++ b/GUI/UI/UIArena.cpp Sun May 10 01:29:11 2015 +0200 @@ -4,7 +4,8 @@ #define _CRT_SECURE_NO_WARNINGS -#include "../../Engine/mm7_data.h" +#include "Engine/Engine.h" + #include "../../Engine/Graphics/Sprites.h" #include "../../GUI/GUIWindow.h" @@ -17,7 +18,6 @@ #include "../../Engine/Events.h" #include "../../Engine/Graphics/Viewport.h" #include "../../Engine/texts.h" -#include "../../Engine/MM7.h" std::array<Vec2_int_, 20> pMonsterArenaPlacements = {{