1834 Commits
Author SHA1 Message Date
Ryan MyersandGitHub 813705850a Header shuffle, cleanup, and fix UB (#661)
* Cleanup and formatting

* Fix typos

* formatter

* Start working on header cleanup

* More include changes

* WIP MORE

* Finished the first pass of include updates.

* More include updates

* Handle some UB

* Formatter
2025-07-03 13:02:34 -04:00
FazanaandGitHub 116ee8e77e Sage branded brain blast leads to some new documented bits (#660)
* oops

* yum

* naming

* find homes for these

* Missed a few bits
2025-07-03 13:34:36 +01:00
UnnunuandGitHub 7e24105488 match func_8006017C (#659) 2025-07-03 13:05:56 +03:00
FazanaandGitHub b710316068 match func_8000CC7C (#658)
* there we go :)

* Update objects.c
2025-07-03 09:04:33 +01:00
UnnunuandGitHub cce72c9f62 decompile and document collision code (#653) 2025-07-02 11:29:55 +03:00
Dominik PetersandGitHub 915eec6c4b match: func_800304C8 (#654) 2025-07-02 07:39:18 +02:00
6e27848a47 match: func_8001F460 (#652)
* match: func_8001F460

* chore: remove comment

* Update src/objects.c

Co-authored-by: Ryan Myers <ryan.p.myers@gmail.com>

---------

Co-authored-by: Dominik Peters <dominik.peters@committance.com>
Co-authored-by: Ryan Myers <ryan.p.myers@gmail.com>
2025-06-26 21:07:45 +02:00
c106e87a01 Refactored Object structure (#650)
* remove ObjectSegment from Object

* remove some unused structs

* remove SegmentPropertiesObject from Object

* object types

* remove unneeded structs

* save

* fix build

* remove unneeded unk64 union fields

* get rid of unk64

* update score

* Apply suggestions from code review

Co-authored-by: Ryan Myers <ryan.p.myers@gmail.com>

---------

Co-authored-by: Ryan Myers <ryan.p.myers@gmail.com>
2025-06-26 18:58:23 +03:00
ee58615fef Update score (#651)
Co-authored-by: Ryan-Myers <Ryan-Myers@users.noreply.github.com>
2025-06-26 13:53:11 +02:00
Ryan MyersandGitHub 55293e4f6e Clean up math_util.s (#649)
* Update some submodules, and tweak some printf code to more closely match the exact names and style of the official glibc version

* Update some offsets

* Clean up math_util.s, and figure out how to fix the sins functions just being labels. Now the elf file properly shows up as a function with the correct offset.

* Fix tables, and clean up some float values
2025-06-26 07:32:25 -04:00
a6533ddb1d match: func_80021600 (#647)
* match: func_80021600

* refac: rename vars in func_80021600

---------

Co-authored-by: Dominik Peters <dominik.peters@committance.com>
2025-06-25 21:10:28 +02:00
9fd0885200 More documenting and labelling things I've learned, suddenly and unsuddenly. (#645)
* ooh

* race

* Update menu.c

* fix more menu UB

* fix some warns

* fix symbols

* more model stuff

* confusion

* format le code

* Update racer.h

* Update src/objects.c

Co-authored-by: Ryan Myers <ryan.p.myers@gmail.com>

* Update src/racer.c

Co-authored-by: Ryan Myers <ryan.p.myers@gmail.com>

* improve vehicle anim func

* clean up another function

* Update tools/python/calc_func_checksums.py

Co-authored-by: Dominik Peters <github@d-peters.com>

* Update tools/python/calc_func_checksums.py

Co-authored-by: Dominik Peters <github@d-peters.com>

* oop

* Update object_functions.c

---------

Co-authored-by: Ryan Myers <ryan.p.myers@gmail.com>
Co-authored-by: Dominik Peters <github@d-peters.com>
2025-06-25 17:57:50 +01:00
Dominik PetersandGitHub 9e9b607722 match: func_8001E93C (#644) 2025-06-24 21:41:09 +02:00
87c08d35e8 match: func_800185E4 (#643)
* match: func_800185E4

* doc: update match score

---------

Co-authored-by: Dominik Peters <dominik.peters@committance.com>
2025-06-24 18:22:08 +02:00
Dominik PetersandGitHub 7f82296e78 match: func_800101AC (#641) 2025-06-22 19:08:34 +02:00
UnnunuandGitHub 0a1502afa3 match func_8002BAB0 (#640)
* match func_8002BAB0

* update score
2025-06-21 14:32:02 +03:00
Dominik PetersandGitHub 0020c478dd match: func_80045C48 (#638)
* match: func_80045C48

* refac: vehicle tricky stickX calculation
2025-06-21 04:16:11 +02:00
UnnunuandGitHub 87c1b06490 match spawn_object (#637)
* clean up Object-unk68

* rename field

* remove unused struct

* remove padding

* match spawn_object

* spawn flags

* clean up
2025-06-20 17:51:45 +03:00
795f8a1b32 Update score (#635)
Co-authored-by: Bl00D4NGEL <Bl00D4NGEL@users.noreply.github.com>
2025-06-19 07:34:53 -04:00
4cbea1aca0 match: set_ghost_position_and_rotation & promote func_80027568 to non matching (#634)
* match: set_ghost_position_and_rotation & promote func_80027568 to non matching

* fix: linting + jp match of set_ghost_position_and_rotation

* fix: set_ghost_position_and_rotation  for v79+

* refac: use OBJ_EMIT_NONE instead of 0, rename pad var to temp

* refac: rename set_ghost_position_and_rotation to timetrial_ghost_read

---------

Co-authored-by: Dominik Peters <dominik.peters@committance.com>
2025-06-19 09:55:37 +02:00
Ryan MyersandGitHub 37454869ed Fix the last two unmatched JPN functions that were matched in other versions (#633)
* Match results_render in JP

* It's actually one function left for JP

* Match menu_credits_loop

* Match the last JP unmatched in menu.c
2025-06-17 13:59:37 -04:00
Ryan MyersandGitHub e5157023eb Match savemenu_render_element for JP Region (#631)
* Last function that had no compilable code is now there.

* Hack up the score script to filter out functions that are matched in US 1.0 but not in JPN. This will finally show us the true functions remaining to be matched to finish US 1.0

* Update score

* Run formatter

* Match savemenu_render_element for JP Region

* Update the score
2025-06-17 10:26:16 -04:00
UnnunuandGitHub 6950414382 match func_8000E5EC (#630) 2025-06-17 16:27:14 +03:00
UnnunuandGitHub 683a4eff82 match func_8002CC30 (#629) 2025-06-17 16:14:28 +03:00
Dominik PetersandGitHub c797becf16 match: func_8001C6C4 (#628) 2025-06-17 09:05:30 -04:00