* Turn D_802BFB80 into a union
As much as I hate it, it does make more matches possible
Got a few more, unrelated matches
Signed-off-by: Taggerung <tyler.taggerung@email.com>
* Update based on comment
Signed-off-by: Taggerung <tyler.taggerung@email.com>
* Update to address comment
Signed-off-by: Taggerung <tyler.taggerung@email.com>
---------
Signed-off-by: Taggerung <tyler.taggerung@email.com>
Co-authored-by: Taggerung <tyler.taggerung@email.com>
* Match the last 2 data files
Signed-off-by: Taggerung <tyler.taggerung@email.com>
* Update one of the file names based on comments
Signed-off-by: Taggerung <tyler.taggerung@email.com>
* Fix bad path in onomatopoeia asset file
Signed-off-by: Taggerung <tyler.taggerung@email.com>
---------
Signed-off-by: Taggerung <tyler.taggerung@email.com>
Co-authored-by: Taggerung <tyler.taggerung@email.com>
* More matches in code_80091750
Fixed some missing balign directives in some assembly files.
A lot of these matches are dependent on flattening a bunch of
arrays, which feels icky but makes matching possible.
Signed-off-by: Taggerung <tyler.taggerung@email.com>
* Matched another function
Updated the attempts for a couple others
Signed-off-by: Taggerung <tyler.taggerung@email.com>
---------
Signed-off-by: Taggerung <tyler.taggerung@email.com>
Co-authored-by: Taggerung <tyler.taggerung@email.com>
Also deleted an unused .c file, its current name is `effects.c`
Signed-off-by: Taggerung <tyler.taggerung@email.com>
Co-authored-by: Taggerung <tyler.taggerung@email.com>
* Add Windows Support
* Modify readme instructions for windows building
* Remove unused files
* Modified extract_assets.py, new_extract_assets.py, and build.py to work on windows
his PR cleans up segment related code in main.c.
Also cleans up the linker a bit.
Add memory pool to linker as .bss to validate that it exists properly.
Move framebuffers, gfx, and audio buffers out of racing segment and make its own segment.
Rename framebuffers.c to buffers.c as it contains more than just framebuffers.
Import asserts from sm64 to validate that code segments are not overlapping
Rename segNoload to segmentNoload
Rename 802BA370 segment to trigTables
Rename gMenuSelectionFromEndingSequence to gGotoMenu
Rename gMenuSelectionFromQuit to gGotoMode
Rename SEG_ENDING_SEQUENCES to SEG_ENDING
Rename data_821D10 to ceremonyData
Rename data_825800 to startupLogo
* Some matches in code_80091750
Found a couple functions that had not been split out properly
Signed-off-by: Taggerung <tyler.taggerung@email.com>
* More matches
Signed-off-by: Taggerung <tyler.taggerung@email.com>
---------
Signed-off-by: Taggerung <tyler.taggerung@email.com>
Co-authored-by: Taggerung <tyler.taggerung@email.com>
* Update and rename code_8001F980.c to render_player.c
* Rename code_8001F980.h to render_player.h
* rename import file to render_player
* Update and rename code_80004740.c to save.c
* Rename code_80004740.h to save.h
* Proper linkage for textures in course display lists
* Does not use new_extract_assets. This tool is small and easy to maintain on its own.
* Auto generate the linkonly files
Signed-off-by: Taggerung <tyler.taggerung@email.com>
* Add new utility to calculate packed dl end and vertex count
Requires changing a bunch of actual references to packed dl lists
with raw numbers. Which feels extremely bad but it doesn't match
otherwise.
Signed-off-by: Taggerung <tyler.taggerung@email.com>
* Hard code array lenghts in appropriate headers
Use macros to generate the vertex counts and packed dl end points
Heavily dependent on the array lengths being accurate. If they
aren't stuff will break.
Signed-off-by: Taggerung <tyler.taggerung@email.com>
Required fixing a restriction some old n64graphics chagnes had.
We can now use the `-Z` option with both ci8 and ci4 images.
Signed-off-by: Taggerung <tyler.taggerung@email.com>