mirror of
https://github.com/isledecomp/isle.git
synced 2026-01-20 06:41:15 +00:00
Improve Act3Ammo
This commit is contained in:
parent
451fd63eee
commit
120ffdaca6
@ -90,7 +90,7 @@ class Act3Ammo : public LegoPathActor {
|
|||||||
// Act3Ammo::`scalar deleting destructor'
|
// Act3Ammo::`scalar deleting destructor'
|
||||||
|
|
||||||
private:
|
private:
|
||||||
MxResult FUN_10053db0(float p_param1, const Matrix4& p_param2);
|
MxResult FUN_10053db0(float p_param1, Matrix4& p_param2);
|
||||||
|
|
||||||
static Mx3DPointFloat g_unk0x10104f08;
|
static Mx3DPointFloat g_unk0x10104f08;
|
||||||
|
|
||||||
|
|||||||
@ -81,7 +81,7 @@ class LegoPathBoundary : public LegoWEGEdge {
|
|||||||
// _Tree<LegoPathActor *,LegoPathActor *,set<LegoPathActor *,LegoPathActorSetCompare,allocator<LegoPathActor *> >::_Kfn,LegoPathActorSetCompare,allocator<LegoPathActor *> >::erase
|
// _Tree<LegoPathActor *,LegoPathActor *,set<LegoPathActor *,LegoPathActorSetCompare,allocator<LegoPathActor *> >::_Kfn,LegoPathActorSetCompare,allocator<LegoPathActor *> >::erase
|
||||||
|
|
||||||
// TEMPLATE: LEGO1 0x1002c440
|
// TEMPLATE: LEGO1 0x1002c440
|
||||||
// TEMPLATE: BETA10 0x100b6480
|
// TEMPLATE: BETA10 0x10020480
|
||||||
// _Tree<LegoPathActor *,LegoPathActor *,set<LegoPathActor *,LegoPathActorSetCompare,allocator<LegoPathActor *> >::_Kfn,LegoPathActorSetCompare,allocator<LegoPathActor *> >::find
|
// _Tree<LegoPathActor *,LegoPathActor *,set<LegoPathActor *,LegoPathActorSetCompare,allocator<LegoPathActor *> >::_Kfn,LegoPathActorSetCompare,allocator<LegoPathActor *> >::find
|
||||||
|
|
||||||
// TEMPLATE: LEGO1 0x1002c4c0
|
// TEMPLATE: LEGO1 0x1002c4c0
|
||||||
@ -196,6 +196,12 @@ class LegoPathBoundary : public LegoWEGEdge {
|
|||||||
// TEMPLATE: BETA10 0x10082b40
|
// TEMPLATE: BETA10 0x10082b40
|
||||||
// _Tree<LegoAnimPresenter *,LegoAnimPresenter *,set<LegoAnimPresenter *,LegoAnimPresenterSetCompare,allocator<LegoAnimPresenter *> >::_Kfn,LegoAnimPresenterSetCompare,allocator<LegoAnimPresenter *> >::const_iterator::operator*
|
// _Tree<LegoAnimPresenter *,LegoAnimPresenter *,set<LegoAnimPresenter *,LegoAnimPresenterSetCompare,allocator<LegoAnimPresenter *> >::_Kfn,LegoAnimPresenterSetCompare,allocator<LegoAnimPresenter *> >::const_iterator::operator*
|
||||||
|
|
||||||
|
// TEMPLATE: BETA10 0x100b6440
|
||||||
|
// set<LegoAnimPresenter *,LegoAnimPresenterSetCompare,allocator<LegoAnimPresenter *> >::find
|
||||||
|
|
||||||
|
// TEMPLATE: BETA10 0x100b6480
|
||||||
|
// _Tree<LegoAnimPresenter *,LegoAnimPresenter *,set<LegoAnimPresenter *,LegoAnimPresenterSetCompare,allocator<LegoAnimPresenter *> >::_Kfn,LegoAnimPresenterSetCompare,allocator<LegoAnimPresenter *> >::find
|
||||||
|
|
||||||
// TEMPLATE: BETA10 0x10021dc0
|
// TEMPLATE: BETA10 0x10021dc0
|
||||||
// Set<LegoPathActor *,LegoPathActorSetCompare>::Set<LegoPathActor *,LegoPathActorSetCompare>
|
// Set<LegoPathActor *,LegoPathActorSetCompare>::Set<LegoPathActor *,LegoPathActorSetCompare>
|
||||||
|
|
||||||
|
|||||||
@ -198,7 +198,7 @@ MxResult Act3Ammo::FUN_10053d30(LegoPathController* p_p, MxFloat p_unk0x19c)
|
|||||||
|
|
||||||
// FUNCTION: LEGO1 0x10053db0
|
// FUNCTION: LEGO1 0x10053db0
|
||||||
// FUNCTION: BETA10 0x1001e0f0
|
// FUNCTION: BETA10 0x1001e0f0
|
||||||
MxResult Act3Ammo::FUN_10053db0(float p_param1, const Matrix4& p_param2)
|
MxResult Act3Ammo::FUN_10053db0(float p_param1, Matrix4& p_param2)
|
||||||
{
|
{
|
||||||
float local34 = p_param1 * p_param1;
|
float local34 = p_param1 * p_param1;
|
||||||
|
|
||||||
@ -397,7 +397,14 @@ void Act3Ammo::Animate(float p_time)
|
|||||||
LegoPathActorSet lpas(plpas);
|
LegoPathActorSet lpas(plpas);
|
||||||
|
|
||||||
for (LegoPathActorSet::iterator itpa = lpas.begin(); itpa != lpas.end(); itpa++) {
|
for (LegoPathActorSet::iterator itpa = lpas.begin(); itpa != lpas.end(); itpa++) {
|
||||||
if (plpas.find(*itpa) != plpas.end() && this != *itpa) {
|
if (plpas.find(*itpa) == plpas.end()) {
|
||||||
|
continue;
|
||||||
|
}
|
||||||
|
|
||||||
|
if (this == *itpa) {
|
||||||
|
continue;
|
||||||
|
}
|
||||||
|
|
||||||
LegoROI* r = (*itpa)->GetROI();
|
LegoROI* r = (*itpa)->GetROI();
|
||||||
assert(r);
|
assert(r);
|
||||||
|
|
||||||
@ -463,7 +470,6 @@ void Act3Ammo::Animate(float p_time)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
if (!local14) {
|
if (!local14) {
|
||||||
if (IsPizza()) {
|
if (IsPizza()) {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user