mirror of
https://github.com/k4zmu2a/SpaceCadetPinball.git
synced 2025-09-01 06:20:15 +02:00
Message code enum part 5: control codes.
This commit is contained in:
parent
dfe1665ba1
commit
22603aa126
29 changed files with 489 additions and 476 deletions
|
@ -301,7 +301,7 @@ void TPinballTable::tilt(float time)
|
|||
}
|
||||
LightGroup->Message(MessageCode::TLightTurnOffTimed, 0);
|
||||
TiltLockFlag = 1;
|
||||
control::table_control_handler(1011);
|
||||
control::table_control_handler(MessageCode::SetTiltLock);
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -589,7 +589,7 @@ int TPinballTable::Message(MessageCode code, float value)
|
|||
default: break;
|
||||
}
|
||||
|
||||
control::table_control_handler(~code);
|
||||
control::table_control_handler(code);
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
@ -662,7 +662,7 @@ void TPinballTable::EndGame_timeout(int timerId, void* caller)
|
|||
}
|
||||
if (table->Demo)
|
||||
table->Demo->Message(MessageCode::GameOver, 0.0);
|
||||
control::handler(67, pb::MissTextBox);
|
||||
control::handler(MessageCode::ControlMissionStarted, pb::MissTextBox);
|
||||
pb::InfoTextBox->Display(pb::get_rc_string(Msg::STRING125), -1.0);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue