aboutsummaryrefslogtreecommitdiff
path: root/engines/lastexpress/entities
diff options
context:
space:
mode:
authorLittleboy2012-07-27 00:54:24 -0400
committerLittleboy2012-07-27 00:54:24 -0400
commit6aeda2638b9bdfbbef3b0fb89c1c776415e13c2c (patch)
tree84f568260f4cd2466968b134d1d3f9ea9dc8da29 /engines/lastexpress/entities
parent115a4d36ba673579bd683cac90828f22606f7468 (diff)
downloadscummvm-rg350-6aeda2638b9bdfbbef3b0fb89c1c776415e13c2c.tar.gz
scummvm-rg350-6aeda2638b9bdfbbef3b0fb89c1c776415e13c2c.tar.bz2
scummvm-rg350-6aeda2638b9bdfbbef3b0fb89c1c776415e13c2c.zip
LASTEXPRESS: More include re-organization
Diffstat (limited to 'engines/lastexpress/entities')
-rw-r--r--engines/lastexpress/entities/entity.cpp2
-rw-r--r--engines/lastexpress/entities/entity.h9
2 files changed, 5 insertions, 6 deletions
diff --git a/engines/lastexpress/entities/entity.cpp b/engines/lastexpress/entities/entity.cpp
index 02822256d0..0842a7a78c 100644
--- a/engines/lastexpress/entities/entity.cpp
+++ b/engines/lastexpress/entities/entity.cpp
@@ -26,10 +26,8 @@
#include "lastexpress/game/action.h"
#include "lastexpress/game/entities.h"
-#include "lastexpress/game/logic.h"
#include "lastexpress/game/object.h"
#include "lastexpress/game/savegame.h"
-#include "lastexpress/game/savepoint.h"
#include "lastexpress/game/scenes.h"
namespace LastExpress {
diff --git a/engines/lastexpress/entities/entity.h b/engines/lastexpress/entities/entity.h
index 872eae188e..e890bba0b5 100644
--- a/engines/lastexpress/entities/entity.h
+++ b/engines/lastexpress/entities/entity.h
@@ -25,9 +25,12 @@
#include "lastexpress/shared.h"
-#include "lastexpress/sound/sound.h"
+#include "lastexpress/game/logic.h"
+#include "lastexpress/game/savepoint.h"
#include "lastexpress/game/state.h"
+#include "lastexpress/sound/sound.h"
+
#include "lastexpress/lastexpress.h"
#include "lastexpress/helpers.h"
@@ -864,9 +867,6 @@ private:
class Entity : Common::Serializable {
public:
-
- typedef Common::Functor1<const SavePoint&, void> Callback;
-
Entity(LastExpressEngine *engine, EntityIndex index);
virtual ~Entity();
@@ -900,6 +900,7 @@ public:
protected:
LastExpressEngine *_engine;
+ typedef Common::Functor1<const SavePoint&, void> Callback;
EntityIndex _entityIndex;
EntityData *_data;