Cleanup and get rid of many warnings when compiling with stricter warnings (#578)

* Mini improvements

* Fix some splits

* Remove last comma from enums

* Fix symbols

* Fix some headers and missing prototypes

* Replace most of f32 with float

* Replace most of Point3d with Vec

* Add missing esprite include with guard

* Add HuSetVecF to ext_math behind a guard

* More includes
This commit is contained in:
dbalatoni13 2025-04-01 07:11:31 +02:00 committed by GitHub
parent 4b0737d49c
commit 887cb00c5b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
67 changed files with 1662 additions and 1545 deletions

View file

@ -4,16 +4,16 @@
#include "game/object.h"
extern s32 lbl_1_data_0[][4];
//the prev and current struct member might be vice versa
// the prev and current struct member might be vice versa
typedef struct MentDllUnkBss64Struct {
/* 0x00 */ void (*func)(void);
/* 0x04 */ void (*func2)(f32 arg9);
/* 0x04 */ void (*func2)(float arg9);
/* 0x08 */ Vec center;
/* 0x14 */ Vec prevCenter;
/* 0x20 */ Vec rot;
/* 0x2C */ Vec prevRot;
/* 0x38 */ float zoom;
/* 0x3C */ f32 prevZoom;
/* 0x3C */ float prevZoom;
/* 0x40 */ s32 unk_40;
} MentDllUnkBss64Struct; /* size = 0x44 */
extern MentDllUnkBss64Struct lbl_1_bss_64;
@ -36,10 +36,10 @@ s32 fn_1_1DD8(s32 arg0, s32 arg1, s32 arg2);
s32 fn_1_2154(s32 arg0);
void fn_1_2318(s32 arg0);
void fn_1_2808(void (*arg0)(void));
void fn_1_2844(Process* arg0, void (*arg1)(void));
void fn_1_29A0(MentDllUnkBss64Struct* arg0);
void fn_1_4138(MentDllUnkBss64Struct* arg0, MentDllUnkBss64Struct* arg1, f32 arg8, f32 arg9, f32 argA);
void fn_1_5150(MentDllUnkBss64Struct* arg0, MentDllUnkBss64Struct* arg1, f32 arg8, f32 arg9, f32 argA);
void fn_1_2844(Process *arg0, void (*arg1)(void));
void fn_1_29A0(MentDllUnkBss64Struct *arg0);
void fn_1_4138(MentDllUnkBss64Struct *arg0, MentDllUnkBss64Struct *arg1, float arg8, float arg9, float argA);
void fn_1_5150(MentDllUnkBss64Struct *arg0, MentDllUnkBss64Struct *arg1, float arg8, float arg9, float argA);
void fn_1_5818(omObjData *arg0, s32 arg1, s32 arg2, s32 arg3, s32 arg4);
void fn_1_59A0(omObjData *arg0, s32 arg1, s32 arg2, s32 arg3, s32 arg4);
void fn_1_5C08(omObjData *arg0);