[Scummvm-git-logs] scummvm master -> 51806ec2f6cdcdd99988226802089dcf8b218cf8
bluegr
bluegr at gmail.com
Thu Sep 16 00:05:09 UTC 2021
This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .
Summary:
51806ec2f6 GROOVIE: Hook up the puzzle logic of the 11th Hour puzzles in UHP
Commit: 51806ec2f6cdcdd99988226802089dcf8b218cf8
https://github.com/scummvm/scummvm/commit/51806ec2f6cdcdd99988226802089dcf8b218cf8
Author: Filippos Karapetis (bluegr at gmail.com)
Date: 2021-09-16T03:04:54+03:00
Commit Message:
GROOVIE: Hook up the puzzle logic of the 11th Hour puzzles in UHP
Changed paths:
engines/groovie/script.cpp
diff --git a/engines/groovie/script.cpp b/engines/groovie/script.cpp
index 88613f5174..2dfd8b9713 100644
--- a/engines/groovie/script.cpp
+++ b/engines/groovie/script.cpp
@@ -2128,14 +2128,18 @@ void Script::o2_gamespecial() {
}
break;
case kGroovieUHP:
+ if (_t11hGame == NULL) {
+ _t11hGame = new T11hGame();
+ _t11hGame->setVariables(_variables);
+ }
switch (arg) {
case 2:
debugC(1, kDebugScript, "Groovie::Script Op42 (0x%02X): UHP Beehive Puzzle", arg);
- // TODO: Same as the 11H beehive puzzle (opBeehive)
+ _t11hGame->opBeehive();
break;
case 5:
debugC(1, kDebugScript, "Groovie::Script Op42 (0x%02X): UHP Mouse Trap", arg);
- // TODO: Same as the 11H mousetrap puzzle (opMouseTrap)
+ _t11hGame->opMouseTrap();
break;
case 8:
debugC(1, kDebugScript, "Groovie::Script Op42 (0x%02X): UHP Othello", arg);
More information about the Scummvm-git-logs
mailing list