diff options
author | Filippos Karapetis | 2013-06-09 17:13:23 +0300 |
---|---|---|
committer | Filippos Karapetis | 2013-06-09 17:13:23 +0300 |
commit | d00f5c0aa739a7a61618f14b47be137f517d92d7 (patch) | |
tree | 4be63a798ff77c90aa2ac628bb512ca6e3cfef61 /engines/neverhood/graphics.h | |
parent | 9e0c843c9f41239a878e8d2772c27507196428b6 (diff) | |
download | scummvm-rg350-d00f5c0aa739a7a61618f14b47be137f517d92d7.tar.gz scummvm-rg350-d00f5c0aa739a7a61618f14b47be137f517d92d7.tar.bz2 scummvm-rg350-d00f5c0aa739a7a61618f14b47be137f517d92d7.zip |
NEVERHOOD: Add a console command to display the current surfaces
Diffstat (limited to 'engines/neverhood/graphics.h')
-rw-r--r-- | engines/neverhood/graphics.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/engines/neverhood/graphics.h b/engines/neverhood/graphics.h index a0ac1f09d5..9ab0d87ab9 100644 --- a/engines/neverhood/graphics.h +++ b/engines/neverhood/graphics.h @@ -83,7 +83,7 @@ class MouseCursorResource; class BaseSurface { public: - BaseSurface(NeverhoodEngine *vm, int priority, int16 width, int16 height); + BaseSurface(NeverhoodEngine *vm, int priority, int16 width, int16 height, Common::String name); virtual ~BaseSurface(); virtual void draw(); void clear(); @@ -104,10 +104,12 @@ public: void setVisible(bool value) { _visible = value; } void setTransparent(bool value) { _transparent = value; } Graphics::Surface *getSurface() { return _surface; } + const Common::String getName() const { return _name; } protected: NeverhoodEngine *_vm; int _priority; bool _visible; + Common::String _name; Graphics::Surface *_surface; NDrawRect _drawRect; NDrawRect _sysRect; |