Mercurial > mm7
comparison Engine/LOD.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 | c7264ab7132f |
children | d87bfbd3bb3b |
comparison
equal
deleted
inserted
replaced
2540:abc6a9d079b9 | 2541:a902abdfc7f2 |
---|---|
1 #define _CRTDBG_MAP_ALLOC | 1 #define _CRTDBG_MAP_ALLOC |
2 #include <stdlib.h> | 2 #include <stdlib.h> |
3 #include <crtdbg.h> | 3 #include <crtdbg.h> |
4 | 4 |
5 #define _CRT_SECURE_NO_WARNINGS | 5 #define _CRT_SECURE_NO_WARNINGS |
6 #include "Engine/ErrorHandling.h" | 6 |
7 #include "Engine/Engine.h" | |
8 | |
7 #include "LOD.h" | 9 #include "LOD.h" |
8 #include "Engine/Graphics/Render.h" | 10 #include "Engine/Graphics/Render.h" |
9 #include "Engine/Graphics/Viewport.h" | 11 #include "Engine/Graphics/Viewport.h" |
10 #include "mm7_data.h" | |
11 #include "ZlibWrapper.h" | 12 #include "ZlibWrapper.h" |
12 | 13 |
13 #include "Engine/Graphics/Sprites.h" | 14 #include "Engine/Graphics/Sprites.h" |
14 | 15 |
15 | 16 |