From b651a74b45f922c5d7bd8182cbe465298c8cf270 Mon Sep 17 00:00:00 2001 From: Johannes Schickel Date: Mon, 3 Mar 2008 22:38:31 +0000 Subject: Started to implement GUI code for HoF. Currently working: - _basic_ inventory, this doesn't include scrolling through the inventory svn-id: r31038 --- engines/kyra/screen_v2.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'engines/kyra/screen_v2.cpp') diff --git a/engines/kyra/screen_v2.cpp b/engines/kyra/screen_v2.cpp index cb3967b73a..2bec373266 100644 --- a/engines/kyra/screen_v2.cpp +++ b/engines/kyra/screen_v2.cpp @@ -687,6 +687,9 @@ void Screen_v2::drawShape(uint8 page, const uint8 *shape, int x, int y, int sd, uint8 *dst = getPagePtr(page) + y * 320 + x; uint8 *dstStart = getPagePtr(page); + if (page == 0 || page == 1) + addDirtyRect(x, y, x2-x1, y2-y1); + clearOverlayRect(page, x, y, x2-x1, y2-y1); int scaleYTable[200]; for (y = y1; y < y2; ++y) { -- cgit v1.2.3