diff options
author | Paul Gilbert | 2013-03-02 17:30:42 -0500 |
---|---|---|
committer | Paul Gilbert | 2013-03-02 17:30:42 -0500 |
commit | d738802bc1d1441fee8bce3881cd5233044305d6 (patch) | |
tree | d700d98d6d907f49de56ee4b47d0dc5e18d4b99e /engines/hopkins/graphics.h | |
parent | c3bab0aecbb00f55493a0816c217d33dc9359793 (diff) | |
download | scummvm-rg350-d738802bc1d1441fee8bce3881cd5233044305d6.tar.gz scummvm-rg350-d738802bc1d1441fee8bce3881cd5233044305d6.tar.bz2 scummvm-rg350-d738802bc1d1441fee8bce3881cd5233044305d6.zip |
HOPKINS: Converted dirty rects to use Common::Array
Diffstat (limited to 'engines/hopkins/graphics.h')
-rw-r--r-- | engines/hopkins/graphics.h | 12 |
1 files changed, 2 insertions, 10 deletions
diff --git a/engines/hopkins/graphics.h b/engines/hopkins/graphics.h index 0db51a09a1..72fd87c7c3 100644 --- a/engines/hopkins/graphics.h +++ b/engines/hopkins/graphics.h @@ -24,6 +24,7 @@ #define HOPKINS_GRAPHICS_H #include "common/scummsys.h" +#include "common/array.h" #include "common/endian.h" #include "common/rect.h" #include "common/str.h" @@ -46,14 +47,6 @@ struct RGB8 { byte b; }; -struct BlocItem { - uint16 _activeFl; - int _x1; - int _y1; - int _x2; - int _y2; -}; - class HopkinsEngine; class GraphicsManager { @@ -111,8 +104,7 @@ public: bool _skipVideoLockFl; int _fadeDefaultSpeed; - int _dirtyRectCount; - BlocItem _dirtyRects[DIRTY_RECTS_SIZE]; + Common::Array<Common::Rect> _dirtyRects; int WinScan; byte *PAL_PIXELS; bool MANU_SCROLL; |