mirror of
https://github.com/n64decomp/mk64
synced 2026-06-30 18:41:40 -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:
+13
-15
@@ -1627,25 +1627,23 @@ GLOBAL_ASM("asm/non_matchings/memory/func_802AAA70.s")
|
||||
#endif
|
||||
|
||||
#ifdef MIPS_TO_C
|
||||
//generated by mips_to_c commit 3c3b0cede1a99430bfd3edf8d385802b94f91307
|
||||
? load_giant_egg(void *, ?, ?, ?); // extern
|
||||
//generated by m2c commit 685418adfeb3794409e47b45ac5cab60b17d23fd
|
||||
void func_802AAAAC(UnkActorInner *arg0) {
|
||||
f32 *temp_a0;
|
||||
|
||||
void func_802AAAAC(void *arg0) {
|
||||
void *temp_a0;
|
||||
|
||||
arg0->unk6 = 0x1388;
|
||||
arg0->unk8 = 0x1388;
|
||||
arg0->unkA = 0x1388;
|
||||
arg0->unk0 = 0;
|
||||
arg0->unk2 = 0;
|
||||
arg0->unk4 = 0;
|
||||
temp_a0 = arg0 + 0x18;
|
||||
arg0->unk36 = 0x1388;
|
||||
arg0->unk38 = 0x1388;
|
||||
arg0->unk3A = 0x1388;
|
||||
arg0->unk30 = 0;
|
||||
arg0->unk32 = 0;
|
||||
arg0->unk34 = 0;
|
||||
temp_a0 = arg0->unk48;
|
||||
temp_a0->unk-C = 0.0f;
|
||||
temp_a0->unk-8 = 0.0f;
|
||||
temp_a0->unk-4 = 0.0f;
|
||||
load_giant_egg(temp_a0, 0, 0, 0x3F800000);
|
||||
load_giant_egg(arg0 + 0x24, 0x3F800000, 0, 0);
|
||||
load_giant_egg(arg0 + 0x30, 0, 0x3F800000, 0);
|
||||
vec3f_set(temp_a0, 0.0f, 0.0f, 1.0f);
|
||||
vec3f_set(arg0->unk54, 1.0f, 0.0f, 0.0f);
|
||||
vec3f_set(arg0->unk60, 0.0f, 1.0f, 0.0f);
|
||||
}
|
||||
#else
|
||||
GLOBAL_ASM("asm/non_matchings/memory/func_802AAAAC.s")
|
||||
|
||||
Reference in New Issue
Block a user