diff options
author | Arnaud Boutonné | 2011-01-23 00:05:52 +0000 |
---|---|---|
committer | Arnaud Boutonné | 2011-01-23 00:05:52 +0000 |
commit | 3f6496d5b5b2caf0b935b27bca557ae53a880302 (patch) | |
tree | 0b1da465ca9b7c1787ab73865366df4e4c89c721 /engines/hugo/file_v1d.cpp | |
parent | 257a6b2e6d432cd343e213218474a61f61a72980 (diff) | |
download | scummvm-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_v1d.cpp')
-rw-r--r-- | engines/hugo/file_v1d.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/engines/hugo/file_v1d.cpp b/engines/hugo/file_v1d.cpp index 9d764df1f4..e61d6a029c 100644 --- a/engines/hugo/file_v1d.cpp +++ b/engines/hugo/file_v1d.cpp @@ -64,7 +64,7 @@ void FileManager_v1d::readOverlay(int screenNum, image_pt image, ovl_t overlayTy strcat(strcpy(buf, _vm->_screenNames[screenNum]), ovl_ext[overlayType]); if (!fileExists(buf)) { - for (uint32 i = 0; i < OVL_SIZE; i++) + for (uint32 i = 0; i < kOvlSize; i++) image[i] = 0; warning("File not found: %s", buf); return; @@ -75,7 +75,7 @@ void FileManager_v1d::readOverlay(int screenNum, image_pt image, ovl_t overlayTy image_pt tmpImage = image; // temp ptr to overlay file - _sceneryArchive1.read(tmpImage, OVL_SIZE); + _sceneryArchive1.read(tmpImage, kOvlSize); _sceneryArchive1.close(); free(buf); } @@ -125,7 +125,7 @@ void FileManager_v1d::instructions() { f.read(wrkLine, 1); } while (*wrkLine++ != EOP); wrkLine[-2] = '\0'; // Remove EOP and previous CR - Utils::Box(BOX_ANY, "%s", line); + Utils::Box(kBoxAny, "%s", line); wrkLine = line; f.read(readBuf, 2); // Remove CRLF after EOP } |