diff options
author | Nipun Garg | 2019-06-08 03:55:38 +0530 |
---|---|---|
committer | Eugene Sandulenko | 2019-09-03 17:16:45 +0200 |
commit | 9b220dba13e1b5a14830631c15dfb2c8818c67a3 (patch) | |
tree | 9d45520062e22946f247a85ad2f23853d81ba545 | |
parent | 3007d8cad55045f0060a5672696848366912af24 (diff) | |
download | scummvm-rg350-9b220dba13e1b5a14830631c15dfb2c8818c67a3.tar.gz scummvm-rg350-9b220dba13e1b5a14830631c15dfb2c8818c67a3.tar.bz2 scummvm-rg350-9b220dba13e1b5a14830631c15dfb2c8818c67a3.zip |
HDB: Modify Picture/Tile to use a Managed Surface
-rw-r--r-- | engines/hdb/draw-manager.h | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/engines/hdb/draw-manager.h b/engines/hdb/draw-manager.h index 064cfe923b..9e5125eedd 100644 --- a/engines/hdb/draw-manager.h +++ b/engines/hdb/draw-manager.h @@ -23,7 +23,7 @@ #ifndef HDB_DRAW_MANAGER_H #define HDB_DRAW_MANAGER_H -#include "graphics/surface.h" +#include "graphics/managed_surface.h" #include "hdb/hdb.h" @@ -101,7 +101,7 @@ private: uint _width, _height; char _name[64]; - Graphics::Surface _surface; + Graphics::ManagedSurface _surface; }; @@ -113,11 +113,12 @@ public: Graphics::Surface load(Common::SeekableReadStream *stream); void draw(int x, int y); -private: uint32 _flags; + +private: char _name[64]; - Graphics::Surface _surface; + Graphics::ManagedSurface _surface; }; } // End of Namespace HDB |