Ryan Myers
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 Myers
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
Ryan Myers
055f9db867
Update gbi.h to use one found in libultra E version ( #699 )
...
* Fix some asm size stuff, really only impacts the elf binary.
* Change the gbi.h to one found in libultra version E, and run formatter
* Update m2c submodule
2025-08-14 09:29:46 -04:00
Jordan Longstaff
1ce2e7a5b7
Add comments to a lot of object functions ( #690 )
...
* Add comments to a lot of object functions
* Add two functions in objects.c
* Reevaluate comments and remove emptiness
2025-08-01 00:03:04 +02:00
Dominik Peters
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 Longstaff
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
Dominik Peters
64e550d450
match: func_80027568 ( #674 )
...
* match: func_80027568
* fix: formatting, add Vec3f pointer cast
* refac: make position in object transform union of vec3f and 3 floats
2025-07-11 21:19:55 +02:00
Dominik Peters
5255e7fa52
update current code to match scratches on decomp.me ( #662 )
...
* chore: update current code to match scratches on decomp.me
* update score
2025-07-03 21:33:07 +02:00
Ryan Myers
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
Fazana
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
Unnunu
7e24105488
match func_8006017C ( #659 )
2025-07-03 13:05:56 +03:00
Fazana
b710316068
match func_8000CC7C ( #658 )
...
* there we go :)
* Update objects.c
2025-07-03 09:04:33 +01:00
Unnunu
cce72c9f62
decompile and document collision code ( #653 )
2025-07-02 11:29:55 +03:00
Dominik Peters
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
Unnunu
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 Myers
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
Dominik Peters
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
Fazana
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 Peters
7f82296e78
match: func_800101AC ( #641 )
2025-06-22 19:08:34 +02:00
Unnunu
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
Unnunu
683a4eff82
match func_8002CC30 ( #629 )
2025-06-17 16:14:28 +03:00
Unnunu
4b07cfffa1
Document camera and sprites ( #614 )
2025-06-11 15:36:25 +03:00
Dominik Peters
eb131e6bc4
document: remaining funcs, add decomp.me links ( #612 )
2025-06-11 14:11:24 +02:00
Unnunu
eaa2ac9fa4
name and document lights, CC modes and textures ( #607 )
2025-06-06 08:39:06 +03:00
Ryan Myers
520b3d58e3
Add a few NON_EQUIVALENT functions from scratches to keep them up to date ( #602 )
...
* WIP func_800101AC
* WIP func_800452A0
* cleanup
* Formatter and func_8004CC20 near match
* func_8004CC20 better score and documentation
* func_80049794 WIP and compilable
* Major cleanup of func_80049794
* Formatter
* Update scratch
* Add func_80019808 from scratch
* Cleanup func_80019808
* func_80019808 score improvment
* Improve func_80049794 score (Thanks Dominik!)
* func_8001C6C4 WIP
* func_8001E93C WIP
* small documenting
* Eliminate a lot of Obj64 casts.
2025-06-03 14:47:46 -04:00