diff Engine/TurnEngine/TurnEngine.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 a76d408c5132
line wrap: on
line diff
--- a/Engine/TurnEngine/TurnEngine.cpp	Sat May 09 12:55:58 2015 +0200
+++ b/Engine/TurnEngine/TurnEngine.cpp	Sun May 10 01:29:11 2015 +0200
@@ -4,9 +4,8 @@
 
 #define _CRT_SECURE_NO_WARNINGS
 
+#include "Engine/Engine.h"
 
-#include "../MM7.h"
-#include "../mm7_data.h"
 #include "Engine/Objects/Actor.h"
 #include "../Party.h"
 #include "Media/Audio/AudioPlayer.h"
@@ -19,8 +18,6 @@
 
 #include "TurnEngine.h"
 
-
-#include "../Game.h"
 struct stru262_TurnBased *pTurnEngine = new stru262_TurnBased;