[Scummvm-cvs-logs] SF.net SVN: scummvm: [31934] scummvm/trunk/engines/kyra/timer_mr.cpp
lordhoto at users.sourceforge.net
lordhoto at users.sourceforge.net
Wed May 7 23:12:26 CEST 2008
Revision: 31934
http://scummvm.svn.sourceforge.net/scummvm/?rev=31934&view=rev
Author: lordhoto
Date: 2008-05-07 14:12:26 -0700 (Wed, 07 May 2008)
Log Message:
-----------
Implemented KyraEngine_MR::timerFleaDeath.
Modified Paths:
--------------
scummvm/trunk/engines/kyra/timer_mr.cpp
Modified: scummvm/trunk/engines/kyra/timer_mr.cpp
===================================================================
--- scummvm/trunk/engines/kyra/timer_mr.cpp 2008-05-07 21:04:06 UTC (rev 31933)
+++ scummvm/trunk/engines/kyra/timer_mr.cpp 2008-05-07 21:12:26 UTC (rev 31934)
@@ -64,7 +64,25 @@
void KyraEngine_MR::timerFleaDeath(int arg) {
debugC(9, kDebugLevelMain | kDebugLevelTimer, "KyraEngine_MR::timerFleaDeath(%d)", arg);
- warning("STUB timerFleaDeath");
+ _timer->setCountdown(4, 5400);
+ saveGame(getSavegameFilename(999), "SECOND CHANCE SAVE GAME");
+ _screen->hideMouse();
+ _timer->disable(4);
+ runAnimationScript("FLEADTH1.EMC", 0, 0, 1, 1);
+ runAnimationScript("FLEADTH2.EMC", 0, 0, 1, 0);
+ showBadConscience();
+ delay(60, true);
+ const char *str1 = (const char *)getTableEntry(_cCodeFile, 130);
+ const char *str2 = (const char *)getTableEntry(_cCodeFile, 131);
+ if (str1 && str2) {
+ badConscienceChat(str1, 204, 130);
+ badConscienceChat(str2, 204, 131);
+ }
+ delay(60, true);
+ hideBadConscience();
+ runAnimationScript("FLEADTH3.EMC", 0, 0, 0, 1);
+ _deathHandler = 9;
+ _screen->showMouse();
}
void KyraEngine_MR::setWalkspeed(uint8 speed) {
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