enum documentation

This commit is contained in:
Banjo Kazooie
2022-08-14 19:01:15 -05:00
parent 023aafaa92
commit 46ed2ced3c
43 changed files with 402 additions and 247 deletions

View File

@@ -6,7 +6,7 @@ void func_803567EC(Actor *this);
/* .data */
ActorInfo D_80372810 = {
0x1A7, ACTOR_28A_CLANKER_WHIPCRACK, ASSET_432_MODEL_CLANKER_WHIPCRACK,
MARKER_1A7_CLANKER_WHIPCRACK, ACTOR_28A_CLANKER_WHIPCRACK, ASSET_432_MODEL_CLANKER_WHIPCRACK,
0, NULL,
func_803567EC, NULL, func_80325888,
0, 0, 0.0f, 0

View File

@@ -15,7 +15,7 @@ void func_8035765C(Actor *this);
/* .data */
extern ActorInfo D_80372870 = {
0x1B2, ACTOR_29F_CLUCKER, ASSET_482_MODEL_CLUCKER,
MARKER_1B2_CLUCKER_A, ACTOR_29F_CLUCKER, ASSET_482_MODEL_CLUCKER,
0, NULL,
func_8035765C, NULL, func_803575B8,
0, 0, 0.0f, 0
@@ -52,7 +52,7 @@ void func_80357264(Actor *this, s32 next_state){
f32 sp38;
s32 pad34;
this->marker->unk14_20 = 0x1d0;
this->marker->unk14_20 = MARKER_1D0_CLUCKER_B;
actor_collisionOff(this);
if(next_state == 1 || next_state == 2){
func_80335924(this->unk148, ASSET_184_ANIM_CLUCKER_ATTACK_SHORT, 0.0f, 2.5f);
@@ -78,7 +78,7 @@ void func_80357264(Actor *this, s32 next_state){
local->unk4 = 0.2f;
if(next_state == 4){
this->marker->unk14_20 = 0x1b2;
this->marker->unk14_20 = MARKER_1B2_CLUCKER_A;
actor_collisionOn(this);
local->unk0 = (local->unk0 + 1) % 3;
if(local->unk0 < 2)
@@ -177,7 +177,7 @@ void func_8035765C(Actor *this){
func_8033568C(this->unk148, &sp4C, &sp48);
if(func_8033567C(this->unk148) == 0x185){
if(sp4C < 0.58 && 0.58 <= sp48){
this->marker->unk14_20 = 0x1d0;
this->marker->unk14_20 = MARKER_1D0_CLUCKER_B;
}
if(sp4C < 0.05 && 0.05 <= sp48){
FUNC_8030E624(SFX_2_CLAW_SWIPE, 0.9f, 32000);
@@ -194,7 +194,7 @@ void func_8035765C(Actor *this){
}
else{//L803579F0
if(sp4C < 0.63 && 0.63 <= sp48){
this->marker->unk14_20 = 0x1d0;
this->marker->unk14_20 = MARKER_1D0_CLUCKER_B;
}
if(sp4C < 0.1 && 0.1 <= sp48){
FUNC_8030E624(SFX_2_CLAW_SWIPE, 0.9f, 32000);

View File

@@ -30,7 +30,7 @@ ActorAnimationInfo D_80368650[] = {
};
ActorInfo D_80368670 = {
0xB1, ACTOR_124_SIR_SLUSH, ASSET_377_MODEL_SIR_SLUSH,
MARKER_B1_SIR_SLUSH, ACTOR_124_SIR_SLUSH, ASSET_377_MODEL_SIR_SLUSH,
1, D_80368650,
func_802E20E8, func_80326224, func_802E1AC0,
0, 0x199, 0.0f, 0

View File

@@ -8,7 +8,7 @@ void chfirefx_update(Actor *this);
/* .data */
ActorInfo gChFireFxInfo = {
0x256, ACTOR_383_FIRE_FX, ASSET_526_SPRITE_FIRE,
MARKER_256_FIRE_FX, ACTOR_383_FIRE_FX, ASSET_526_SPRITE_FIRE,
0, NULL,
chfirefx_update, func_80326224, func_80325888,
0, 0, 0.0f, 0

View File

@@ -23,7 +23,7 @@ Actor* func_8035C71C(ActorMarker *marker, Gfx **gfx, Mtx **mtx, Vtx **vtx);
/* .data */
ActorInfo D_80372C80 = {
0xC9, 0x13B, 0x401,
MARKER_C9_FLOTSAM, ACTOR_13B_FLOTSAM, ASSET_401_MODEL_FLOTSAM,
0, NULL,
func_8035C8F4, NULL, func_8035C71C,
0, 0, 1.0f, 0

View File

@@ -22,14 +22,14 @@ ActorAnimationInfo D_80372BE0[] ={
};
ActorInfo D_80372C18 = { //TEEHEE
0x99, ACTOR_CA_TEEHEE, ASSET_3CB_MODEL_TEEHEE,
MARKER_99_TEEHEE, ACTOR_CA_TEEHEE, ASSET_3CB_MODEL_TEEHEE,
0x1, D_80372BE0,
func_8035B900, func_80326224, func_80325888,
6500, 0, 0.9f, 0
};
ActorInfo D_80372C3C = { //PURPLE_TEEHEE (inside tumblar)
0x296, ACTOR_3C1_PURPLE_TEEHEE, ASSET_564_MODEL_PURPLE_TEEHEE,
MARKER_296_TEEHEE_PURPLE, ACTOR_3C1_PURPLE_TEEHEE, ASSET_564_MODEL_PURPLE_TEEHEE,
0x1, D_80372BE0,
func_8035B900, func_8035BD48, func_80325888,
6500, 0, 0.9f, 0

View File

@@ -20,14 +20,14 @@ ActorAnimationInfo D_80372B50[] = {
};
ActorInfo D_80372B80 = {
0x250, 0x37D, ASSET_504_MODEL_ICECUBE,
MARKER_250_ICECUBE_A, ACTOR_37D_ICECUBE_A, ASSET_504_MODEL_ICECUBE,
1, D_80372B50,
chicecube_update, func_80326224, chicecube_draw,
0, 0, 0.0f, 0
};
ActorInfo D_80372BA4 = {
0x25F, 0x3A0, ASSET_504_MODEL_ICECUBE,
MARKER_25F_ICECUBE_B, ACTOR_3A0_ICECUBE_B, ASSET_504_MODEL_ICECUBE,
1, D_80372B50,
chicecube_update, func_80326224, chicecube_draw,
0, 0, 0.0f, 0

View File

@@ -6,7 +6,7 @@ void chwhipcrack_update(Actor *this);
/* .data */
ActorInfo D_80373100 = {
0x1c5, ACTOR_30F_WHIPCRACK, ASSET_4FD_MODEL_WHIPCRACK,
MARKER_1C5_WHIPCRACK, ACTOR_30F_WHIPCRACK, ASSET_4FD_MODEL_WHIPCRACK,
0, NULL,
chwhipcrack_update, NULL, func_80325888,
0, 0, 0.0f, 0