diff options
Diffstat (limited to 'engines/mads/scene_data.h')
-rw-r--r-- | engines/mads/scene_data.h | 27 |
1 files changed, 2 insertions, 25 deletions
diff --git a/engines/mads/scene_data.h b/engines/mads/scene_data.h index d7c008b66d..33c053f8ec 100644 --- a/engines/mads/scene_data.h +++ b/engines/mads/scene_data.h @@ -34,6 +34,7 @@ #include "mads/game_data.h" #include "mads/hotspots.h" #include "mads/messages.h" +#include "mads/rails.h" #include "mads/user_interface.h" namespace MADS { @@ -116,25 +117,6 @@ struct ARTHeader { void load(Common::SeekableReadStream *f); }; -class SceneNode { -public: - Common::Point _walkPos; - int _indexes[MAX_ROUTE_NODES]; - bool _active; - - /** - * Constructor - */ - SceneNode() : _active(false) {} - - /** - * Loads the scene node - */ - void load(Common::SeekableReadStream *f); -}; -typedef Common::Array<SceneNode> SceneNodeList; - - /** * Handles general data for a given scene */ @@ -179,7 +161,7 @@ public: int _usageIndex; Common::Array<RGB4> _palAnimData; - SceneNodeList _nodes; + WalkNodeList _nodes; public: /** * Destructor @@ -198,11 +180,6 @@ public: MSurface &depthSurface, MSurface &bgSurface); /** - * Set up a route node - */ - void setRouteNode(int nodeIndex, const Common::Point &pt, MSurface &depthSurface); - - /** * Loads the given surface with depth information of a given scene */ virtual void loadCodes(MSurface &depthSurface, Common::SeekableReadStream *stream) = 0; |