aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engines/simon/simon.cpp7
-rw-r--r--engines/simon/simon.h2
-rw-r--r--engines/simon/verb.cpp7
3 files changed, 16 insertions, 0 deletions
diff --git a/engines/simon/simon.cpp b/engines/simon/simon.cpp
index 7a00af0fbd..063c854626 100644
--- a/engines/simon/simon.cpp
+++ b/engines/simon/simon.cpp
@@ -312,6 +312,8 @@ SimonEngine::SimonEngine(OSystem *syst)
_mouseXOld = 0;
_mouseYOld = 0;
+ _noRightClick = false;
+
_dummyItem1 = new Item();
_dummyItem2 = new Item();
_dummyItem3 = new Item();
@@ -1677,6 +1679,11 @@ void SimonEngine::handle_mouse_moved() {
}
}
}
+
+ if (_rightClick) {
+ _rightClick = false;
+ setVerb_Feeble();
+ }
}
if (getGameType() == GType_SIMON2) {
diff --git a/engines/simon/simon.h b/engines/simon/simon.h
index ca7620fa13..55f8a91ce1 100644
--- a/engines/simon/simon.h
+++ b/engines/simon/simon.h
@@ -322,6 +322,7 @@ protected:
bool _unkPalFlag;
bool _exitCutscene;
bool _rightClick;
+ bool _noRightClick;
byte _paletteFlag;
uint _soundFileId;
@@ -553,6 +554,7 @@ protected:
HitArea *findEmptyHitArea();
void resetVerbs();
void setVerb(HitArea * ha);
+ void setVerb_Feeble();
void hitarea_leave(HitArea * ha);
void leaveHitAreaById(uint hitarea_id);
diff --git a/engines/simon/verb.cpp b/engines/simon/verb.cpp
index e6cc9924d8..ba0680424d 100644
--- a/engines/simon/verb.cpp
+++ b/engines/simon/verb.cpp
@@ -442,6 +442,13 @@ void SimonEngine::setVerb(HitArea *ha) {
_currentVerbBox = ha;
}
+void SimonEngine::setVerb_Feeble() {
+ if (_noRightClick)
+ return;
+
+ warning("STUB: setVerb_Feeble");
+}
+
void SimonEngine::hitarea_leave(HitArea *ha) {
if (!(getGameType() == GType_SIMON2)) {
video_toggle_colors(ha, 0xdf, 0xd5, 0xda, 5);