I finally defeated every avoidable warning (#335)

* silver coin labels

* match obj_loop_log

* better

* match obj_loop_modechange

* nonmatching obj_loop_fireball_octoweapon

* fix racer.c warnings

* match obj_loop_fireball_octoweapon

* Update object_functions.c

* match obj_loop_lasergun

* unknown_0255E0.c warnings fixed

* asset_loading.c warnings too

* laser gun labels

* quick fixes

* match func_8003F0F8

* prelim

* match func_8000E4E8

* warnings are dead

* quick fixes

* Update math_util.c

* reee
This commit is contained in:
Fazana
2022-12-10 22:42:50 +00:00
committed by GitHub
parent a1db49eecf
commit 965aa1f33e
58 changed files with 724 additions and 806 deletions
+1
View File
@@ -311,5 +311,6 @@ s32 __timeToSamples(ALSynth *ALSynth, s32 micros);
ALMicroTime _samplesToTime(ALSynth *synth, s32 samples);
void _init_lpfilter(ALLowPass *lp);
void alClose(ALGlobals *glob);
#endif
+7 -5
View File
@@ -289,9 +289,8 @@ typedef struct LevelHeader {
/* 0x03 */ u8 unk3;
/* 0x04 */ s8 unk4[4];
/* 0x08 */ f32 course_height;
/* 0x0C */ u8 padC[0x14];
/* 0x0C */ u8 unkC[10];
/* 0x16 */ u8 unk16[10];
/* 0x20 */ s32 *unk20;
/* 0x24 */ u8 pad24[6];
@@ -774,6 +773,8 @@ typedef struct Object_Weapon {
/* 0x14 */ s32 unk14;
/* 0x18 */ u8 weaponID;
/* 0x19 */ u8 checkpoint;
/* 0x19 */ s16 unk1A;
/* 0x19 */ s32 unk1C;
} Object_Weapon;
typedef struct Object_Butterfly {
@@ -1142,9 +1143,10 @@ typedef struct Object_Racer {
/* 0x203 */ s8 boostType;
/* 0x204 */ s16 unk204;
/* 0x206 */ s16 unk206;
/* 0x208 */ s16 unk208;
/* 0x208 */ s8 unk208;
/* 0x209 */ u8 unk209;
/* 0x20A */ u8 unk20A;
/* 0x20B */ s8 unk20B;
/* 0x20B */ u8 unk20B;
/* 0x20C */ u8 throttleReleased;
/* 0x20D */ u8 unk20D;
/* 0x20E */ u16 unk20E;
+1
View File
@@ -40,6 +40,7 @@ typedef s32 ptrdiff_t;
//#endif
typedef float Matrix[4][4];
typedef s32 MatrixS[4][4];
typedef s16 VertexList;
typedef s8 TriangleList;