aboutsummaryrefslogtreecommitdiff
path: root/engines/kyra/screen_lok.h
diff options
context:
space:
mode:
authorMax Horn2009-04-11 09:57:57 +0000
committerMax Horn2009-04-11 09:57:57 +0000
commit5749b363d58d49c79db0a63f7eb136b34e3c641f (patch)
tree558f31601b4eee6c753a196f65c5af05b7c806e4 /engines/kyra/screen_lok.h
parent728745767294ecc3abf7fcb730370ff8951999ed (diff)
downloadscummvm-rg350-5749b363d58d49c79db0a63f7eb136b34e3c641f.tar.gz
scummvm-rg350-5749b363d58d49c79db0a63f7eb136b34e3c641f.tar.bz2
scummvm-rg350-5749b363d58d49c79db0a63f7eb136b34e3c641f.zip
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
Diffstat (limited to 'engines/kyra/screen_lok.h')
-rw-r--r--engines/kyra/screen_lok.h6
1 files changed, 5 insertions, 1 deletions
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;