animation struct documentation

This commit is contained in:
Banjo Kazooie
2023-03-12 23:11:39 -05:00
parent 7dd7a0b60c
commit af75d8b32d
293 changed files with 2031 additions and 1986 deletions

View File

@@ -203,7 +203,7 @@ void func_80387C28(Actor * this){
if(this->unk38_31){
this->position_y += 100.0f;
func_802CA1CC(HONEYCOMB_17_SM_COLIWOBBLE);
__spawnQueue_add_4((GenMethod_4)func_802C4218, 0x1f, reinterpret_cast(s32, this->position_x), reinterpret_cast(s32, this->position_y), reinterpret_cast(s32, this->position_z));
__spawnQueue_add_4((GenFunction_4)func_802C4218, 0x1f, reinterpret_cast(s32, this->position_x), reinterpret_cast(s32, this->position_y), reinterpret_cast(s32, this->position_z));
}//L80387D64
func_803252D0(1.5f, 7);
actor_collisionOff(this);
@@ -228,7 +228,7 @@ Actor *func_80387DF4(ActorMarker *marker, Gfx **gdl, Mtx **mptr, Vtx **arg3){
else
func_8033A45C(3, 0);
return func_80325888(marker, gdl, mptr, arg3);
return actor_draw(marker, gdl, mptr, arg3);
}
void func_80387E64(Actor *this){

View File

@@ -407,7 +407,7 @@ void func_803899B0(Actor * this){
}//L80389B20
if(!this->unk16C_4){
__spawnQueue_add_1((GenMethod_1)func_80389948, reinterpret_cast(s32, this->marker));
__spawnQueue_add_1((GenFunction_1)func_80389948, reinterpret_cast(s32, this->marker));
this->unk16C_4 = 1;
}//L80389B4C

View File

@@ -17,7 +17,7 @@ ActorAnimationInfo D_8038AFF0[] = {
ActorInfo D_8038B008 = {
0xE1, 0x198, 0x530,
2, D_8038AFF0,
func_8038A3B0, func_80326224, func_80325888,
func_8038A3B0, func_80326224, actor_draw,
0, 0, 0.0f, 0
};//chBanjosBed
@@ -30,7 +30,7 @@ ActorAnimationInfo D_8038B02C[] = {
ActorInfo D_8038B044 ={
0xE2, 0x199, 0x52F,
2, D_8038B02C,
func_8038A3B0, func_80326224, func_80325888,
func_8038A3B0, func_80326224, actor_draw,
0, 0, 0.0f, 0
};//chBanjosChair
@@ -43,7 +43,7 @@ ActorAnimationInfo D_8038B068[] = {
ActorInfo D_8038B080 ={
0xE3, 0x19A, 0x337,
2, D_8038B068,
func_8038A3B0, func_80326224, func_80325888,
func_8038A3B0, func_80326224, actor_draw,
0, 0, 0.0f, 0
};//chBanjosStove

View File

@@ -18,14 +18,14 @@ ActorAnimationInfo D_8038AAF0[] = {
ActorInfo D_8038AB00 = {
MARKER_135_QUARRIE, ACTOR_16F_QUARRIE, ASSET_42D_MODEL_QUARRIE,
1, NULL,
SM_func_80386EF4, func_80326224, func_80325E78,
SM_func_80386EF4, func_80326224, actor_drawFullDepth,
2000, 0, 5.0f, 0
};
ActorInfo D_8038AB24 = {
MARKER_29D_ROCK_TRAPPING_GRUNTY, ACTOR_3CA_ROCK_TRAPPING_GRUNTY, ASSET_47B_MODEL_ROCK,
1, D_8038AAF0,
SM_func_80386A00, func_80326224, func_80325E78,
SM_func_80386A00, func_80326224, actor_drawFullDepth,
0, 0, 0.0f, 0
};
@@ -113,7 +113,7 @@ void SM_func_80386D68(Actor *this){
if(this->unk100 && func_803870E8(this->unk100)){
func_802CA1CC(HONEYCOMB_18_SM_QUARRIES);
__spawnQueue_add_4((GenMethod_4)func_802C4218, 0x1F, reinterpret_cast(s32, this->position[0]), reinterpret_cast(s32, this->position[1]), reinterpret_cast(s32, this->position[2]));
__spawnQueue_add_4((GenFunction_4)func_802C4218, 0x1F, reinterpret_cast(s32, this->position[0]), reinterpret_cast(s32, this->position[1]), reinterpret_cast(s32, this->position[2]));
}
marker_despawn(this->marker);
}