mirror of
https://github.com/isledecomp/isle.git
synced 2026-01-30 03:31:15 +00:00
Style
This commit is contained in:
parent
469db12632
commit
409264e2d0
@ -26,12 +26,12 @@ class PoliceState : public LegoState {
|
|||||||
|
|
||||||
MxResult VTable0x1c(LegoFile* p_legoFile) override; // vtable+0x1c
|
MxResult VTable0x1c(LegoFile* p_legoFile) override; // vtable+0x1c
|
||||||
|
|
||||||
inline undefined4 GetUnknown0x0C() { return m_unk0x0c; }
|
|
||||||
inline void SetUnknown0x0C(undefined4 p_unk0x0c) { m_unk0x0c = p_unk0x0c; }
|
|
||||||
|
|
||||||
// SYNTHETIC: LEGO1 0x1005e920
|
// SYNTHETIC: LEGO1 0x1005e920
|
||||||
// PoliceState::`scalar deleting destructor'
|
// PoliceState::`scalar deleting destructor'
|
||||||
|
|
||||||
|
inline undefined4 GetUnknown0x0c() { return m_unk0x0c; }
|
||||||
|
inline void SetUnknown0x0c(undefined4 p_unk0x0c) { m_unk0x0c = p_unk0x0c; }
|
||||||
|
|
||||||
private:
|
private:
|
||||||
undefined4 m_unk0x08; // 0x08
|
undefined4 m_unk0x08; // 0x08
|
||||||
undefined4 m_unk0x0c; // 0x0c
|
undefined4 m_unk0x0c; // 0x0c
|
||||||
|
|||||||
@ -112,11 +112,12 @@ MxLong Police::HandleKeyPress(LegoEventNotificationParam& p_param)
|
|||||||
{
|
{
|
||||||
MxLong result = 0;
|
MxLong result = 0;
|
||||||
|
|
||||||
if (p_param.GetKey() == ' ' && m_policeState->GetUnknown0x0C() == 1) {
|
if (p_param.GetKey() == ' ' && m_policeState->GetUnknown0x0c() == 1) {
|
||||||
DeleteObjects(&m_atom, 500, 501);
|
DeleteObjects(&m_atom, 500, 501);
|
||||||
m_policeState->SetUnknown0x0C(0);
|
m_policeState->SetUnknown0x0c(0);
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user