From a77ed90618664e50705b3e59dd2111faec2f5f39 Mon Sep 17 00:00:00 2001 From: Paul Gilbert Date: Thu, 6 Mar 2014 22:31:41 -0500 Subject: MADS: Implementing support methods needed for scene 804 initialisation --- engines/mads/msurface.h | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'engines/mads/msurface.h') diff --git a/engines/mads/msurface.h b/engines/mads/msurface.h index bd8142fd1a..96994170aa 100644 --- a/engines/mads/msurface.h +++ b/engines/mads/msurface.h @@ -202,6 +202,21 @@ public: MSurface *flipHorizontal() const; }; +class DepthSurface : public MSurface { +private: + MADSEngine *_vm; +public: + /** + * Constructor + */ + DepthSurface(MADSEngine *vm) : _vm(vm) {} + + /** + * Returns the depth at a given position + */ + int getDepth(const Common::Point &pt); +}; + } // End of namespace MADS #endif /* MADS_MSURFACE_H */ -- cgit v1.2.3