mirror of
https://github.com/HackerN64/HackerOoT.git
synced 2026-01-21 10:37:37 -08:00
Remove (ActorFunc) casts in initvars (#1571)
* Remove `(ActorFunc)` casts in initvars, use `/**/` trick for format Achieved by using the following regex: (ActorInit.*)(\n\s+)(.*)(\n\s+)(.*)(\n\s+)(.*)(\n\s+)(.*)(\n\s+)(.*)(\n\s+)(?:\(ActorFunc\))?(.*)(\n\s+)(?:\(ActorFunc\))?(.*)(\n\s+)(?:\(ActorFunc\))?(.*)(\n\s+)(?:\(ActorFunc\))?(.*\n\};) replaced with $1$2/**/ $3$4/**/ $5$6/**/ $7$8/**/ $9$10/**/ $11$12/**/ $13$14/**/ $15$16/**/ $17$18/**/ $19 plus a change from /**/ to #if 0 #endif in docs/ * Manual fixes
This commit is contained in:
@@ -638,19 +638,19 @@ void func_80A87F44(Actor* thisx, PlayState* play);
|
||||
void func_80A87BEC(EnJj* this, PlayState* play);
|
||||
void func_80A87C30(EnJj* this, PlayState* play);
|
||||
|
||||
/*
|
||||
#if 0
|
||||
ActorInit En_Jj_InitVars = {
|
||||
ACTOR_EN_JJ,
|
||||
ACTORTYPE_ITEMACTION,
|
||||
FLAGS,
|
||||
OBJECT_JJ,
|
||||
sizeof(EnJj),
|
||||
(ActorFunc)EnJj_Init,
|
||||
(ActorFunc)EnJj_Destroy,
|
||||
(ActorFunc)EnJj_Update,
|
||||
(ActorFunc)EnJj_Draw,
|
||||
/**/ ACTOR_EN_JJ,
|
||||
/**/ ACTORTYPE_ITEMACTION,
|
||||
/**/ FLAGS,
|
||||
/**/ OBJECT_JJ,
|
||||
/**/ sizeof(EnJj),
|
||||
/**/ EnJj_Init,
|
||||
/**/ EnJj_Destroy,
|
||||
/**/ EnJj_Update,
|
||||
/**/ EnJj_Draw,
|
||||
};
|
||||
*/
|
||||
#endif
|
||||
|
||||
extern ColliderCylinderInit D_80A88CB4;
|
||||
// static ColliderCylinderInit sCylinderInit = {
|
||||
|
||||
@@ -94,15 +94,15 @@ s32 D_80B18910[] = { 0x0A000039, 0x20010000, 0x00000000, 0x00000000, 0x00000000,
|
||||
s32 D_80B1893C[] = { 0x00000000, 0x00000000, 0xFF000000 };
|
||||
|
||||
ActorInit En_Tg_InitVars = {
|
||||
ACTOR_EN_TG,
|
||||
ACTORTYPE_NPC,
|
||||
FLAGS,
|
||||
OBJECT_MU,
|
||||
sizeof(EnTg),
|
||||
(ActorFunc)EnTg_Init,
|
||||
(ActorFunc)EnTg_Destroy,
|
||||
(ActorFunc)EnTg_Update,
|
||||
(ActorFunc)EnTg_Draw,
|
||||
/**/ ACTOR_EN_TG,
|
||||
/**/ ACTORTYPE_NPC,
|
||||
/**/ FLAGS,
|
||||
/**/ OBJECT_MU,
|
||||
/**/ sizeof(EnTg),
|
||||
/**/ EnTg_Init,
|
||||
/**/ EnTg_Destroy,
|
||||
/**/ EnTg_Update,
|
||||
/**/ EnTg_Draw,
|
||||
};
|
||||
|
||||
s32 D_80B18968[] = { 0x00000000, 0x44480000, 0x00000000, 0x00000000, 0x00000000, 0x00000000 };
|
||||
@@ -490,15 +490,15 @@ To replace the `extern`, because the data is in a separate file, we include the
|
||||
Lastly, uncomment the InitVars block that's been sitting there the whole time. The data section of the file now looks like
|
||||
```C
|
||||
ActorInit En_Jj_InitVars = {
|
||||
ACTOR_EN_JJ,
|
||||
ACTORTYPE_ITEMACTION,
|
||||
FLAGS,
|
||||
OBJECT_JJ,
|
||||
sizeof(EnJj),
|
||||
(ActorFunc)EnJj_Init,
|
||||
(ActorFunc)EnJj_Destroy,
|
||||
(ActorFunc)EnJj_Update,
|
||||
(ActorFunc)EnJj_Draw,
|
||||
/**/ ACTOR_EN_JJ,
|
||||
/**/ ACTORTYPE_ITEMACTION,
|
||||
/**/ FLAGS,
|
||||
/**/ OBJECT_JJ,
|
||||
/**/ sizeof(EnJj),
|
||||
/**/ EnJj_Init,
|
||||
/**/ EnJj_Destroy,
|
||||
/**/ EnJj_Update,
|
||||
/**/ EnJj_Draw,
|
||||
};
|
||||
|
||||
#include "en_jj_cutscene_data.c" EARLY
|
||||
@@ -567,15 +567,15 @@ Notice that the numbers in the bottom pane is all shifted one word to the left.
|
||||
|
||||
```C
|
||||
ActorInit En_Jj_InitVars = {
|
||||
ACTOR_EN_JJ,
|
||||
ACTORTYPE_ITEMACTION,
|
||||
FLAGS,
|
||||
OBJECT_JJ,
|
||||
sizeof(EnJj),
|
||||
(ActorFunc)EnJj_Init,
|
||||
(ActorFunc)EnJj_Destroy,
|
||||
(ActorFunc)EnJj_Update,
|
||||
(ActorFunc)EnJj_Draw,
|
||||
/**/ ACTOR_EN_JJ,
|
||||
/**/ ACTORTYPE_ITEMACTION,
|
||||
/**/ FLAGS,
|
||||
/**/ OBJECT_JJ,
|
||||
/**/ sizeof(EnJj),
|
||||
/**/ EnJj_Init,
|
||||
/**/ EnJj_Destroy,
|
||||
/**/ EnJj_Update,
|
||||
/**/ EnJj_Draw,
|
||||
};
|
||||
|
||||
s32 usused = 0;
|
||||
|
||||
@@ -21,15 +21,15 @@ void EnAObj_SetupBoulderFragment(EnAObj* this, s16 type);
|
||||
void EnAObj_SetupBlock(EnAObj* this, s16 type);
|
||||
|
||||
ActorInit En_A_Obj_InitVars = {
|
||||
ACTOR_EN_A_OBJ,
|
||||
ACTORCAT_PROP,
|
||||
FLAGS,
|
||||
OBJECT_GAMEPLAY_KEEP,
|
||||
sizeof(EnAObj),
|
||||
(ActorFunc)EnAObj_Init,
|
||||
(ActorFunc)EnAObj_Destroy,
|
||||
(ActorFunc)EnAObj_Update,
|
||||
(ActorFunc)EnAObj_Draw,
|
||||
/**/ ACTOR_EN_A_OBJ,
|
||||
/**/ ACTORCAT_PROP,
|
||||
/**/ FLAGS,
|
||||
/**/ OBJECT_GAMEPLAY_KEEP,
|
||||
/**/ sizeof(EnAObj),
|
||||
/**/ EnAObj_Init,
|
||||
/**/ EnAObj_Destroy,
|
||||
/**/ EnAObj_Update,
|
||||
/**/ EnAObj_Draw,
|
||||
};
|
||||
|
||||
static ColliderCylinderInit sCylinderInit = {
|
||||
|
||||
@@ -21,15 +21,15 @@ void EnItem00_DrawHeartContainer(EnItem00* this, PlayState* play);
|
||||
void EnItem00_DrawHeartPiece(EnItem00* this, PlayState* play);
|
||||
|
||||
ActorInit En_Item00_InitVars = {
|
||||
ACTOR_EN_ITEM00,
|
||||
ACTORCAT_MISC,
|
||||
FLAGS,
|
||||
OBJECT_GAMEPLAY_KEEP,
|
||||
sizeof(EnItem00),
|
||||
(ActorFunc)EnItem00_Init,
|
||||
(ActorFunc)EnItem00_Destroy,
|
||||
(ActorFunc)EnItem00_Update,
|
||||
(ActorFunc)EnItem00_Draw,
|
||||
/**/ ACTOR_EN_ITEM00,
|
||||
/**/ ACTORCAT_MISC,
|
||||
/**/ FLAGS,
|
||||
/**/ OBJECT_GAMEPLAY_KEEP,
|
||||
/**/ sizeof(EnItem00),
|
||||
/**/ EnItem00_Init,
|
||||
/**/ EnItem00_Destroy,
|
||||
/**/ EnItem00_Update,
|
||||
/**/ EnItem00_Draw,
|
||||
};
|
||||
|
||||
static ColliderCylinderInit sCylinderInit = {
|
||||
|
||||
@@ -18,15 +18,15 @@ void Player_Update(Actor* thisx, PlayState* play);
|
||||
void Player_Draw(Actor* thisx, PlayState* play);
|
||||
|
||||
ActorInit Player_InitVars = {
|
||||
ACTOR_PLAYER,
|
||||
ACTORCAT_PLAYER,
|
||||
FLAGS,
|
||||
OBJECT_GAMEPLAY_KEEP,
|
||||
sizeof(Player),
|
||||
(ActorFunc)PlayerCall_Init,
|
||||
(ActorFunc)PlayerCall_Destroy,
|
||||
(ActorFunc)PlayerCall_Update,
|
||||
(ActorFunc)PlayerCall_Draw,
|
||||
/**/ ACTOR_PLAYER,
|
||||
/**/ ACTORCAT_PLAYER,
|
||||
/**/ FLAGS,
|
||||
/**/ OBJECT_GAMEPLAY_KEEP,
|
||||
/**/ sizeof(Player),
|
||||
/**/ PlayerCall_Init,
|
||||
/**/ PlayerCall_Destroy,
|
||||
/**/ PlayerCall_Update,
|
||||
/**/ PlayerCall_Draw,
|
||||
};
|
||||
|
||||
void PlayerCall_InitFuncPtrs(void) {
|
||||
|
||||
@@ -12,15 +12,15 @@ void ArmsHook_Wait(ArmsHook* this, PlayState* play);
|
||||
void ArmsHook_Shoot(ArmsHook* this, PlayState* play);
|
||||
|
||||
ActorInit Arms_Hook_InitVars = {
|
||||
ACTOR_ARMS_HOOK,
|
||||
ACTORCAT_ITEMACTION,
|
||||
FLAGS,
|
||||
OBJECT_LINK_BOY,
|
||||
sizeof(ArmsHook),
|
||||
(ActorFunc)ArmsHook_Init,
|
||||
(ActorFunc)ArmsHook_Destroy,
|
||||
(ActorFunc)ArmsHook_Update,
|
||||
(ActorFunc)ArmsHook_Draw,
|
||||
/**/ ACTOR_ARMS_HOOK,
|
||||
/**/ ACTORCAT_ITEMACTION,
|
||||
/**/ FLAGS,
|
||||
/**/ OBJECT_LINK_BOY,
|
||||
/**/ sizeof(ArmsHook),
|
||||
/**/ ArmsHook_Init,
|
||||
/**/ ArmsHook_Destroy,
|
||||
/**/ ArmsHook_Update,
|
||||
/**/ ArmsHook_Draw,
|
||||
};
|
||||
|
||||
static ColliderQuadInit sQuadInit = {
|
||||
|
||||
@@ -21,15 +21,15 @@ void ArrowFire_Hit(ArrowFire* this, PlayState* play);
|
||||
#include "assets/overlays/ovl_Arrow_Fire/ovl_Arrow_Fire.c"
|
||||
|
||||
ActorInit Arrow_Fire_InitVars = {
|
||||
ACTOR_ARROW_FIRE,
|
||||
ACTORCAT_ITEMACTION,
|
||||
FLAGS,
|
||||
OBJECT_GAMEPLAY_KEEP,
|
||||
sizeof(ArrowFire),
|
||||
(ActorFunc)ArrowFire_Init,
|
||||
(ActorFunc)ArrowFire_Destroy,
|
||||
(ActorFunc)ArrowFire_Update,
|
||||
(ActorFunc)ArrowFire_Draw,
|
||||
/**/ ACTOR_ARROW_FIRE,
|
||||
/**/ ACTORCAT_ITEMACTION,
|
||||
/**/ FLAGS,
|
||||
/**/ OBJECT_GAMEPLAY_KEEP,
|
||||
/**/ sizeof(ArrowFire),
|
||||
/**/ ArrowFire_Init,
|
||||
/**/ ArrowFire_Destroy,
|
||||
/**/ ArrowFire_Update,
|
||||
/**/ ArrowFire_Draw,
|
||||
};
|
||||
|
||||
static InitChainEntry sInitChain[] = {
|
||||
|
||||
@@ -22,15 +22,15 @@ void ArrowIce_Hit(ArrowIce* this, PlayState* play);
|
||||
#include "assets/overlays/ovl_Arrow_Ice/ovl_Arrow_Ice.c"
|
||||
|
||||
ActorInit Arrow_Ice_InitVars = {
|
||||
ACTOR_ARROW_ICE,
|
||||
ACTORCAT_ITEMACTION,
|
||||
FLAGS,
|
||||
OBJECT_GAMEPLAY_KEEP,
|
||||
sizeof(ArrowIce),
|
||||
(ActorFunc)ArrowIce_Init,
|
||||
(ActorFunc)ArrowIce_Destroy,
|
||||
(ActorFunc)ArrowIce_Update,
|
||||
(ActorFunc)ArrowIce_Draw,
|
||||
/**/ ACTOR_ARROW_ICE,
|
||||
/**/ ACTORCAT_ITEMACTION,
|
||||
/**/ FLAGS,
|
||||
/**/ OBJECT_GAMEPLAY_KEEP,
|
||||
/**/ sizeof(ArrowIce),
|
||||
/**/ ArrowIce_Init,
|
||||
/**/ ArrowIce_Destroy,
|
||||
/**/ ArrowIce_Update,
|
||||
/**/ ArrowIce_Draw,
|
||||
};
|
||||
|
||||
static InitChainEntry sInitChain[] = {
|
||||
|
||||
@@ -22,15 +22,15 @@ void ArrowLight_Hit(ArrowLight* this, PlayState* play);
|
||||
#include "assets/overlays/ovl_Arrow_Light/ovl_Arrow_Light.c"
|
||||
|
||||
ActorInit Arrow_Light_InitVars = {
|
||||
ACTOR_ARROW_LIGHT,
|
||||
ACTORCAT_ITEMACTION,
|
||||
FLAGS,
|
||||
OBJECT_GAMEPLAY_KEEP,
|
||||
sizeof(ArrowLight),
|
||||
(ActorFunc)ArrowLight_Init,
|
||||
(ActorFunc)ArrowLight_Destroy,
|
||||
(ActorFunc)ArrowLight_Update,
|
||||
(ActorFunc)ArrowLight_Draw,
|
||||
/**/ ACTOR_ARROW_LIGHT,
|
||||
/**/ ACTORCAT_ITEMACTION,
|
||||
/**/ FLAGS,
|
||||
/**/ OBJECT_GAMEPLAY_KEEP,
|
||||
/**/ sizeof(ArrowLight),
|
||||
/**/ ArrowLight_Init,
|
||||
/**/ ArrowLight_Destroy,
|
||||
/**/ ArrowLight_Update,
|
||||
/**/ ArrowLight_Draw,
|
||||
};
|
||||
|
||||
static InitChainEntry sInitChain[] = {
|
||||
|
||||
@@ -33,15 +33,15 @@ void func_8086CB10(BgBdanObjects* this, PlayState* play);
|
||||
void func_8086CB8C(BgBdanObjects* this, PlayState* play);
|
||||
|
||||
ActorInit Bg_Bdan_Objects_InitVars = {
|
||||
ACTOR_BG_BDAN_OBJECTS,
|
||||
ACTORCAT_BG,
|
||||
FLAGS,
|
||||
OBJECT_BDAN_OBJECTS,
|
||||
sizeof(BgBdanObjects),
|
||||
(ActorFunc)BgBdanObjects_Init,
|
||||
(ActorFunc)BgBdanObjects_Destroy,
|
||||
(ActorFunc)BgBdanObjects_Update,
|
||||
(ActorFunc)BgBdanObjects_Draw,
|
||||
/**/ ACTOR_BG_BDAN_OBJECTS,
|
||||
/**/ ACTORCAT_BG,
|
||||
/**/ FLAGS,
|
||||
/**/ OBJECT_BDAN_OBJECTS,
|
||||
/**/ sizeof(BgBdanObjects),
|
||||
/**/ BgBdanObjects_Init,
|
||||
/**/ BgBdanObjects_Destroy,
|
||||
/**/ BgBdanObjects_Update,
|
||||
/**/ BgBdanObjects_Draw,
|
||||
};
|
||||
|
||||
static ColliderCylinderInit sCylinderInit = {
|
||||
|
||||
@@ -43,15 +43,15 @@ void func_8086DDA8(BgBdanSwitch* this);
|
||||
void func_8086DDC0(BgBdanSwitch* this, PlayState* play);
|
||||
|
||||
ActorInit Bg_Bdan_Switch_InitVars = {
|
||||
ACTOR_BG_BDAN_SWITCH,
|
||||
ACTORCAT_SWITCH,
|
||||
FLAGS,
|
||||
OBJECT_BDAN_OBJECTS,
|
||||
sizeof(BgBdanSwitch),
|
||||
(ActorFunc)BgBdanSwitch_Init,
|
||||
(ActorFunc)BgBdanSwitch_Destroy,
|
||||
(ActorFunc)BgBdanSwitch_Update,
|
||||
(ActorFunc)BgBdanSwitch_Draw,
|
||||
/**/ ACTOR_BG_BDAN_SWITCH,
|
||||
/**/ ACTORCAT_SWITCH,
|
||||
/**/ FLAGS,
|
||||
/**/ OBJECT_BDAN_OBJECTS,
|
||||
/**/ sizeof(BgBdanSwitch),
|
||||
/**/ BgBdanSwitch_Init,
|
||||
/**/ BgBdanSwitch_Destroy,
|
||||
/**/ BgBdanSwitch_Update,
|
||||
/**/ BgBdanSwitch_Draw,
|
||||
};
|
||||
|
||||
static ColliderJntSphElementInit sJntSphElementsInit[] = {
|
||||
|
||||
@@ -18,15 +18,15 @@ void BgBomGuard_Update(Actor* thisx, PlayState* play);
|
||||
void func_8086E638(BgBomGuard* this, PlayState* play);
|
||||
|
||||
ActorInit Bg_Bom_Guard_InitVars = {
|
||||
ACTOR_BG_BOM_GUARD,
|
||||
ACTORCAT_PROP,
|
||||
FLAGS,
|
||||
OBJECT_BOWL,
|
||||
sizeof(BgBomGuard),
|
||||
(ActorFunc)BgBomGuard_Init,
|
||||
(ActorFunc)BgBomGuard_Destroy,
|
||||
(ActorFunc)BgBomGuard_Update,
|
||||
NULL,
|
||||
/**/ ACTOR_BG_BOM_GUARD,
|
||||
/**/ ACTORCAT_PROP,
|
||||
/**/ FLAGS,
|
||||
/**/ OBJECT_BOWL,
|
||||
/**/ sizeof(BgBomGuard),
|
||||
/**/ BgBomGuard_Init,
|
||||
/**/ BgBomGuard_Destroy,
|
||||
/**/ BgBomGuard_Update,
|
||||
/**/ NULL,
|
||||
};
|
||||
|
||||
void BgBomGuard_SetupAction(BgBomGuard* this, BgBomGuardActionFunc actionFunc) {
|
||||
|
||||
@@ -70,15 +70,15 @@ static ColliderTrisInit sTrisInit = {
|
||||
};
|
||||
|
||||
ActorInit Bg_Bombwall_InitVars = {
|
||||
ACTOR_BG_BOMBWALL,
|
||||
ACTORCAT_BG,
|
||||
FLAGS,
|
||||
OBJECT_GAMEPLAY_FIELD_KEEP,
|
||||
sizeof(BgBombwall),
|
||||
(ActorFunc)BgBombwall_Init,
|
||||
(ActorFunc)BgBombwall_Destroy,
|
||||
(ActorFunc)BgBombwall_Update,
|
||||
(ActorFunc)BgBombwall_Draw,
|
||||
/**/ ACTOR_BG_BOMBWALL,
|
||||
/**/ ACTORCAT_BG,
|
||||
/**/ FLAGS,
|
||||
/**/ OBJECT_GAMEPLAY_FIELD_KEEP,
|
||||
/**/ sizeof(BgBombwall),
|
||||
/**/ BgBombwall_Init,
|
||||
/**/ BgBombwall_Destroy,
|
||||
/**/ BgBombwall_Update,
|
||||
/**/ BgBombwall_Draw,
|
||||
};
|
||||
|
||||
void BgBombwall_InitDynapoly(BgBombwall* this, PlayState* play) {
|
||||
|
||||
@@ -25,15 +25,15 @@ void BgBowlWall_FinishFall(BgBowlWall* this, PlayState* play);
|
||||
void BgBowlWall_Reset(BgBowlWall* this, PlayState* play);
|
||||
|
||||
ActorInit Bg_Bowl_Wall_InitVars = {
|
||||
ACTOR_BG_BOWL_WALL,
|
||||
ACTORCAT_PROP,
|
||||
FLAGS,
|
||||
OBJECT_BOWL,
|
||||
sizeof(BgBowlWall),
|
||||
(ActorFunc)BgBowlWall_Init,
|
||||
(ActorFunc)BgBowlWall_Destroy,
|
||||
(ActorFunc)BgBowlWall_Update,
|
||||
(ActorFunc)BgBowlWall_Draw,
|
||||
/**/ ACTOR_BG_BOWL_WALL,
|
||||
/**/ ACTORCAT_PROP,
|
||||
/**/ FLAGS,
|
||||
/**/ OBJECT_BOWL,
|
||||
/**/ sizeof(BgBowlWall),
|
||||
/**/ BgBowlWall_Init,
|
||||
/**/ BgBowlWall_Destroy,
|
||||
/**/ BgBowlWall_Update,
|
||||
/**/ BgBowlWall_Draw,
|
||||
};
|
||||
|
||||
static Vec3f sBullseyeOffset[] = {
|
||||
|
||||
@@ -27,15 +27,15 @@ void BgBreakwall_Wait(BgBreakwall* this, PlayState* play);
|
||||
void BgBreakwall_LavaCoverMove(BgBreakwall* this, PlayState* play);
|
||||
|
||||
ActorInit Bg_Breakwall_InitVars = {
|
||||
ACTOR_BG_BREAKWALL,
|
||||
ACTORCAT_BG,
|
||||
FLAGS,
|
||||
OBJECT_GAMEPLAY_KEEP,
|
||||
sizeof(BgBreakwall),
|
||||
(ActorFunc)BgBreakwall_Init,
|
||||
(ActorFunc)BgBreakwall_Destroy,
|
||||
(ActorFunc)BgBreakwall_Update,
|
||||
NULL,
|
||||
/**/ ACTOR_BG_BREAKWALL,
|
||||
/**/ ACTORCAT_BG,
|
||||
/**/ FLAGS,
|
||||
/**/ OBJECT_GAMEPLAY_KEEP,
|
||||
/**/ sizeof(BgBreakwall),
|
||||
/**/ BgBreakwall_Init,
|
||||
/**/ BgBreakwall_Destroy,
|
||||
/**/ BgBreakwall_Update,
|
||||
/**/ NULL,
|
||||
};
|
||||
|
||||
static ColliderQuadInit sQuadInit = {
|
||||
|
||||
@@ -18,15 +18,15 @@ void BgDdanJd_Idle(BgDdanJd* this, PlayState* play);
|
||||
void BgDdanJd_Move(BgDdanJd* this, PlayState* play);
|
||||
|
||||
ActorInit Bg_Ddan_Jd_InitVars = {
|
||||
ACTOR_BG_DDAN_JD,
|
||||
ACTORCAT_BG,
|
||||
FLAGS,
|
||||
OBJECT_DDAN_OBJECTS,
|
||||
sizeof(BgDdanJd),
|
||||
(ActorFunc)BgDdanJd_Init,
|
||||
(ActorFunc)BgDdanJd_Destroy,
|
||||
(ActorFunc)BgDdanJd_Update,
|
||||
(ActorFunc)BgDdanJd_Draw,
|
||||
/**/ ACTOR_BG_DDAN_JD,
|
||||
/**/ ACTORCAT_BG,
|
||||
/**/ FLAGS,
|
||||
/**/ OBJECT_DDAN_OBJECTS,
|
||||
/**/ sizeof(BgDdanJd),
|
||||
/**/ BgDdanJd_Init,
|
||||
/**/ BgDdanJd_Destroy,
|
||||
/**/ BgDdanJd_Update,
|
||||
/**/ BgDdanJd_Draw,
|
||||
};
|
||||
|
||||
static InitChainEntry sInitChain[] = {
|
||||
|
||||
@@ -19,15 +19,15 @@ void BgDdanKd_LowerStairs(BgDdanKd* this, PlayState* play);
|
||||
void BgDdanKd_DoNothing(BgDdanKd* this, PlayState* play);
|
||||
|
||||
ActorInit Bg_Ddan_Kd_InitVars = {
|
||||
ACTOR_BG_DDAN_KD,
|
||||
ACTORCAT_BG,
|
||||
FLAGS,
|
||||
OBJECT_DDAN_OBJECTS,
|
||||
sizeof(BgDdanKd),
|
||||
(ActorFunc)BgDdanKd_Init,
|
||||
(ActorFunc)BgDdanKd_Destroy,
|
||||
(ActorFunc)BgDdanKd_Update,
|
||||
(ActorFunc)BgDdanKd_Draw,
|
||||
/**/ ACTOR_BG_DDAN_KD,
|
||||
/**/ ACTORCAT_BG,
|
||||
/**/ FLAGS,
|
||||
/**/ OBJECT_DDAN_OBJECTS,
|
||||
/**/ sizeof(BgDdanKd),
|
||||
/**/ BgDdanKd_Init,
|
||||
/**/ BgDdanKd_Destroy,
|
||||
/**/ BgDdanKd_Update,
|
||||
/**/ BgDdanKd_Draw,
|
||||
};
|
||||
|
||||
static ColliderCylinderInit sCylinderInit = {
|
||||
|
||||
@@ -21,15 +21,15 @@ void BgDodoago_DoNothing(BgDodoago* this, PlayState* play);
|
||||
void BgDodoago_LightOneEye(BgDodoago* this, PlayState* play);
|
||||
|
||||
ActorInit Bg_Dodoago_InitVars = {
|
||||
ACTOR_BG_DODOAGO,
|
||||
ACTORCAT_BG,
|
||||
FLAGS,
|
||||
OBJECT_DDAN_OBJECTS,
|
||||
sizeof(BgDodoago),
|
||||
(ActorFunc)BgDodoago_Init,
|
||||
(ActorFunc)BgDodoago_Destroy,
|
||||
(ActorFunc)BgDodoago_Update,
|
||||
(ActorFunc)BgDodoago_Draw,
|
||||
/**/ ACTOR_BG_DODOAGO,
|
||||
/**/ ACTORCAT_BG,
|
||||
/**/ FLAGS,
|
||||
/**/ OBJECT_DDAN_OBJECTS,
|
||||
/**/ sizeof(BgDodoago),
|
||||
/**/ BgDodoago_Init,
|
||||
/**/ BgDodoago_Destroy,
|
||||
/**/ BgDodoago_Update,
|
||||
/**/ BgDodoago_Draw,
|
||||
};
|
||||
|
||||
static ColliderCylinderInit sColCylinderInitMain = {
|
||||
|
||||
@@ -55,15 +55,15 @@ void BgDyYoseizo_DrawEffects(BgDyYoseizo* this, PlayState* play);
|
||||
static s32 sUnusedGetItemIds[] = { GI_FARORES_WIND, GI_NAYRUS_LOVE, GI_DINS_FIRE };
|
||||
|
||||
ActorInit Bg_Dy_Yoseizo_InitVars = {
|
||||
ACTOR_BG_DY_YOSEIZO,
|
||||
ACTORCAT_PROP,
|
||||
FLAGS,
|
||||
OBJECT_DY_OBJ,
|
||||
sizeof(BgDyYoseizo),
|
||||
(ActorFunc)BgDyYoseizo_Init,
|
||||
(ActorFunc)BgDyYoseizo_Destroy,
|
||||
(ActorFunc)BgDyYoseizo_Update,
|
||||
NULL,
|
||||
/**/ ACTOR_BG_DY_YOSEIZO,
|
||||
/**/ ACTORCAT_PROP,
|
||||
/**/ FLAGS,
|
||||
/**/ OBJECT_DY_OBJ,
|
||||
/**/ sizeof(BgDyYoseizo),
|
||||
/**/ BgDyYoseizo_Init,
|
||||
/**/ BgDyYoseizo_Destroy,
|
||||
/**/ BgDyYoseizo_Update,
|
||||
/**/ NULL,
|
||||
};
|
||||
|
||||
void BgDyYoseizo_Init(Actor* thisx, PlayState* play2) {
|
||||
|
||||
@@ -26,15 +26,15 @@ void BgGanonOtyuka_Fall(BgGanonOtyuka* this, PlayState* play);
|
||||
void BgGanonOtyuka_DoNothing(Actor* thisx, PlayState* play);
|
||||
|
||||
ActorInit Bg_Ganon_Otyuka_InitVars = {
|
||||
ACTOR_BG_GANON_OTYUKA,
|
||||
ACTORCAT_PROP,
|
||||
FLAGS,
|
||||
OBJECT_GANON,
|
||||
sizeof(BgGanonOtyuka),
|
||||
(ActorFunc)BgGanonOtyuka_Init,
|
||||
(ActorFunc)BgGanonOtyuka_Destroy,
|
||||
(ActorFunc)BgGanonOtyuka_Update,
|
||||
(ActorFunc)BgGanonOtyuka_Draw,
|
||||
/**/ ACTOR_BG_GANON_OTYUKA,
|
||||
/**/ ACTORCAT_PROP,
|
||||
/**/ FLAGS,
|
||||
/**/ OBJECT_GANON,
|
||||
/**/ sizeof(BgGanonOtyuka),
|
||||
/**/ BgGanonOtyuka_Init,
|
||||
/**/ BgGanonOtyuka_Destroy,
|
||||
/**/ BgGanonOtyuka_Update,
|
||||
/**/ BgGanonOtyuka_Draw,
|
||||
};
|
||||
|
||||
static InitChainEntry sInitChain[] = {
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user