aboutsummaryrefslogtreecommitdiff
path: root/engines/hugo/file_v1w.cpp
diff options
context:
space:
mode:
authorArnaud Boutonné2011-01-23 00:05:52 +0000
committerArnaud Boutonné2011-01-23 00:05:52 +0000
commit3f6496d5b5b2caf0b935b27bca557ae53a880302 (patch)
tree0b1da465ca9b7c1787ab73865366df4e4c89c721 /engines/hugo/file_v1w.cpp
parent257a6b2e6d432cd343e213218474a61f61a72980 (diff)
downloadscummvm-rg350-3f6496d5b5b2caf0b935b27bca557ae53a880302.tar.gz
scummvm-rg350-3f6496d5b5b2caf0b935b27bca557ae53a880302.tar.bz2
scummvm-rg350-3f6496d5b5b2caf0b935b27bca557ae53a880302.zip
HUGO: Cleanup
Suppress almost all defines, rename constants svn-id: r55451
Diffstat (limited to 'engines/hugo/file_v1w.cpp')
-rw-r--r--engines/hugo/file_v1w.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/engines/hugo/file_v1w.cpp b/engines/hugo/file_v1w.cpp
index 2033f17620..2701b67c2b 100644
--- a/engines/hugo/file_v1w.cpp
+++ b/engines/hugo/file_v1w.cpp
@@ -64,15 +64,15 @@ void FileManager_v1w::readOverlay(int screenNum, image_pt image, ovl_t overlayTy
uint32 i = 0;
switch (overlayType) {
- case BOUNDARY:
+ case kOvlBoundary:
_sceneryArchive1.seek(sceneBlock.b_off, SEEK_SET);
i = sceneBlock.b_len;
break;
- case OVERLAY:
+ case kOvlOverlay:
_sceneryArchive1.seek(sceneBlock.o_off, SEEK_SET);
i = sceneBlock.o_len;
break;
- case OVLBASE:
+ case kOvlBase:
_sceneryArchive1.seek(sceneBlock.ob_off, SEEK_SET);
i = sceneBlock.ob_len;
break;
@@ -81,11 +81,11 @@ void FileManager_v1w::readOverlay(int screenNum, image_pt image, ovl_t overlayTy
break;
}
if (i == 0) {
- for (i = 0; i < OVL_SIZE; i++)
+ for (i = 0; i < kOvlSize; i++)
image[i] = 0;
return;
}
- _sceneryArchive1.read(tmpImage, OVL_SIZE);
+ _sceneryArchive1.read(tmpImage, kOvlSize);
}
} // End of namespace Hugo