aboutsummaryrefslogtreecommitdiff
path: root/queen/display.h
diff options
context:
space:
mode:
authorGregory Montoir2004-01-02 14:15:45 +0000
committerGregory Montoir2004-01-02 14:15:45 +0000
commitc7965a7a04d73f6b86cb1ef6bcdde7a4a531413c (patch)
tree81330e7204667ab49bcbcc6e5964785b874d2ff8 /queen/display.h
parentf7642601fe7b708a593e1aa644d315c0429f46f4 (diff)
downloadscummvm-rg350-c7965a7a04d73f6b86cb1ef6bcdde7a4a531413c.tar.gz
scummvm-rg350-c7965a7a04d73f6b86cb1ef6bcdde7a4a531413c.tar.bz2
scummvm-rg350-c7965a7a04d73f6b86cb1ef6bcdde7a4a531413c.zip
minor rewrite of screenblanker code
svn-id: r12086
Diffstat (limited to 'queen/display.h')
-rw-r--r--queen/display.h10
1 files changed, 4 insertions, 6 deletions
diff --git a/queen/display.h b/queen/display.h
index 645176f64b..1317a81fdd 100644
--- a/queen/display.h
+++ b/queen/display.h
@@ -97,7 +97,7 @@ public:
void readPCXPanel(const uint8 *pcxBuf, uint32 size);
void horizontalScrollUpdate(int16 xCamera);
- void horizontalScroll(int16 scroll);
+ void horizontalScroll(int16 scroll) { _horizontalScroll = scroll; }
int16 horizontalScroll() const { return _horizontalScroll; }
void fullscreen(bool fs) { debug(6, "Display::fullscreen(%d)", fs); _fullscreen = fs; }
@@ -131,9 +131,7 @@ private:
SCREEN_W = 320,
SCREEN_H = 200,
PANEL_W = 320,
- PANEL_H = 50,
- MINI_W = 32,
- MINI_H = 32
+ PANEL_H = 50
};
TextRenderer _textRenderer;
@@ -145,8 +143,8 @@ private:
bool scrollable;
} _pal;
- uint8 *_buffer[4];
- uint16 _bufPitch[4];
+ uint8 *_buffer[3];
+ uint16 _bufPitch[3];
bool _fullscreen;