animation struct documentation
This commit is contained in:
@@ -92,33 +92,33 @@ void __baanim_applyBottlesBonus(s32 arg0, s32 arg1) {
|
||||
}
|
||||
if ((D_8037BF4C & 1)) {//either big hands or big feet
|
||||
__baanim_oscillateScale(scale, sp28, 2.0f, 1.0f);
|
||||
func_8033A928(arg0, 6, scale);
|
||||
func_8033A928(arg0, 0x14, scale);
|
||||
boneTransformList_setBoneScale(arg0, 6, scale);
|
||||
boneTransformList_setBoneScale(arg0, 0x14, scale);
|
||||
}
|
||||
if (D_8037BF4C & 2) {//either big hands or big feet
|
||||
__baanim_oscillateScale(scale, sp28, 2.0f, 1.0f);
|
||||
func_8033A928(arg0, 0x10, scale);
|
||||
func_8033A928(arg0, 0x1E, scale);
|
||||
boneTransformList_setBoneScale(arg0, 0x10, scale);
|
||||
boneTransformList_setBoneScale(arg0, 0x1E, scale);
|
||||
}
|
||||
if (D_8037BF4C & BAANIM_BIGHEAD) {
|
||||
__baanim_oscillateScale(scale, sp28, 2.0f, 1.0f);
|
||||
func_8033A928(arg0, 0x12, scale);
|
||||
boneTransformList_setBoneScale(arg0, 0x12, scale);
|
||||
}
|
||||
if (D_8037BF4C & BAANIM_SMALLHEAD) {
|
||||
__baanim_oscillateScale(scale, sp28, 0.2f, 0.5f);
|
||||
func_8033A928(arg0, 0x12, scale);
|
||||
boneTransformList_setBoneScale(arg0, 0x12, scale);
|
||||
}
|
||||
if (D_8037BF4C & BAANIM_LONGBODY) {
|
||||
func_8033A968(arg0, 1, &D_803635E0);
|
||||
}
|
||||
if (D_8037BF4C & BAANIM_BIGKAZOOIEHEAD) {
|
||||
__baanim_oscillateScale(scale, sp28, 2.0f, 1.0f);
|
||||
func_8033A928(arg0, 0x6C, scale);
|
||||
boneTransformList_setBoneScale(arg0, 0x6C, scale);
|
||||
}
|
||||
if (D_8037BF4C & BAANIM_BIGWINGS) {
|
||||
__baanim_oscillateScale(scale, sp28, 2.0f, 1.0f);
|
||||
func_8033A928(arg0, 0x64, scale);
|
||||
func_8033A928(arg0, 0x67, scale);
|
||||
boneTransformList_setBoneScale(arg0, 0x64, scale);
|
||||
boneTransformList_setBoneScale(arg0, 0x67, scale);
|
||||
}
|
||||
if (map_get() == MAP_A_TTC_SANDCASTLE) {
|
||||
if ((D_8037BF4C & BAANIM_WISHYWASHY) && (player_getTransformation() != TRANSFORM_7_WISHWASHY)) {
|
||||
@@ -209,7 +209,7 @@ void baanim_80289F30(void){
|
||||
f32 sp1C[3];
|
||||
|
||||
_player_getPosition(sp1C);
|
||||
func_8028781C(playerAnimCtrl, sp1C, 1);
|
||||
animctrl_drawSetup(playerAnimCtrl, sp1C, 1);
|
||||
}
|
||||
|
||||
AnimCtrl *baanim_getAnimCtrlPtr(void){
|
||||
|
@@ -166,7 +166,7 @@ void __baMarker_8028B9A8(s32 arg0){
|
||||
}
|
||||
|
||||
void __baMarker_8028BA00(s32 arg0){
|
||||
__spawnQueue_add_1((GenMethod_1)__baMarker_8028B9A8, reinterpret_cast(s32, arg0));
|
||||
__spawnQueue_add_1((GenFunction_1)__baMarker_8028B9A8, reinterpret_cast(s32, arg0));
|
||||
}
|
||||
|
||||
|
||||
@@ -543,7 +543,7 @@ void __baMarker_resolveCollision(Prop *other_prop){
|
||||
__baMarker_8028B8DC();
|
||||
}
|
||||
|
||||
__spawnQueue_add_4((GenMethod_4)__baMarker_8028B904, reinterpret_cast(u32, other_prop->actorProp.x), reinterpret_cast(u32, other_prop->actorProp.y), reinterpret_cast(u32, other_prop->actorProp.z), jiggy_id);
|
||||
__spawnQueue_add_4((GenFunction_4)__baMarker_8028B904, reinterpret_cast(u32, other_prop->actorProp.x), reinterpret_cast(u32, other_prop->actorProp.y), reinterpret_cast(u32, other_prop->actorProp.z), jiggy_id);
|
||||
marker_despawn(marker);
|
||||
}
|
||||
}
|
||||
@@ -573,7 +573,7 @@ void __baMarker_resolveCollision(Prop *other_prop){
|
||||
case 0x54: //L8028C820
|
||||
func_8025A6EC(COMUSIC_19_LOW_PITCH_FLUTES, 28000);
|
||||
func_803012F8();
|
||||
__spawnQueue_add_4((GenMethod_4)func_802C418C, 0x4E, reinterpret_cast(u32, other_prop->actorProp.x), reinterpret_cast(u32, other_prop->actorProp.y), reinterpret_cast(u32, other_prop->actorProp.z));
|
||||
__spawnQueue_add_4((GenFunction_4)func_802C418C, 0x4E, reinterpret_cast(u32, other_prop->actorProp.x), reinterpret_cast(u32, other_prop->actorProp.y), reinterpret_cast(u32, other_prop->actorProp.z));
|
||||
marker_despawn(marker);
|
||||
break;
|
||||
|
||||
@@ -746,7 +746,7 @@ void __baMarker_resolveCollision(Prop *other_prop){
|
||||
miscflag_set(MISC_FLAG_E_TOUCHING_WADING_BOOTS);
|
||||
func_802A6388(chwadingboots_802D6E4C(actor));
|
||||
bs_checkInterrupt(BS_INTR_1B);
|
||||
__spawnQueue_add_4((GenMethod_4)func_802C418C, 0x4E, reinterpret_cast(u32, other_prop->actorProp.x), reinterpret_cast(u32, other_prop->actorProp.y), reinterpret_cast(u32, other_prop->actorProp.z));
|
||||
__spawnQueue_add_4((GenFunction_4)func_802C418C, 0x4E, reinterpret_cast(u32, other_prop->actorProp.x), reinterpret_cast(u32, other_prop->actorProp.y), reinterpret_cast(u32, other_prop->actorProp.z));
|
||||
chwadingboots_802D6E54(actor);
|
||||
break;
|
||||
|
||||
@@ -770,7 +770,7 @@ void __baMarker_resolveCollision(Prop *other_prop){
|
||||
miscflag_set(MISC_FLAG_10_TOUCHING_TURBO_TRAINERS);
|
||||
set_turbo_duration(chtrainers_getDuration(actor));
|
||||
bs_checkInterrupt(BS_INTR_1A);
|
||||
__spawnQueue_add_4((GenMethod_4)func_802C418C, 0x4E, reinterpret_cast(u32, other_prop->actorProp.x), reinterpret_cast(u32, other_prop->actorProp.y), reinterpret_cast(u32, other_prop->actorProp.z));
|
||||
__spawnQueue_add_4((GenFunction_4)func_802C418C, 0x4E, reinterpret_cast(u32, other_prop->actorProp.x), reinterpret_cast(u32, other_prop->actorProp.y), reinterpret_cast(u32, other_prop->actorProp.z));
|
||||
chtrainers_pickup(actor);
|
||||
break;
|
||||
|
||||
|
@@ -98,7 +98,7 @@ void baModel_draw(Gfx **gfx, Mtx **mtx, Vtx **vtx){
|
||||
func_8029DD6C();
|
||||
modelRender_setEnvColor(env_color[0], env_color[1], env_color[2], baModelEnvAlpha);
|
||||
func_8033A280(2.0f);
|
||||
modelRender_preDraw((GenMethod_1)_baModel_preDraw, 0);
|
||||
modelRender_preDraw((GenFunction_1)_baModel_preDraw, 0);
|
||||
func_8033A450(D_80363780);
|
||||
modelRender_setDepthMode(MODEL_RENDER_DEPTH_FULL);
|
||||
if(D_8037C150.unk0){
|
||||
@@ -144,7 +144,7 @@ void baModel_reset(void){
|
||||
if(!func_8028ADB4())
|
||||
baModel_updateModel();
|
||||
player_getPosition(plyr_pos);
|
||||
__spawnQueue_add_4((GenMethod_4)func_802C4140,
|
||||
__spawnQueue_add_4((GenFunction_4)func_802C4140,
|
||||
ACTOR_17_PLAYER_SHADOW,
|
||||
reinterpret_cast(s32, plyr_pos[0]),
|
||||
reinterpret_cast(s32, plyr_pos[1]),
|
||||
|
Reference in New Issue
Block a user