mirror of
https://github.com/zeldaret/oot.git
synced 2025-08-24 16:01:26 +00:00
parent
68899c2e33
commit
e635e34265
433 changed files with 1996 additions and 2859 deletions
|
@ -8,8 +8,6 @@
|
|||
|
||||
#define FLAGS 0x00000000
|
||||
|
||||
#define THIS ((EnIt*)thisx)
|
||||
|
||||
void EnIt_Init(Actor* thisx, GlobalContext* globalCtx);
|
||||
void EnIt_Destroy(Actor* thisx, GlobalContext* globalCtx);
|
||||
void EnIt_Update(Actor* thisx, GlobalContext* globalCtx);
|
||||
|
@ -49,7 +47,7 @@ const ActorInit En_It_InitVars = {
|
|||
};
|
||||
|
||||
void EnIt_Init(Actor* thisx, GlobalContext* globalCtx) {
|
||||
EnIt* this = THIS;
|
||||
EnIt* this = (EnIt*)thisx;
|
||||
|
||||
this->actor.params = 0x0D05;
|
||||
Collider_InitCylinder(globalCtx, &this->collider);
|
||||
|
@ -58,13 +56,13 @@ void EnIt_Init(Actor* thisx, GlobalContext* globalCtx) {
|
|||
}
|
||||
|
||||
void EnIt_Destroy(Actor* thisx, GlobalContext* globalCtx) {
|
||||
EnIt* this = THIS;
|
||||
EnIt* this = (EnIt*)thisx;
|
||||
|
||||
Collider_DestroyCylinder(globalCtx, &this->collider);
|
||||
}
|
||||
|
||||
void EnIt_Update(Actor* thisx, GlobalContext* globalCtx) {
|
||||
EnIt* this = THIS;
|
||||
EnIt* this = (EnIt*)thisx;
|
||||
s32 pad;
|
||||
|
||||
Collider_UpdateCylinder(&this->actor, &this->collider);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue