mirror of
https://github.com/isledecomp/isle.git
synced 2025-10-24 00:44:21 +00:00
Implement/match Act3Shark functions (#1208)
* Implement/match `Act3Shark` functions * Naming
This commit is contained in:
committed by
GitHub
parent
a2b2b5d734
commit
ac19539d0f
@@ -14,7 +14,8 @@ public:
|
||||
c_pizza = 0x01,
|
||||
c_donut = 0x02,
|
||||
c_valid = 0x04,
|
||||
c_bit4 = 0x08
|
||||
c_bit4 = 0x08,
|
||||
c_bit5 = 0x10
|
||||
};
|
||||
|
||||
Act3Ammo();
|
||||
@@ -57,6 +58,16 @@ public:
|
||||
}
|
||||
}
|
||||
|
||||
void SetBit5(MxBool p_bit5)
|
||||
{
|
||||
if (p_bit5) {
|
||||
m_ammoFlag |= c_bit5;
|
||||
}
|
||||
else {
|
||||
m_ammoFlag &= ~c_bit5;
|
||||
}
|
||||
}
|
||||
|
||||
MxFloat GetUnknown0x158() { return m_unk0x158; }
|
||||
|
||||
void SetUnknown0x158(MxFloat p_unk0x158) { m_unk0x158 = p_unk0x158; }
|
||||
|
||||
Reference in New Issue
Block a user