mirror of
https://github.com/isledecomp/isle-portable.git
synced 2025-02-16 19:50:52 -05:00
implement/match Hospital::HandleKeyPress() (#689)
This commit is contained in:
parent
e1135d9c1d
commit
44f49a7a57
1 changed files with 9 additions and 3 deletions
|
@ -215,11 +215,17 @@ void Hospital::ReadyWorld()
|
||||||
FUN_10015820(FALSE, LegoOmni::c_disableInput | LegoOmni::c_disable3d | LegoOmni::c_clearScreen);
|
FUN_10015820(FALSE, LegoOmni::c_disableInput | LegoOmni::c_disable3d | LegoOmni::c_clearScreen);
|
||||||
}
|
}
|
||||||
|
|
||||||
// STUB: LEGO1 0x10074dd0
|
// FUNCTION: LEGO1 0x10074dd0
|
||||||
MxLong Hospital::HandleKeyPress(MxS8 p_key)
|
MxLong Hospital::HandleKeyPress(MxS8 p_key)
|
||||||
{
|
{
|
||||||
// TODO
|
MxLong result = 0;
|
||||||
return 0;
|
|
||||||
|
if (p_key == ' ' && g_unk0x100f7918 == 0) {
|
||||||
|
DeleteObjects(&m_atom, HospitalScript::c_hho002cl_RunAnim, HospitalScript::c_hho006cl_RunAnim);
|
||||||
|
result = 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
return result;
|
||||||
}
|
}
|
||||||
|
|
||||||
// STUB: LEGO1 0x10074e00
|
// STUB: LEGO1 0x10074e00
|
||||||
|
|
Loading…
Reference in a new issue