[Scummvm-git-logs] scummvm master -> dcfccd1874116f716fcdf04ab88d8ff275715178
phcoder
noreply at scummvm.org
Tue Dec 21 07:05:05 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:
dcfccd1874 HADESCH: Show message when skipping minigames
Commit: dcfccd1874116f716fcdf04ab88d8ff275715178
https://github.com/scummvm/scummvm/commit/dcfccd1874116f716fcdf04ab88d8ff275715178
Author: Vladimir Serbinenko (phcoder at gmail.com)
Date: 2021-12-21T02:04:57-05:00
Commit Message:
HADESCH: Show message when skipping minigames
Changed paths:
engines/hadesch/rooms/daedalus.cpp
engines/hadesch/rooms/medisle.cpp
engines/hadesch/rooms/troy.cpp
diff --git a/engines/hadesch/rooms/daedalus.cpp b/engines/hadesch/rooms/daedalus.cpp
index 08dd52148f..660e7ee579 100644
--- a/engines/hadesch/rooms/daedalus.cpp
+++ b/engines/hadesch/rooms/daedalus.cpp
@@ -26,6 +26,8 @@
#include "hadesch/ambient.h"
#include "common/translation.h"
+#include "gui/message.h"
+
namespace Hadesch {
static const char *kDaedalusStillFrame = "daedalus still frame";
@@ -204,13 +206,16 @@ public:
case 13007:
room->enableMouse();
break;
- case 13008:
+ case 13008: {
room->enableMouse();
room->selectFrame("daedalus exclaims still", kDaedalusZ,0);
// TODO: for now we skip arcade sequence until it's implemented
// g_vm->moveToRoom(kMinotaurPuzzle);
+ GUI::MessageDialog dialog(_("The Minotaur minigame is not supported yet. Skipping"));
+ dialog.runModal();
g_vm->moveToRoom(kQuiz);
break;
+ }
case 13011: {
// TODO: use right algorithm
int roarNum = g_vm->getRnd().getRandomNumberRng(1, 5);
diff --git a/engines/hadesch/rooms/medisle.cpp b/engines/hadesch/rooms/medisle.cpp
index a424a8d4cc..60424b7d18 100644
--- a/engines/hadesch/rooms/medisle.cpp
+++ b/engines/hadesch/rooms/medisle.cpp
@@ -26,6 +26,8 @@
#include "hadesch/ambient.h"
#include "common/translation.h"
+#include "gui/message.h"
+
namespace Hadesch {
static const char *kStoneAnim = "g0110ob0";
@@ -642,8 +644,11 @@ TODO (medusa quest):
// TODO: arcade sequence
if (0) {
g_vm->moveToRoom(kMedusaPuzzle);
- } else
+ } else {
+ GUI::MessageDialog dialog(_("The Medusa minigame is not supported yet. Skipping"));
+ dialog.runModal();
g_vm->moveToRoom(kQuiz);
+ }
break;
case 11024:
renderPerseus();
diff --git a/engines/hadesch/rooms/troy.cpp b/engines/hadesch/rooms/troy.cpp
index 51f8bea679..d0bb12b294 100644
--- a/engines/hadesch/rooms/troy.cpp
+++ b/engines/hadesch/rooms/troy.cpp
@@ -26,6 +26,8 @@
#include "hadesch/ambient.h"
#include "common/translation.h"
+#include "gui/message.h"
+
namespace Hadesch {
static const char *kDamagedWall = "t1010ob0";
@@ -500,9 +502,12 @@ public:
case 10065:
room->playAnim("t1350bb0", 501, PlayAnimParams::loop().partial(8, 11));
break;
- case 10066:
+ case 10066: {
+ GUI::MessageDialog dialog(_("The Troy minigame is not supported yet. Skipping"));
+ dialog.runModal();
g_vm->moveToRoom(kQuiz);
break;
+ }
case 10069:
// TODO: check this
room->playVideo("T1270BA0", 0, 10070, Common::Point(0, 216));
More information about the Scummvm-git-logs
mailing list