diff options
author | Arnaud Boutonné | 2011-02-02 21:12:51 +0000 |
---|---|---|
committer | Arnaud Boutonné | 2011-02-02 21:12:51 +0000 |
commit | 426354953618135c0cffd6e9f34caf606066e363 (patch) | |
tree | bb7bbf704988282dc04a42704136d24e70b5a53c /engines/hugo/file_v2d.cpp | |
parent | 441c5e02111461e901f1f886f62e63f3afb131e3 (diff) | |
download | scummvm-rg350-426354953618135c0cffd6e9f34caf606066e363.tar.gz scummvm-rg350-426354953618135c0cffd6e9f34caf606066e363.tar.bz2 scummvm-rg350-426354953618135c0cffd6e9f34caf606066e363.zip |
HUGO: 'Constify' engine as much as possible
svn-id: r55741
Diffstat (limited to 'engines/hugo/file_v2d.cpp')
-rw-r--r-- | engines/hugo/file_v2d.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/engines/hugo/file_v2d.cpp b/engines/hugo/file_v2d.cpp index ceff07286b..06e4c71c28 100644 --- a/engines/hugo/file_v2d.cpp +++ b/engines/hugo/file_v2d.cpp @@ -74,7 +74,7 @@ void FileManager_v2d::closeDatabaseFiles() { /** * Read a PCX image into dib_a */ -void FileManager_v2d::readBackground(int screenIndex) { +void FileManager_v2d::readBackground(const int screenIndex) { debugC(1, kDebugFile, "readBackground(%d)", screenIndex); _sceneryArchive1.seek((uint32) screenIndex * sizeof(sceneBlock_t), SEEK_SET); @@ -100,7 +100,7 @@ void FileManager_v2d::readBackground(int screenIndex) { /** * Open and read in an overlay file, close file */ -void FileManager_v2d::readOverlay(int screenNum, image_pt image, ovl_t overlayType) { +void FileManager_v2d::readOverlay(const int screenNum, image_pt image, ovl_t overlayType) { debugC(1, kDebugFile, "readOverlay(%d, ...)", screenNum); image_pt tmpImage = image; // temp ptr to overlay file @@ -161,7 +161,7 @@ void FileManager_v2d::readOverlay(int screenNum, image_pt image, ovl_t overlayTy /** * Fetch string from file, decode and return ptr to string in memory */ -char *FileManager_v2d::fetchString(int index) { +char *FileManager_v2d::fetchString(const int index) { debugC(1, kDebugFile, "fetchString(%d)", index); static char buffer[kMaxBoxChar]; |