19 Commits

Author SHA1 Message Date
Unnunu
1633abc11a decompile and document math_util.c (#595) 2025-05-30 16:50:19 +03:00
Ryan Myers
a005a4eb3d Match all libultra, and more closely match ultralib (#466)
* Massive libultra changes

* Fix the build!

* Remove crc comment that seemd to break the score script for some reason.

* Update README score.

* Apply some suggestions

* rename sins and coss funcs.
2025-02-24 11:45:02 -05:00
Ryan Myers
6dcdd256ee We are collecting silver coins in Pirate Lagoon. (2/8 silver coins) (#418)
* Match func_800C0B00

* Rename func_80065EA0 to camera_init

* Match menu_audio_options_loop

* Fix last commit

* Couple small changes

* Match 3 wave funcs

* update README
2023-10-10 10:09:08 -04:00
Fazana
3c97d5ea99 Identify and label a bunch of game.c stuff (#385)
* Fix warnings

* Update src/thread0_epc.c

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

* identify some texture init stuff

* match _Litob

* match cosf

* match sinf

* formatting

* Update math.h

* Delete sinf.s

* quick fix

* Update unknown_078050.c

* identify some time trial stuff

* my honest reaction

* Add a define for F3DDKR_GBI

* Add GCC define for stubbed_printf

Fixes a bunch of warnings, because IDO is such a brilliant compiler with zero flaws that for some reasons decides "#define text(...)" is against federal law.

* Update racer speed errors

* identify some game.c stuff

* Rename

* Fix inaccurate names for the displaylist heap

* more.

* quick fixes

* Update src/racer.c

Co-authored-by: David Benepe <benepe96@gmail.com>

* Update src/objects.c

Co-authored-by: David Benepe <benepe96@gmail.com>

* Update src/objects.c

Co-authored-by: David Benepe <benepe96@gmail.com>

* quicker fixes

---------

Co-authored-by: Ryan Myers <ryan.p.myers@gmail.com>
Co-authored-by: David Benepe <benepe96@gmail.com>
2023-04-23 20:21:39 +01:00
Fazana
965aa1f33e I finally defeated every avoidable warning (#335)
* silver coin labels

* match obj_loop_log

* better

* match obj_loop_modechange

* nonmatching obj_loop_fireball_octoweapon

* fix racer.c warnings

* match obj_loop_fireball_octoweapon

* Update object_functions.c

* match obj_loop_lasergun

* unknown_0255E0.c warnings fixed

* asset_loading.c warnings too

* laser gun labels

* quick fixes

* match func_8003F0F8

* prelim

* match func_8000E4E8

* warnings are dead

* quick fixes

* Update math_util.c

* reee
2022-12-10 22:42:50 +00:00
Fazana
e47fc4b0ef Couple matches (#270)
* match func_80077268

* Update borders.c

* Update borders.h

* game.c labels

* rename border

* match func_80068BF4 and func_80069484

* Update camera.c

* camera.c labels

* more camera.c documentation

oh god this is gonna be another one of THOSE PR's again isn't it?

* Update camera.c

* destruction

* nonmatching func_80002DF8

* make clean now removes the linker

* Update unknown_003260.c

* match func_800A0EB4

* match render_background

* fix warnings

* style fixes

* label indicator arrows in the UI

* requested changes

* struct renames

* match func_800A7B68

* Update README.md

* match func_800A5A64

* Fix unforgivable typo

sorry im not a fake fan I sware on me nan

* Update README.md

* more detailed documentation of game_ui

* match func_800A01A0

* prelim changes

* oh no

* nonmatching func_80024D54

* labbel

* fix build

* fix context warnings

* match func_800A7520

* fixes

* requested changes
2022-10-30 19:58:59 +00:00
Fazana
c65f2198e3 Further labelling menu.c, font.c, fade_transition.c (#186)
* Further Labelling of font.c

* Further labelling

* Rename unknown_06B2B0

* Revert the rename

I still want to do it, but I'm gonna do it as a separate branch, so diffs won't be absolute hell

* Transition labelling

* Requested changes

* oops missed one
2021-12-07 15:03:03 -05:00
Ryan Myers
a2ef26b367 Identify many variable types and fix some compiler warnings 2021-09-09 09:18:51 -04:00
David Benepe
a5592d684b More documentation in memory & unknown_077A0 2021-06-22 14:30:36 -05:00
David Benepe
c1337fb0d3 Moved rodata from C to GLOBAL_ASM in unknown_001050, _080500, and _0AEE70 2021-06-05 17:29:47 -05:00
David Benepe
cbe0160136 Moved .rodata in unknown_003260 from asm to C. 2021-05-29 16:51:57 -05:00
David Benepe
d1c9ed7580 Moved .rodata in unknown_001050 from asm to C. 2021-05-29 15:55:09 -05:00
Mittenshugg
f502566598 src: __osTimerInterrupt, __osInsertTimer, osViBlack 2020-07-31 19:55:34 -05:00
David Benepe
1fa480bb17 Decompiled memcpy_strlen_strchr_0CED70.c to string.c 2020-07-03 19:39:02 -05:00
David Benepe
820d38e548 Named some rng functions, also fixed s64/u64 types. 2020-07-03 18:35:00 -05:00
David Benepe
1f1744e1bd Added struct.h 2020-07-01 01:50:12 -05:00
David Benepe
75cfb74216 Can't forget about those end-of-file newlines. 2020-06-29 12:13:32 -05:00
David Benepe
67d6e88d64 Started decompiling functions from unknown_0AEE70 2020-06-29 12:10:52 -05:00
David Benepe
15d5b33988 Created an include directory 2020-06-28 20:20:33 -05:00