[Scummvm-git-logs] scummvm master -> 17a0848d77dbf40769599e7ed9c8a7623663e14d
bluegr
bluegr at gmail.com
Thu Oct 21 22:58:11 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:
17a0848d77 GROOVIE: Mark game logic functions that are used in UHP
Commit: 17a0848d77dbf40769599e7ed9c8a7623663e14d
https://github.com/scummvm/scummvm/commit/17a0848d77dbf40769599e7ed9c8a7623663e14d
Author: Filippos Karapetis (bluegr at gmail.com)
Date: 2021-10-22T01:58:01+03:00
Commit Message:
GROOVIE: Mark game logic functions that are used in UHP
Changed paths:
engines/groovie/logic/clangame.cpp
engines/groovie/logic/clangame.h
engines/groovie/logic/t11hgame.cpp
diff --git a/engines/groovie/logic/clangame.cpp b/engines/groovie/logic/clangame.cpp
index 1ab5c86f85..077bec3849 100644
--- a/engines/groovie/logic/clangame.cpp
+++ b/engines/groovie/logic/clangame.cpp
@@ -51,9 +51,14 @@ ClanGame::~ClanGame() {
void ClanGame::handleOp(uint8 op) {
switch (op) {
+ case 7:
+ debugC(1, kDebugScript, "Groovie::Script: Op42 (0x%02X): Clandestiny unknown -> NOP", op);
+ break;
+
case 8:
- debugC(1, kDebugScript, "Groovie::Script Op42 (0x%02X): Clandestiny Othello", op);
- // TODO: Clandestiny Othello/Reversi puzzle (opOthello)
+ debugC(1, kDebugScript, "Groovie::Script Op42 (0x%02X): Clandestiny Othello / Reversi", op);
+ // NOTE: Reused in UHP
+ opOthello();
break;
default:
@@ -61,4 +66,8 @@ void ClanGame::handleOp(uint8 op) {
}
}
+void ClanGame::opOthello() {
+ // TODO
+}
+
} // namespace Groovie
diff --git a/engines/groovie/logic/clangame.h b/engines/groovie/logic/clangame.h
index df0bd52534..478f3e7d09 100644
--- a/engines/groovie/logic/clangame.h
+++ b/engines/groovie/logic/clangame.h
@@ -38,6 +38,8 @@ public:
private:
byte *_scriptVariables;
+
+ void opOthello();
};
} // namespace Groovie
diff --git a/engines/groovie/logic/t11hgame.cpp b/engines/groovie/logic/t11hgame.cpp
index 81cc2e9156..678d4f27c6 100644
--- a/engines/groovie/logic/t11hgame.cpp
+++ b/engines/groovie/logic/t11hgame.cpp
@@ -50,6 +50,7 @@ void T11hGame::handleOp(uint8 op) {
case 2:
debugC(1, kDebugScript, "Groovie::Script Op42 (0x%02X): T11H Beehive Puzzle in the top room (hs.grv)", op);
+ // NOTE: Reused in UHP
opBeehive();
break;
@@ -65,6 +66,7 @@ void T11hGame::handleOp(uint8 op) {
case 5:
debugC(1, kDebugScript, "Groovie::Script Op42 (0x%02X): T11H Mouse Trap in the lab (al.grv)", op);
+ // NOTE: Reused in UHP
opMouseTrap();
break;
More information about the Scummvm-git-logs
mailing list