import random_u16 to sm64, match random_s32, and match actor func (#203)

* import random_u16 and atans from sm64

* rand math decomp

* Match func_80298AC0
This commit is contained in:
MegaMech
2022-05-19 02:39:18 -06:00
committed by GitHub
parent 63c4f48340
commit bcf65f3883
112 changed files with 6847 additions and 7413 deletions
+8
View File
@@ -123,6 +123,14 @@ struct ActorSpawnData {
/* 0x06 */ u16 someId; // Usually populated, but not necessarily used by all actors types
};
// Required for func_80298AC0 due to diff size.
// members unverified. data located at D_06013F78
struct UnkActorSpawnData {
/* 0x00 */ Vec3s pos;
/* 0x06 */ u16 someId; // Usually populated, but not necessarily used by all actors types
/* 0x08 */ u16 unk8;
};
struct YoshiValleyEgg {
/* 0x00 */ s16 type;
/* 0x02 */ s16 flags;
+1 -1
View File
@@ -3,7 +3,7 @@
#include "common_structs.h"
s32 random_int(s32);
s32 random_int(u16);
void mio0decode(u8* arg0, u8* arg1);
void func_8000F2DC(void);