Matches, Cleanup, and function splitting (#242)

* Minor labeling during some investigation

* Match func_8006CCF0

* func_80093A40

* Match func_80094170

* Match func_80004A60

* Get func_80093D40 a little closer to matching

* Match menu_track_select_loop

* Match some for loops that were weird before. They needed to be one liners

* Match debug_print_fixed_matrix_values

* Match func_800867D4 and combine two structs into one

* Fixed warnings in load_screen

* Fix multiple funcs being in one file, and match them.

* Split functions out of func_80069A40, and match.

* Fix previous commit by matching func_80069ACC

* Split a function out of func_800A718C, and match it. Then do a near match of func_80085B9C.

* Split and match func_800B61E0

* Split and match 2 funcs from func_800048D8

* Split functions out of setupOSTasks

* Split out a few more funcs, and match an empty one

* Split out more functions

* Splitting more funcs again

* Split more funcs out, and match a couple on the wa

* Update score

* Update progress script to include unmatched lib funcs, and fix the shield output.

* Fix progress.py counting labels as unique functions, and kind of match update_spatial_audio_position

* Apply suggestions

* Missed a change
This commit is contained in:
Ryan Myers
2022-08-28 07:02:05 -04:00
committed by GitHub
parent 3a2fa13e5c
commit 3dd6118172
81 changed files with 2023 additions and 3520 deletions
+7
View File
@@ -71,6 +71,13 @@
#define G_TRIN 5
#define G_DMADL 7
#define G_MTX_DKR_INDEX_0 0x00
#define G_MTX_DKR_INDEX_1 0x40
#define G_MTX_DKR_INDEX_2 0x80
#define G_MW_BILLBOARD 0x02 //0x01 = billboarding enabled, 0x00 = disabled
#define G_MW_MVMATRIX 0x0A //Specifies the index of the modelview matrix.
#define gDkrInsertMatrix(pkt, where, num) \
gMoveWd(pkt, G_MW_MVMATRIX, where, num)
#define gDkrVertices(pkt, address, no, v0) \
{ \
+6
View File
@@ -6,6 +6,12 @@
#include "types.h"
#include "enums.h"
typedef struct Vec3f {
f32 x;
f32 y;
f32 z;
} Vec3f;
/* Size: 0x20 bytes */
typedef struct MenuElement {
// Element Position