mirror of
https://github.com/isledecomp/isle.git
synced 2025-10-23 08:24:16 +00:00
Act3Cop::VTable0x94 and related (#1209)
* Act3Cop::VTable0x94 and related * No need to include * Cast LegoWorld* to Act3*
This commit is contained in:
@@ -182,6 +182,33 @@ Act3::~Act3()
|
||||
TickleManager()->UnregisterClient(this);
|
||||
}
|
||||
|
||||
// FUNCTION: LEGO1 0x100727a0
|
||||
// FUNCTION: BETA10 0x1001570d
|
||||
void Act3::EatDonut(MxS32 p_index)
|
||||
{
|
||||
assert(p_index < MAX_DONUTS);
|
||||
RemoveDonut(m_donuts[p_index]);
|
||||
}
|
||||
|
||||
// FUNCTION: LEGO1 0x100727d0
|
||||
// FUNCTION: BETA10 0x10015828
|
||||
void Act3::RemoveDonut(Act3Ammo& p_p)
|
||||
{
|
||||
#ifdef _DEBUG
|
||||
MxS32 i;
|
||||
for (i = 0; i < MAX_DONUTS; i++) {
|
||||
if (&m_donuts[i] == &p_p) {
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
assert(i != MAX_DONUTS);
|
||||
#endif
|
||||
|
||||
assert(p_p.IsValid());
|
||||
p_p.Remove();
|
||||
}
|
||||
|
||||
// FUNCTION: LEGO1 0x100727e0
|
||||
// FUNCTION: BETA10 0x100158e2
|
||||
MxResult Act3::ShootPizza(LegoPathController* p_controller, Vector3& p_location, Vector3& p_direction, Vector3& p_up)
|
||||
@@ -525,6 +552,20 @@ void Act3::FUN_10073430()
|
||||
TransitionManager()->StartTransition(MxTransitionManager::e_mosaic, 50, FALSE, FALSE);
|
||||
}
|
||||
|
||||
// STUB: LEGO1 0x10073460
|
||||
// STUB: BETA10 0x10016bc6
|
||||
void Act3::GoodEnding(const Matrix4& p_matrix)
|
||||
{
|
||||
// TODO
|
||||
DebugPrintf("In Good Ending...");
|
||||
}
|
||||
|
||||
// FUNCTION: LEGO1 0x10073500
|
||||
void Act3::DebugPrintf(const char* p_format, ...)
|
||||
{
|
||||
// empty
|
||||
}
|
||||
|
||||
// FUNCTION: LEGO1 0x10073a90
|
||||
void Act3::Enable(MxBool p_enable)
|
||||
{
|
||||
|
Reference in New Issue
Block a user