diff options
author | Arnaud Boutonné | 2011-01-18 08:32:10 +0000 |
---|---|---|
committer | Arnaud Boutonné | 2011-01-18 08:32:10 +0000 |
commit | 839926ef10f4352bb360431cd34bbae4ec3b35bc (patch) | |
tree | 340e727549f9ee1bbc4d863cb36789874a95e336 /engines/hugo | |
parent | 61b90c43d81474f5d253e8e1c43302c99382cbb0 (diff) | |
download | scummvm-rg350-839926ef10f4352bb360431cd34bbae4ec3b35bc.tar.gz scummvm-rg350-839926ef10f4352bb360431cd34bbae4ec3b35bc.tar.bz2 scummvm-rg350-839926ef10f4352bb360431cd34bbae4ec3b35bc.zip |
HUGO: Clean-up
Modify debug level for 2 debug messages,
Suppress obsolete comments,
Fix typo in comment
svn-id: r55291
Diffstat (limited to 'engines/hugo')
-rw-r--r-- | engines/hugo/file_v2w.cpp | 2 | ||||
-rw-r--r-- | engines/hugo/intro_v3d.cpp | 5 | ||||
-rw-r--r-- | engines/hugo/intro_v3w.cpp | 5 | ||||
-rw-r--r-- | engines/hugo/schedule.cpp | 4 |
4 files changed, 3 insertions, 13 deletions
diff --git a/engines/hugo/file_v2w.cpp b/engines/hugo/file_v2w.cpp index 65d6a0d6da..d25d6f9312 100644 --- a/engines/hugo/file_v2w.cpp +++ b/engines/hugo/file_v2w.cpp @@ -45,7 +45,7 @@ FileManager_v2w::~FileManager_v2w() { /** * Display a Windows help file -* Dame comment than in SCI: maybe in the future we can implement this, but for now this message should suffice +* Same comment than in SCI: maybe in the future we can implement this, but for now this message should suffice */ void FileManager_v2w::instructions() { Utils::Box(BOX_ANY, "Please use an external viewer to open the game's help file: HUGOWIN%d.HLP", _vm->_gameVariant + 1); diff --git a/engines/hugo/intro_v3d.cpp b/engines/hugo/intro_v3d.cpp index 59ec9c4781..e723e639d4 100644 --- a/engines/hugo/intro_v3d.cpp +++ b/engines/hugo/intro_v3d.cpp @@ -90,8 +90,6 @@ void intro_v3d::introInit() { * Called every tick. Returns TRUE when complete */ bool intro_v3d::introPlay() { -//TODO : Add proper check of story mode -//#if STORY if (_vm->getGameStatus().skipIntroFl) return true; @@ -114,9 +112,6 @@ bool intro_v3d::introPlay() { } return (++introTicks >= _vm->getIntroSize()); -//#else //STORY -// return true; -//#endif //STORY } } // End of namespace Hugo diff --git a/engines/hugo/intro_v3w.cpp b/engines/hugo/intro_v3w.cpp index 47cf8abdb5..161cf242e5 100644 --- a/engines/hugo/intro_v3w.cpp +++ b/engines/hugo/intro_v3w.cpp @@ -73,8 +73,6 @@ void intro_v3w::introInit() { * Called every tick. Returns TRUE when complete */ bool intro_v3w::introPlay() { -//TODO : Add proper check of story mode -//#if STORY if (_vm->getGameStatus().skipIntroFl) return true; @@ -98,8 +96,5 @@ bool intro_v3w::introPlay() { } return (++introTicks >= _vm->getIntroSize()); -//#else //STORY -// return true; -//#endif //STORY } } // End of namespace Hugo diff --git a/engines/hugo/schedule.cpp b/engines/hugo/schedule.cpp index 52f0222466..722c5a03cb 100644 --- a/engines/hugo/schedule.cpp +++ b/engines/hugo/schedule.cpp @@ -111,7 +111,7 @@ void Scheduler::decodeString(char *line) { * Return system time in ticks. A tick is 1/TICKS_PER_SEC mS */ uint32 Scheduler::getWinTicks() { - debugC(3, kDebugSchedule, "getWinTicks"); + debugC(5, kDebugSchedule, "getWinTicks()"); return _vm->getGameStatus().tick; } @@ -227,7 +227,7 @@ void Scheduler::restoreScreen(int screenIndex) { * Note: DOS Versions only */ void Scheduler::waitForRefresh(void) { - debugC(1, kDebugSchedule, "waitForRefresh()"); + debugC(5, kDebugSchedule, "waitForRefresh()"); static uint32 timeout = 0; uint32 t; |