73 Commits
Author SHA1 Message Date
AloXado320andGitHub ca362d1a1d Split up assets and assets lut files (#713) 2026-01-15 10:58:10 -05:00
Ryan MyersandGitHub aacc45612e Splat upgrade (#705)
* Upgrade to splat 0.35.1 and spimdisasm 1.36.0

* Upgrade to splat 0.35.2 and spimdisasm 1.36.1 and do the submodule updates required for that as well.
2025-09-09 11:31:59 -04:00
Ryan MyersandGitHub 1d089fad9f Update libultra asm (#701)
* Update func_8008FF1C to a closer match

* Update formatting

* single reg diff

* Generate end labels for all ucodes, rename the boot to rspboot, and have them all get generated together into the same object file, and standardize how they're defined in the headers.

* Use glabel, dlabel, and jlabel for different purposes in asm

* Working compile with ido for asm files.

* Fix other versions bss declaration

* Update exceptasm to show other build versions

* Fix NON_MATCHING build ld script

* Remove a change to libultra that we don't need anymore.

* Get it building with GCC, but it doesn't seem to boot...

* Slightly cleaned up the GCC builds by still ignoring warnings in libultra, and adding some extra assembly line breaks and flags.
2025-09-02 12:57:23 -04:00
ab1a65087e Documentation prs combined (#694)
* WIP: Document checkpoint-related function

* Document several checkpoint-related functions

* Fix misnamed argument

* Change "inactive" flag to "alternate"

* Add another function

* Add missing comment

* Fix score locally

* Document ramp switch functions

* Add comments for named wave functions

* Document and rename two-player adventure functions and globals

* Fix score locally

* Document obj_loop_char_select

* Fix return type

* Fix build errors

* Convert enum to macros

* Try bringing back enum

* Move enum back into menu header

* Fix score locally

* Slightly improve progress messages in score display (#687)

* Slightly improve progress messages in score display

* Add specific counts of undocumented functions

* Roll back redundant calculations

* More concise Trophy Race descriptions

* Fix score locally

* chore: update score

---------

Co-authored-by: Jordan Longstaff <jrdnlngstff@gmail.com>
Co-authored-by: Jordan Longstaff <JordanLongstaff@users.noreply.github.com>
Co-authored-by: Dominik Peters <dominik.peters@committance.com>
2025-07-24 01:10:29 +02:00
Jordan LongstaffandGitHub 922de6abcd Document battle mode HUD function (#685) 2025-07-20 10:36:46 -04:00
Jordan LongstaffandGitHub 12588c3043 Rename func_800C510C (#684) 2025-07-20 08:54:12 -04:00
Jordan LongstaffandGitHub 8d2e6ab45d Improve lighting documentation (#680)
* Improve lighting documentation

* More renames in LevelObjectEntry_RgbaLight

* Fix wrong-styled function name

* Suggested changes to comments

* Rename functions

* Fix renaming variable

* Add light mask enum

* Missed function to rename

* Update score
2025-07-19 14:05:02 -04:00
Jordan LongstaffandGitHub e43abfd99b Document func_80001440 (#678)
* Document func_80001440

* Convert to for loop
2025-07-16 08:43:15 -04:00
FazanaandGitHub 66f4f02897 Rename asset_loading.c funcs (#672)
* m

* Update asset_loading.c

* le format

* change this too
2025-07-09 17:39:53 +01:00
FazanaandGitHub 51371a709e Rename funcs in game.c (#670)
* trole

* name particle dummy asset

* spatial audio debug strings

* home some strings and fix warns

* Update collision.c

* rename game.c

* format
2025-07-08 22:03:38 +01:00
FazanaandGitHub 6b704ab45a Slight organisation (#667)
* trole

* name particle dummy asset

* spatial audio debug strings

* home some strings and fix warns

* Update collision.c
2025-07-08 00:33:14 +01:00
Ryan MyersandGitHub de74b2634f Identify Audio Function Official Symbol Names (#665)
* Document a bunch of official names, mostly audio.

* Update score

* Update var names in func_80018CE0 to match the .h header version.
2025-07-04 08:04:45 -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
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
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
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
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
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
ea9e21fa64 match: func_80012F94 (#626)
* match: func_80012F94

* refac: rename func_80012F94 to set_temp_model_transforms

---------

Co-authored-by: Dominik Peters <dominik.peters@committance.com>
2025-06-16 20:22:47 +02:00
UnnunuandGitHub 4b07cfffa1 Document camera and sprites (#614) 2025-06-11 15:36:25 +03:00
UnnunuandGitHub 700ca2495e match func_8004447C (#615) 2025-06-11 15:25:31 +03:00
UnnunuandGitHub eaa2ac9fa4 name and document lights, CC modes and textures (#607) 2025-06-06 08:39:06 +03:00
FazanaandGitHub 4c4309665a Various touchups here and there, some renames in camera.c (#597)
* the beginning of the void

* update asset tool

* void :)

* there

* cam

* model

* more

* fix warns

* ok

* whoops missed a rename
2025-06-01 19:33:07 +01:00
UnnunuandGitHub 1633abc11a decompile and document math_util.c (#595) 2025-05-30 16:50:19 +03:00