mirror of
https://github.com/SMGCommunity/Petari.git
synced 2024-11-30 08:50:43 +00:00
decompile LiveActor::initShadowControllerList()
This commit is contained in:
parent
950ec9669f
commit
4a368e1db4
@ -10,6 +10,7 @@
|
||||
#include "Actor/Nerve/Spine.h"
|
||||
#include "Actor/Sensor/HitSensor.h"
|
||||
#include "Actor/Sensor/HitSensorKeeper.h"
|
||||
#include "Actor/Shadow/ShadowController.h"
|
||||
#include "Actor/StarPointer/StarPointerTarget.h"
|
||||
#include "Actor/Switch/StageSwitch.h"
|
||||
#include "Collision/Binder.h"
|
||||
@ -59,6 +60,7 @@ public:
|
||||
void initHitSensor(s32);
|
||||
void initBinder(f32, f32, u32);
|
||||
|
||||
void initShadowControllerList(u32);
|
||||
void initStageSwitch(const JMapInfoIter &);
|
||||
void initActorStarPointerTarget(f32, const JGeometry::TVec3<f32> *, Mtx *, JGeometry::TVec3<f32>);
|
||||
void initActorLightCtrl();
|
||||
@ -79,7 +81,7 @@ public:
|
||||
EffectKeeper* mEffectKeeper; // _60
|
||||
u32* _64; // AudSoundObject*
|
||||
LiveActorFlag mFlags; // _68
|
||||
u32* _74; // ShadowController*
|
||||
ShadowControllerList* mShadowController; // _74
|
||||
u32* _78; // CollisionParts*
|
||||
StageSwitchCtrl* mStageSwitchCtrl; // _7C
|
||||
StarPointerTarget* mPointerTarget; // _80
|
||||
|
@ -4,6 +4,14 @@
|
||||
#include "types.h"
|
||||
#include "Actor/LiveActor/LiveActor.h"
|
||||
|
||||
class ShadowControllerList
|
||||
{
|
||||
public:
|
||||
ShadowControllerList(LiveActor *, u32);
|
||||
|
||||
u8 _0[0x10];
|
||||
};
|
||||
|
||||
namespace MR
|
||||
{
|
||||
void requestCalcActorShadow(LiveActor *);
|
||||
|
@ -47,7 +47,7 @@ LiveActor::LiveActor(const char *name) : NameObj(name)
|
||||
LiveActorFlag flags;
|
||||
this->mFlags = flags;
|
||||
|
||||
this->_74 = 0;
|
||||
this->mShadowController = 0;
|
||||
this->_78 = 0;
|
||||
this->mStageSwitchCtrl = 0;
|
||||
this->mPointerTarget = 0;
|
||||
@ -449,6 +449,11 @@ void LiveActor::initBinder(f32 a1, f32 a2, u32 a3)
|
||||
}
|
||||
}
|
||||
|
||||
void LiveActor::initShadowControllerList(u32 listNum)
|
||||
{
|
||||
this->mShadowController = new ShadowControllerList(this, listNum);
|
||||
}
|
||||
|
||||
void LiveActor::initStageSwitch(const JMapInfoIter &iter)
|
||||
{
|
||||
this->mStageSwitchCtrl = MR::createStageSwitchCtrl(this, iter);
|
||||
|
Loading…
Reference in New Issue
Block a user