aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/sci.h
diff options
context:
space:
mode:
authorFilippos Karapetis2010-06-10 08:11:38 +0000
committerFilippos Karapetis2010-06-10 08:11:38 +0000
commit0ab7c908bb3971a74bb1c8848d6f59f161464ad1 (patch)
tree25e87d47ef767d392990315c313a9c442c67a6f8 /engines/sci/sci.h
parent50c1f4e545dde784341eebf6eb8cd6d3ce0751b7 (diff)
downloadscummvm-rg350-0ab7c908bb3971a74bb1c8848d6f59f161464ad1.tar.gz
scummvm-rg350-0ab7c908bb3971a74bb1c8848d6f59f161464ad1.tar.bz2
scummvm-rg350-0ab7c908bb3971a74bb1c8848d6f59f161464ad1.zip
Removed the pointer to the game object from the EngineState class
svn-id: r49562
Diffstat (limited to 'engines/sci/sci.h')
-rw-r--r--engines/sci/sci.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/engines/sci/sci.h b/engines/sci/sci.h
index 4e6be667f1..4096019a86 100644
--- a/engines/sci/sci.h
+++ b/engines/sci/sci.h
@@ -161,6 +161,7 @@ public:
inline EngineState *getEngineState() const { return _gamestate; }
inline Vocabulary *getVocabulary() const { return _vocabulary; }
inline EventManager *getEventManager() const { return _eventMan; }
+ inline reg_t getGameObject() const { return _gameObj; }
Common::String getSavegameName(int nr) const;
Common::String getSavegamePattern() const;
@@ -259,6 +260,7 @@ private:
Kernel *_kernel;
Vocabulary *_vocabulary;
EventManager *_eventMan;
+ reg_t _gameObj; /**< Pointer to the game object */
Console *_console;
OSystem *_system;
};