mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-15 06:08:35 +00:00
FULLPIPE: Implement sceneHandler27_driverPushButton()
This commit is contained in:
parent
08738ac697
commit
b39086861e
@ -1105,6 +1105,8 @@ namespace Fullpipe {
|
||||
#define MV_MAN27_THROWBET 1989
|
||||
#define PIC_SC27_HITZONE2 4756
|
||||
#define QU_DRV_GIVEVENT 2040
|
||||
#define QU_DRV_PUSHBUTTON 2056
|
||||
#define QU_DRV_PUSHBUTTON_NOVENT 4578
|
||||
#define QU_MID_CLEANVENT 4583
|
||||
#define QU_SC27_RESTARTBETS 3370
|
||||
#define QU_SC27_SHOWBET 3368
|
||||
@ -1119,6 +1121,7 @@ namespace Fullpipe {
|
||||
#define ST_BTH_3 3361
|
||||
#define ST_BTH_4 3359
|
||||
#define ST_BTH_5 3357
|
||||
#define ST_DRV_SITNOVENT 1999
|
||||
#define ST_DRV_VENT 1996
|
||||
#define ST_MID_BROOM 2022
|
||||
#define ST_MID_SPADE 3489
|
||||
|
@ -442,7 +442,19 @@ void sceneHandler27_batSetColors(int batn) {
|
||||
}
|
||||
|
||||
void sceneHandler27_driverPushButton() {
|
||||
warning("STUB: sceneHandler27_driverPushButton()");
|
||||
if (g_fp->getObjectState(sO_Driver) == g_fp->getObjectEnumState(sO_Driver, sO_WithSteering)) {
|
||||
g_vars->scene27_driver->changeStatics2(ST_DRV_VENT);
|
||||
chainQueue(QU_DRV_PUSHBUTTON, 1);
|
||||
|
||||
g_vars->scene27_var11 = 1;
|
||||
} else {
|
||||
g_vars->scene27_driver->changeStatics2(ST_DRV_SITNOVENT);
|
||||
|
||||
|
||||
chainQueue(QU_DRV_PUSHBUTTON_NOVENT, 1);
|
||||
|
||||
g_vars->scene27_var11 = 1;
|
||||
}
|
||||
}
|
||||
|
||||
void sceneHandler27_maidSwitchback() {
|
||||
|
Loading…
Reference in New Issue
Block a user