mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-14 05:38:56 +00:00
FULLPIPE: Implement lift_clickButton()
This commit is contained in:
parent
06309f616a
commit
f7c768552a
@ -82,6 +82,8 @@ FullpipeEngine::FullpipeEngine(OSystem *syst, const ADGameDescription *gameDesc)
|
||||
|
||||
_modalObject = 0;
|
||||
|
||||
_lastLiftButton = 0;
|
||||
|
||||
_gameContinue = true;
|
||||
_needRestart = false;
|
||||
_flgPlayIntro = true;
|
||||
|
@ -269,13 +269,16 @@ public:
|
||||
|
||||
void getAllInventory();
|
||||
|
||||
StaticANIObject *_lastLiftButton;
|
||||
|
||||
int lift_getButtonIdP(int objid);
|
||||
void lift_setButton(const char *name, int state);
|
||||
void lift_sub5(Scene *sc, int qu1, int qu2);
|
||||
void lift_sub7(Scene *sc, int buttonId);
|
||||
void lift_exitSeq(ExCommand *ex);
|
||||
void lift_closedoorSeq();
|
||||
void lift_animation3();
|
||||
void lift_clickButton();
|
||||
void lift_walkAndGo();
|
||||
void lift_goAnimation();
|
||||
void lift_sub1(StaticANIObject *ani);
|
||||
void lift_startExitQueue();
|
||||
|
@ -85,8 +85,13 @@ void FullpipeEngine::lift_closedoorSeq() {
|
||||
warning("STUB: FullpipeEngine::lift_closedoorSeq()");
|
||||
}
|
||||
|
||||
void FullpipeEngine::lift_animation3() {
|
||||
warning("STUB: FullpipeEngine::lift_animation3()");
|
||||
void FullpipeEngine::lift_walkAndGo() {
|
||||
warning("STUB: FullpipeEngine::lift_walkAndGo()");
|
||||
}
|
||||
|
||||
void FullpipeEngine::lift_clickButton() {
|
||||
if (_lastLiftButton)
|
||||
lift_walkAndGo();
|
||||
}
|
||||
|
||||
void FullpipeEngine::lift_goAnimation() {
|
||||
|
@ -215,7 +215,7 @@ int sceneHandler03(ExCommand *ex) {
|
||||
break;
|
||||
|
||||
case MSG_LIFT_CLICKBUTTON:
|
||||
g_fp->lift_animation3();
|
||||
g_fp->lift_clickButton();
|
||||
break;
|
||||
|
||||
case MSG_SC3_HIDEDOMINO:
|
||||
|
@ -590,7 +590,7 @@ int sceneHandler06(ExCommand *ex) {
|
||||
break;
|
||||
|
||||
case MSG_LIFT_CLICKBUTTON:
|
||||
g_fp->lift_animation3();
|
||||
g_fp->lift_clickButton();
|
||||
break;
|
||||
|
||||
case MSG_SPINHANDLE:
|
||||
|
@ -140,7 +140,7 @@ int sceneHandler10(ExCommand *ex) {
|
||||
break;
|
||||
|
||||
case MSG_LIFT_CLICKBUTTON:
|
||||
g_fp->lift_animation3();
|
||||
g_fp->lift_clickButton();
|
||||
break;
|
||||
|
||||
case MSG_SC10_LADDERTOBACK:
|
||||
|
@ -665,7 +665,7 @@ int sceneHandler14(ExCommand *cmd) {
|
||||
break;
|
||||
|
||||
case MSG_LIFT_CLICKBUTTON:
|
||||
g_fp->lift_animation3();
|
||||
g_fp->lift_clickButton();
|
||||
break;
|
||||
|
||||
case MSG_SC14_SHOWBALLGMAHIT:
|
||||
|
@ -144,7 +144,7 @@ int sceneHandler15(ExCommand *cmd) {
|
||||
break;
|
||||
|
||||
case MSG_LIFT_CLICKBUTTON:
|
||||
g_fp->lift_animation3();
|
||||
g_fp->lift_clickButton();
|
||||
break;
|
||||
|
||||
case MSG_SC15_PULL:
|
||||
|
@ -103,7 +103,7 @@ int sceneHandler30(ExCommand *cmd) {
|
||||
break;
|
||||
|
||||
case MSG_LIFT_CLICKBUTTON:
|
||||
g_fp->lift_animation3();
|
||||
g_fp->lift_clickButton();
|
||||
break;
|
||||
|
||||
case MSG_SC30_UPDATEPATH:
|
||||
|
@ -291,7 +291,7 @@ int sceneHandler32(ExCommand *cmd) {
|
||||
break;
|
||||
|
||||
case MSG_LIFT_CLICKBUTTON:
|
||||
g_fp->lift_animation3();
|
||||
g_fp->lift_clickButton();
|
||||
break;
|
||||
|
||||
case MSG_SC33_TRYKUBIK:
|
||||
|
@ -317,7 +317,7 @@ int sceneHandler34(ExCommand *cmd) {
|
||||
break;
|
||||
|
||||
case MSG_LIFT_CLICKBUTTON:
|
||||
g_fp->lift_animation3();
|
||||
g_fp->lift_clickButton();
|
||||
break;
|
||||
|
||||
case MSG_SC34_FROMCACTUS:
|
||||
|
@ -168,7 +168,7 @@ int sceneHandler35(ExCommand *cmd) {
|
||||
break;
|
||||
|
||||
case MSG_LIFT_CLICKBUTTON:
|
||||
g_fp->lift_animation3();
|
||||
g_fp->lift_clickButton();
|
||||
break;
|
||||
|
||||
case MSG_SC35_STOPFLOW:
|
||||
|
@ -348,7 +348,7 @@ int sceneHandler38(ExCommand *cmd) {
|
||||
break;
|
||||
|
||||
case MSG_LIFT_CLICKBUTTON:
|
||||
g_fp->lift_animation3();
|
||||
g_fp->lift_clickButton();
|
||||
break;
|
||||
|
||||
case MSG_SC38_POINT:
|
||||
|
Loading…
Reference in New Issue
Block a user