Commit Graph
215 Commits
Author SHA1 Message Date
Ryan MyersandGitHub 97aaf39e64 Cleanup, and documenting (#583)
* Some amount of documenting in printf.c

* Formatter, and do some mild cleanup and documentation in menu.c

* Fix gSaveMenuObjectIndices

* Use ObjectTransform in MenuAsset as it's what's being passed to cam_push_model_mtx

* Fix warnings and format

* Cleanup some objects.c code and it's usage of casting.

* Add Object to Object_64

* Much better score for func_8000B750

* Match func_8000B750

* Update score

* Do some naming

* Sorry one more better documenting!
2025-05-21 12:56:15 -04:00
UnnunuandGitHub 2ac56bae9c Match func_80083098 + minor cleanups across codebase (#581)
* make Camera struct

* wip

* wip

* fix gSPMatrix args

* gfx macros renamed

* wip

* document matrix functions

* match func_80083098

* update score and format

* JP version not matched

* build OK

* PR suggestions
2025-05-20 17:34:58 +03:00
Dominik PetersandGitHub 41fb214dff partial match: func_80028050 (#579)
* partial match: func_80028050

* match: func_8007CA68
2025-05-18 00:10:34 +02:00
Ryan MyersandGitHub 0f5d0e0e43 Convert Asset20 to Object_Boost and convert unk80068514_arg4 to Sprite (#569)
* Convert Asset20 to Object_Boost and convert unk80068514_arg4 to Sprite

* clean up some SoundHandle warnings

* Fix many warnings

* Rename racer_sound_init

* Fix last warning and format
2025-05-13 20:33:44 -04:00
Dominik PetersandGitHub 10bb972aa3 match: func_80027184 (#565)
* match: func_80027184
2025-05-13 07:37:58 -04:00
Ryan MyersandGitHub 5304ed697b Rematch render_epc_lock_up_display to remove local static! (#561)
* Fix name of verify all versions job

* Create a script to run m2c on all remaining unmatched functions.

* Update some functions with updated versions from scratches.

* Minor func_800135B8 documenting

* formatting

* remove yaml patch file

* Add better bug comments to more standardize them

* Fix and document various small issues

* Add objStatusString to the symbols list

* Some work trying to see if I can fix thread0 code some.

* test

* near match for render_epc_lock_up_display

* Rematch render_epc_lock_up_display without the static bs

* Remove the stacks.c file

* Do some cleanup for thread0_epc.

* format

* update score
2025-05-09 09:37:13 -04:00
4a56402723 match: func_800135B8 (#559)
* match: func_800135B8

* fix: format

* Update src/objects.c

* Update src/objects.c

* Update src/objects.c

* Update src/objects.c

* Update src/objects.c

Co-authored-by: Fazana <52551480+FazanaJ@users.noreply.github.com>

---------

Co-authored-by: Fazana <52551480+FazanaJ@users.noreply.github.com>
2025-05-07 15:31:38 +02:00
UnnunuandGitHub 764705b67c match and document audio_spatial.c (#555)
* match func_80004668 and adjust types

* match _handleEvent

* documentation WIP

* wip

* document audiosfx.c

* fix build

* a few type renames

* update score

* remove comment

* fix type

* wip

* match func_80008438

* update score

* documentation almost done

* documented audio_spatial.c

* update score

* format and update score

* remove duplicated lines

* PR suggestions
2025-05-06 16:47:08 +03:00
UnnunuandGitHub b88bd4366e match and document audiosfx.c (#550)
* match func_80004668 and adjust types

* match _handleEvent

* documentation WIP

* wip

* document audiosfx.c

* fix build

* a few type renames

* update score

* remove comment

* fix type

* fix typo
2025-05-05 15:47:26 +03:00
Dominik PetersandGitHub 45208555b8 match: func_800BCC70 (#539)
* match: func_800BCC70

* refac: replace magic value with constant
2025-05-01 16:35:49 +02:00
Dominik PetersandGitHub 93413ebb03 match: func_800BE654 (#537)
* match: func_800BE654

* lint: run format.sh

* refac: replace 0xFFFFFFF with COLOUR_TAG_CYAN
2025-04-29 20:42:08 -04:00
UnnunuandGitHub 9c00d3f75b match func_80025510, partial match of other functions in tracks.c (#532)
* match func_80025510

* two function done

* update score

* some non matchings

* update score

* format and update score
2025-04-28 15:07:18 +03:00
Dominik PetersandGitHub 197cb7eab2 document: waves.c related structs / variables (#526)
* partial waves.c matches

* match: func_800BBF78 & fix formatting

* chore. update score

* document: waves.c, cleanup some matches, add early returns where possible

* document: waves.c related things

* document: unk80129FC8 struct

* refac: cast constants to correct pointer types instead of u32
2025-04-23 19:23:53 +02:00
FazanaandGitHub e980d79bc1 document textures_sprites.c (#523) 2025-04-20 19:41:04 +01:00
Unnunu 6b198fa80d Merge branch 'master' into particles 2025-04-18 15:54:12 +03:00
Unnunu 88bfcc6d22 wip 2025-04-17 17:24:32 +03:00
Unnunu b5022dc9fa simplify Particle struct 2025-04-17 09:16:41 +03:00
Ryan MyersandGitHub a298ec5b5f Match func_80026430 and fix UB in func_80026070 (#516)
* Score and formatting

* Fix UB for func_80026070, and get func_80026430 to NON_EQ

* func_80026430 near match

* documenting

* Single diff for func_80026430

* Match func_80026430

* Update score and merge master

* Rework func_80026430 to have an AVOID_UB.
2025-04-16 15:27:28 -04:00
FazanaandGitHub a2636b9708 Document shadows a bit after learning some stuff about them (#513) 2025-04-16 13:09:08 -04:00
Unnunu 30cfc0e604 document particle.c 2025-04-16 10:52:08 +03:00
Unnunu 2e39255093 save progress 2025-04-14 17:07:39 +03:00
Unnunu fabec5a79f fixed almost all types in particles.c 2025-04-12 23:47:30 +03:00
Unnunu 0ad08ed3bd wip 2025-04-12 01:37:29 +03:00
Bl00D4NGEL c303c90ef6 match: debug_render_audio_effects 2025-04-11 23:40:59 +02:00
UnnunuandGitHub 59cc857f2a matched func_80078190 and render_rain_overlay (#506)
* matched func_80078190

* renamed the function

* match render_rain_overlay

* update score

* update symbol files

* use DKR_TRIANGLE
2025-04-10 12:22:34 -04:00