mirror of
https://github.com/HarbourMasters/SpaghettiKart
synced 2026-06-18 15:55:22 -04:00
Give names to a couple vec3*_set functions (#197)
* Give names to a couple vec3*_set functions Change vec3f_set to sm64_vec3f_set Signed-off-by: Taggerung <tyler.taggerung@gmail.com>
This commit is contained in:
+4
-4
@@ -234,7 +234,7 @@ GLOBAL_ASM("asm/non_matchings/code_802B0210/func_802B0648.s")
|
||||
#ifdef MIPS_TO_C
|
||||
//generated by m2c commit 685418adfeb3794409e47b45ac5cab60b17d23fd
|
||||
? func_802B64C4(f32 *, s16); /* extern */
|
||||
? load_giant_egg(f32, f32 *, ?, f32, f32); /* extern */
|
||||
? vec3f_set(f32, f32 *, ?, f32, f32); /* extern */
|
||||
|
||||
void func_802B0788(s16 arg0, struct BananaBunchParent *banana_bunch, Player *player) {
|
||||
f32 sp34;
|
||||
@@ -307,7 +307,7 @@ block_10:
|
||||
phi_f0 = temp_f0;
|
||||
}
|
||||
sp30 = phi_v0;
|
||||
load_giant_egg(phi_f12, &sp34, 0, phi_f0, phi_f12);
|
||||
vec3f_set(phi_f12, &sp34, 0, phi_f0, phi_f12);
|
||||
func_802B64C4(&sp34, (s16) (player->unk_02E + player->unk_0C0));
|
||||
sp30->velocity = sp34;
|
||||
sp30->unk28 = sp38;
|
||||
@@ -1024,7 +1024,7 @@ GLOBAL_ASM("asm/non_matchings/code_802B0210/func_802B1FFC.s")
|
||||
? func_802ADDC8(f32, UnkActorInner *, UnkActorInner *, f32, f32, f32, f32); /* extern */
|
||||
? func_802B4E30(struct BananaActor *); /* extern */
|
||||
? func_802B64C4(f32 *, s16); /* extern */
|
||||
? load_giant_egg(f32, f32 *, ?, f32, f32); /* extern */
|
||||
? vec3f_set(f32, f32 *, ?, f32, f32); /* extern */
|
||||
extern s16 D_8015F6E8;
|
||||
extern s16 D_8015F6EA;
|
||||
extern s16 D_8015F6EE;
|
||||
@@ -1150,7 +1150,7 @@ void update_obj_banana(struct BananaActor *banana) {
|
||||
phi_f12 = (temp_f2_2 * 0.75f) + 3.5f + temp_f0_3;
|
||||
}
|
||||
sp88 = temp_v0;
|
||||
load_giant_egg(phi_f12, &sp68, 0, temp_f0_3, phi_f12);
|
||||
vec3f_set(phi_f12, &sp68, 0, temp_f0_3, phi_f12);
|
||||
func_802B64C4(&sp68, (s16) (sp88->unk_02E + sp88->unk_0C0));
|
||||
banana->velocity[0] = sp68;
|
||||
banana->velocity[1] = sp6C;
|
||||
|
||||
Reference in New Issue
Block a user