diff options
author | Torbjörn Andersson | 2006-04-04 08:50:35 +0000 |
---|---|---|
committer | Torbjörn Andersson | 2006-04-04 08:50:35 +0000 |
commit | cb513de999a8602cadfcba7f87f9e9a1c87caf1e (patch) | |
tree | a5d8fbcadb7563d7d8de2a3ef2d31fc2cd19d3e5 /engines | |
parent | f5943d7e7f6b82297530a0a7794f06b1ec2531ec (diff) | |
download | scummvm-rg350-cb513de999a8602cadfcba7f87f9e9a1c87caf1e.tar.gz scummvm-rg350-cb513de999a8602cadfcba7f87f9e9a1c87caf1e.tar.bz2 scummvm-rg350-cb513de999a8602cadfcba7f87f9e9a1c87caf1e.zip |
Added stub for FF right-clicking.
svn-id: r21588
Diffstat (limited to 'engines')
-rw-r--r-- | engines/simon/simon.cpp | 7 | ||||
-rw-r--r-- | engines/simon/simon.h | 2 | ||||
-rw-r--r-- | engines/simon/verb.cpp | 7 |
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); |