[Scummvm-cvs-logs] SF.net SVN: scummvm:[55291] scummvm/trunk/engines/hugo

strangerke at users.sourceforge.net strangerke at users.sourceforge.net
Tue Jan 18 09:32:10 CET 2011


Revision: 55291
          http://scummvm.svn.sourceforge.net/scummvm/?rev=55291&view=rev
Author:   strangerke
Date:     2011-01-18 08:32:10 +0000 (Tue, 18 Jan 2011)

Log Message:
-----------
HUGO: Clean-up

Modify debug level for 2 debug messages, 
Suppress obsolete comments,
Fix typo in comment

Modified Paths:
--------------
    scummvm/trunk/engines/hugo/file_v2w.cpp
    scummvm/trunk/engines/hugo/intro_v3d.cpp
    scummvm/trunk/engines/hugo/intro_v3w.cpp
    scummvm/trunk/engines/hugo/schedule.cpp

Modified: scummvm/trunk/engines/hugo/file_v2w.cpp
===================================================================
--- scummvm/trunk/engines/hugo/file_v2w.cpp	2011-01-18 08:14:23 UTC (rev 55290)
+++ scummvm/trunk/engines/hugo/file_v2w.cpp	2011-01-18 08:32:10 UTC (rev 55291)
@@ -45,7 +45,7 @@
 
 /**
 * 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);

Modified: scummvm/trunk/engines/hugo/intro_v3d.cpp
===================================================================
--- scummvm/trunk/engines/hugo/intro_v3d.cpp	2011-01-18 08:14:23 UTC (rev 55290)
+++ scummvm/trunk/engines/hugo/intro_v3d.cpp	2011-01-18 08:32:10 UTC (rev 55291)
@@ -90,8 +90,6 @@
 * 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 @@
 	}
 
 	return (++introTicks >= _vm->getIntroSize());
-//#else //STORY
-//	return true;
-//#endif //STORY
 }
 
 } // End of namespace Hugo

Modified: scummvm/trunk/engines/hugo/intro_v3w.cpp
===================================================================
--- scummvm/trunk/engines/hugo/intro_v3w.cpp	2011-01-18 08:14:23 UTC (rev 55290)
+++ scummvm/trunk/engines/hugo/intro_v3w.cpp	2011-01-18 08:32:10 UTC (rev 55291)
@@ -73,8 +73,6 @@
 * 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 @@
 	}
 
 	return (++introTicks >= _vm->getIntroSize());
-//#else //STORY
-//	return true;
-//#endif //STORY
 }
 } // End of namespace Hugo

Modified: scummvm/trunk/engines/hugo/schedule.cpp
===================================================================
--- scummvm/trunk/engines/hugo/schedule.cpp	2011-01-18 08:14:23 UTC (rev 55290)
+++ scummvm/trunk/engines/hugo/schedule.cpp	2011-01-18 08:32:10 UTC (rev 55291)
@@ -111,7 +111,7 @@
 * 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 @@
 * Note: DOS Versions only
 */
 void Scheduler::waitForRefresh(void) {
-	debugC(1, kDebugSchedule, "waitForRefresh()");
+	debugC(5, kDebugSchedule, "waitForRefresh()");
 
 	static uint32 timeout = 0;
 	uint32 t;


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.




More information about the Scummvm-git-logs mailing list