From 5749b363d58d49c79db0a63f7eb136b34e3c641f Mon Sep 17 00:00:00 2001 From: Max Horn Date: Sat, 11 Apr 2009 09:57:57 +0000 Subject: KYRA: Replaced Rect class by Common::Rect; replaced dirty rect handling code by code similiar to the one used in SAGA and the frontend GUI code svn-id: r39929 --- engines/kyra/screen_lok.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'engines/kyra/screen_lok.h') diff --git a/engines/kyra/screen_lok.h b/engines/kyra/screen_lok.h index 136c098160..9250f1863c 100644 --- a/engines/kyra/screen_lok.h +++ b/engines/kyra/screen_lok.h @@ -32,6 +32,10 @@ namespace Kyra { class KyraEngine_LoK; +enum { + BITBLIT_RECTS = 10 +}; + class Screen_LoK : public Screen { public: Screen_LoK(KyraEngine_LoK *vm, OSystem *system); @@ -65,7 +69,7 @@ protected: static const ScreenDim _screenDimTable[]; static const int _screenDimTableCount; - Rect *_bitBlitRects; + Common::Rect _bitBlitRects[BITBLIT_RECTS]; int _bitBlitNum; uint8 *_unkPtr1, *_unkPtr2; -- cgit v1.2.3