diff options
author | Paul Gilbert | 2014-03-06 22:31:41 -0500 |
---|---|---|
committer | Paul Gilbert | 2014-03-06 22:31:41 -0500 |
commit | a77ed90618664e50705b3e59dd2111faec2f5f39 (patch) | |
tree | b7f55059e7902cf0d2007fcecb015029aa21d37a /engines/mads/msurface.h | |
parent | c9186f51b9502a4cfb1881f2db4f92eeb6227144 (diff) | |
download | scummvm-rg350-a77ed90618664e50705b3e59dd2111faec2f5f39.tar.gz scummvm-rg350-a77ed90618664e50705b3e59dd2111faec2f5f39.tar.bz2 scummvm-rg350-a77ed90618664e50705b3e59dd2111faec2f5f39.zip |
MADS: Implementing support methods needed for scene 804 initialisation
Diffstat (limited to 'engines/mads/msurface.h')
-rw-r--r-- | engines/mads/msurface.h | 15 |
1 files changed, 15 insertions, 0 deletions
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 */ |