From 04868be95b617bb64e0e468eeb16915af19993f8 Mon Sep 17 00:00:00 2001 From: Strangerke Date: Tue, 3 Nov 2015 21:32:18 +0100 Subject: MADS: Phantom: Implement setupCatacombs --- engines/mads/phantom/game_phantom.h | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'engines/mads/phantom/game_phantom.h') diff --git a/engines/mads/phantom/game_phantom.h b/engines/mads/phantom/game_phantom.h index d6de29b496..1ba8ade815 100644 --- a/engines/mads/phantom/game_phantom.h +++ b/engines/mads/phantom/game_phantom.h @@ -69,6 +69,7 @@ enum InventoryObject { }; enum MazeEvent { + MAZE_EVENT_NONE = 0, MAZE_EVENT_PUDDLE = 0x0001, MAZE_EVENT_RAT_NEST = 0x0002, MAZE_EVENT_SKULL = 0x0004, @@ -83,8 +84,19 @@ enum MazeEvent { MAZE_EVENT_FALLEN_BLOCK = 0x0800 }; +struct Catacombs { + int _sceneNum; + int _exit[4]; + int _fromDirection[4]; + int _flags; +}; + class GamePhantom : public Game { friend class Game; + +private: + Catacombs *catacombs; + protected: GamePhantom(MADSEngine *vm); @@ -111,6 +123,7 @@ public: virtual void synchronize(Common::Serializer &s, bool phase1); + void setupCatacombs(); void enterCatacombs(int val); void initCatacombs(); void moveCatacombs(int dir) { warning("TODO: moveCataCombs"); }; -- cgit v1.2.3