Properly fix sqrtf constants

This commit is contained in:
gamemasterplc 2024-11-09 15:49:29 -06:00
parent 4a4967d4a3
commit ce70fc74af
17 changed files with 29 additions and 32 deletions

View file

@ -1,6 +1,6 @@
#include "REL/executor.h"
#include "dolphin/os.h"
#include "rel_sqrt_consts.h"
#include "math.h"
void ObjectSetup(void) {
OSReport("minigame dll setup\n");

View file

@ -1,5 +1,5 @@
#include "REL/board_executor.h"
#include "rel_sqrt_consts.h"
#include "math.h"
static void ObjectSetup(void) {
BoardObjectSetup(BoardCreate, BoardDestroy);

View file

@ -15,7 +15,6 @@
#include "game/wipe.h"
#include "math.h"
#include "rel_sqrt_consts.h"
#include "data_num/title.h"

View file

@ -16,7 +16,7 @@
#include "game/wipe.h"
#include "dolphin.h"
#include "rel_sqrt_consts.h"
#include "math.h"
#include "string.h"
typedef struct {

View file

@ -1,5 +1,5 @@
#include "REL/m446Dll.h"
#include "rel_sqrt_consts.h"
#include "math.h"
#include "game/audio.h"
#include "game/frand.h"

View file

@ -11,7 +11,7 @@
#include "game/window.h"
#include "game/wipe.h"
#include "rel_sqrt_consts.h"
#include "math.h"
typedef struct {
/* 0x00 */ s16 unk00;

View file

@ -14,6 +14,7 @@
#include "math.h"
#include "REL/modeltestDll.h"
#include "math.h"
// -------------------------------------------------------------------------- //
@ -28,8 +29,6 @@ s32 lbl_1_data_0[8] = {
DATA_MAKE_NUM(DATADIR_MARIOMOT, 0x04),
};
const f64 unk_rodata_0 = 0.5;
const f64 unk_rodata_8 = 3.0;
omObjData *lbl_1_bss_9A4;
omObjData *lbl_1_bss_9A0;

View file

@ -8,7 +8,7 @@
#include "game/gamework_data.h"
#include "game/flag.h"
#include "game/chrman.h"
#include "rel_sqrt_consts.h"
#include "math.h"
#include "REL/executor.h"
#include "game/board/main.h"

View file

@ -12,7 +12,7 @@
#include "game/sprite.h"
#include "game/wipe.h"
#include "rel_sqrt_consts.h"
#include "math.h"
typedef struct {
/* 0x00 */ s16 id;

View file

@ -5,7 +5,7 @@
#include "game/pad.h"
#include "game/process.h"
#include "game/wipe.h"
#include "rel_sqrt_consts.h"
#include "math.h"
#include "REL/present.h"

View file

@ -3,7 +3,7 @@
#include "game/gamework_data.h"
#include "game/printfunc.h"
#include "game/pad.h"
#include "rel_sqrt_consts.h"
#include "math.h"
s32 lbl_1_data_0 = 100;
s32 lbl_1_bss_0[192];

View file

@ -14,8 +14,8 @@
#include "game/pad.h"
#include "game/printfunc.h"
#include "game/wipe.h"
#include "math.h"
#include "rel_sqrt_consts.h"
// MSM Definitions
static s8 *msmSeGetIndexPtr(s16 datano);

View file

@ -9,7 +9,7 @@
#include "game/window.h"
#include "game/wipe.h"
#include "rel_sqrt_consts.h"
#include "math.h"
typedef struct StaffData {
/* 0x00 */ u32 unk_00;

View file

@ -5,7 +5,7 @@
#include "game/pad.h"
#include "game/wipe.h"
#include "rel_sqrt_consts.h"
#include "math.h"
static void SubchrMain(void);