FULLPIPE: Implement lift_clickButton()

This commit is contained in:
Eugene Sandulenko 2014-01-26 16:18:03 +02:00
parent 06309f616a
commit f7c768552a
13 changed files with 23 additions and 13 deletions

View File

@ -82,6 +82,8 @@ FullpipeEngine::FullpipeEngine(OSystem *syst, const ADGameDescription *gameDesc)
_modalObject = 0;
_lastLiftButton = 0;
_gameContinue = true;
_needRestart = false;
_flgPlayIntro = true;

View File

@ -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();

View File

@ -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() {

View File

@ -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:

View File

@ -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:

View File

@ -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:

View File

@ -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:

View File

@ -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:

View File

@ -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:

View File

@ -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:

View File

@ -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:

View File

@ -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:

View File

@ -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: