Commit Graph
174 Commits
Author SHA1 Message Date
Ryan MyersandGitHub e732cd2f58 65% Milestone! (#434)
* WIP func_800B7EB4

* Fix RNG funcs. They really don't accept arguments, and pretending they do breaks the only code that calls them.

* Work on waves.c

* Match obj_loop_door

* Indentify flag

* Match obj_loop_fish

* Match obj_loop_weaponballoon

* Match obj_loop_char_select

* Match func_8003F2E8

* Update score
2023-11-10 08:47:30 -05:00
FazanaandGitHub 88864107ab Finish labelling most functions in audio.c + camera.c (#431)
* name some camera things

* yea there

* lots of audio

* match a func

* better

* x

* egg

* all but one func in audio.c nopw

* audio looks good for now

* Update audio.c

* correct taj thing

* fix warnings

* Update audiosfx.h

* Update README.md
2023-11-02 18:53:53 +00:00
Ryan MyersandGitHub cf2fa915b9 Halloween! 🎃63% matched! (#430)
* Match func_80085B9C

* Match draw_menu_elements

* Match render_file_select_menu

* Minor cleanup and semi documenting

* Fix some warnings

* Match func_800871D8

* More SIDeviceStatus stuff

* Update progress

* Fix non equivalent

* Update filter alpha to blend factor

* Fixed minor spacing issue

* Better floats math.
2023-10-31 16:09:58 -04:00
FazanaandGitHub d8e58622e0 Name the last two files in src (#429)
* label animation and a few object flags

* models

* name funny spline

* Update menu.c

* better name

* rename unknown_005740.c

* ah its happened again

* fix warnings

* Fix that dumb idiot warning finally

* teag

* rename the last audio file

* Update math_util.c

* update math util to the latest

* small funny format

* quick change

* fix warnings

* Update README.md

* Fix a maths func

* fix nonequiv building

* bro come on
2023-10-31 16:39:28 +00:00
Ryan MyersandGitHub 8019d578c0 Apply the usual cleanup of some recent matches (#428)
* WIP set_ghost_position_and_rotation

* set_ghost_position_and_rotation WIP update

* Match 3 menu funcs

* Add missing changes from last commit.

* Update README

* Fix NON_EQUIVALENT again

* math_util renames and minor cleanup. Used official names.

* Match func_800904E8

* Rename to our standard
2023-10-30 10:52:01 -04:00
Ryan MyersandGitHub 3b1e92c58b We are racing in the rematch against Bubbler. (Lap 3/3) (#425)
* Work on documenting save file types

* render_rain_overlay WIP

* Update render_rain_overlay WIP

* WIP func_800AC21C

* Match func_80093D40

* func_8008F618 WIP

* Update asm_processor

* Fixed the cursed match!

* func_80094D28 WIP

* WIP

* func_80094D28 score 140

* Promote func_80094D28 to NON_MATCHING

* Match func_80095728

* Match func_80099E8C

* minor tweaks

* update README

* Fix NON_EQUIVALENT builds

* Forgot to label sounds
2023-10-27 10:20:12 -04:00
f8e3c755a3 60% Matched! (#423)
* Match func_8005F99C

* unk8005FCD0 to Object_68

* Match func_800B7460

* epc cleanup

* Match func_8001EE74

* Match func_8001E6EC

* Match func_8000FD54

* Match func_80015348

* Match func_80016748

* Match func_8001AE64

* Match func_80016DE8

* Updated score

* Fix score

* Update src/object_models.h

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

---------

Co-authored-by: David Benepe <benepe96@gmail.com>
2023-10-20 08:12:50 -04:00
Ryan MyersandGitHub 38a76249f9 We are collecting silver coins in Treasure Caves. (1/8 silver coins) (#422)
* 3 new matches

* Fix arrays

* Get llcvt compiling finally

* Finsh 2 more libultra files

* Match func_80022E18

* Match func_8001BF20

* func_8001CD28 NON_MATCHING

* Match func_80026C14

* Match func_8005FF40

* Match func_80061A00

* Match func_8005FCD0

* Update score

* Fix NON_EQUIVALENT builds
2023-10-16 08:12:02 -04:00
658ab3f5f0 Update makefile, and include many new matches (#421)
* Fix the sins of the past

* Fix makefile extra messages, and add a patching option

* Match func_8001955C

* Match func_80016500

* Match func_8000C8F8

* WIP func_8000CC7C

* Removed old competing misc asset enums, and migrated to the better standard.

* Fix last commit

* Minor documenting of an unused asset.

* Match func_8001B4FC

* Match func_8009963C

* Match render_enter_filename_ui

* Match randomise_ai_racer_slots

* Fix NON_EQUIVALENT builds

* Update README

* A little text documenting

* Update src/menu.c

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

* Remove already matched asm file

---------

Co-authored-by: David Benepe <benepe96@gmail.com>
2023-10-12 08:35:23 -04:00
FazanaandGitHub 147e43c50e Adventure 2 33.33% (#420)
* be

* macros

* name these

* improve some names

* 31%

* I did evil things to objects

* made changes

* Fix warnings

* transitions

* Update fade_transition.c

* wav

* m

* Fix some font.c stuff

* racer behaviour table shenanigans

* 700

* Update fade_transition.c

* objects

* m

* oops

* thank you menu.c

* oh god renaming a commonly used function has its effects

* got busy in game_ui.c

* Update game_ui.c

* Update game_ui.h

* alrght

* Fix types in game_ui

* alrightnt

* 33.33%

* Update README.md

* Update README.md

* quick changes

* Update game_text.c

* Update game_text.c
2023-10-11 21:42:09 +01:00
FazanaandGitHub a8ca128ddf 700 named functions (#419)
* be

* macros

* name these

* improve some names

* 31%

* I did evil things to objects

* made changes

* Fix warnings

* transitions

* Update fade_transition.c

* wav

* m

* Fix some font.c stuff

* racer behaviour table shenanigans

* 700

* Update fade_transition.c
2023-10-10 21:13:52 +01:00
FazanaandGitHub e40ccf32c8 More various labels (#416)
* be

* macros

* name these

* improve some names

* 31%

* I did evil things to objects

* made changes
2023-10-08 15:41:12 +01:00
Ryan MyersandGitHub 4d3a6bf21b 4 new matches and some potentially tricky merges (#415)
* Match func_8006DCF8

* use enums

* Match func_8002FD74

* Match func_8008B4C8

* Documenting...

* WIP func_8008B758

* Nearly have func_8008B758

* Match func_8008B758

* Renaming, documenting, and cleanup

* Warning Fixes

* Update score
2023-10-06 10:34:59 -04:00
FazanaandGitHub 2149dedfd4 Adventure 2 30% (#414)
* struct sizeofs

* snowblal struct is become dead

* Some debug string relocation

* printf

* Floaties

* rename four unused particle funcs

* Particle cleanup part 1

* oh god I'm actually starting to understand this system

* am straight blasting

* Update particles.c

* more

* l

* Label camera.c

* Update game.c

* Fix warnings

* Fix names in the memory pool

* menu time

* more

* menu :))))

* finished with the inits

* youre gonna love this

* Update README.md
2023-10-06 14:40:45 +01:00
027cba8f99 We are collecting silver coins in Crescent Island. (0/8 silver coins) (#413)
* Match menu_results_loop

* Match menu_options_loop

* func_80059BF0 matched

* Various small changes

* Match func_8002125C

* func_80021104 matched

* Match func_800A0BD4 and _itoa

* Match func_800A47A0

* Match func_800A7A60

* Match func_8000418C

* Update README score

* Match func_8001F23C

* Rename gParticlePtrList_addObject to despawn_object

* Rename it again

* Apply suggestions from code review

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

---------

Co-authored-by: Fazana <52551480+FazanaJ@users.noreply.github.com>
2023-10-04 11:57:53 -04:00
Ryan MyersandGitHub 1ceb8d800f Fun with Functions! (#412)
* Match func_80094A5C

* Cleanup on func_80094A5C

* Reduce indentation on func_80094A5C with early returns

* calculate_and_display_rom_checksum and menu_trophy_race_rankings_loop matched

* Forgotten cleanup

* Cleanup some funcs

* Match menu_magic_codes_loop

* menu_magic_codes_loop cleanup

* "Match" free_texture...

* Match free_sprite

* Fix build issues.

* Update score in readme
2023-09-29 18:50:06 -04:00
Ryan MyersandGitHub b9f2dff589 Matches at 55%! We are collecting silver coins in Whale Bay. (2/8 silver coins) (#411)
* Match 3 new funcs

* Match 3 more funcs

* Update some var types

* Match func_800A36CC

* WIP func_800A7A60

* Match menu_trophy_race_rankings_init

* Fix NON_EQUIVALENT builds
2023-09-27 10:31:26 -04:00
14b1e4d554 Someone needs to slow down!😉 (#410)
* WIP func_800A36CC

* Match setup_lights and func_800337E4

* Match func_800AD030

* Match func_800AC0C8

* Match func_800AC8A8

* Match func_800C1130

* README update

* Apply suggestions from code review

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

* Add fakematch comment

---------

Co-authored-by: Fazana <52551480+FazanaJ@users.noreply.github.com>
2023-09-25 15:34:17 -04:00
fd40898eee We are battling in Darkwater Beach. (1 opponent remains) (#409)
* func_8000418C WIP

* func_8000418C progress

* Mach func_80030664

* Match func_80030DE0

* func_8001CC48 NON_MATCHING

* Match func_8001B3C4

* Match func_80036040

* Match func_8001EFA4

* Match func_80016C68

* Update README

* Remove func_80030DE0 asm

* Update src/objects.c

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

* Match free_hud

---------

Co-authored-by: David Benepe <benepe96@gmail.com>
2023-09-23 18:20:08 -04:00
FazanaandGitHub 888e4cde8b Making some sense of particle hell (#408)
* struct sizeofs

* snowblal struct is become dead

* Some debug string relocation

* printf

* Floaties

* rename four unused particle funcs

* Particle cleanup part 1

* oh god I'm actually starting to understand this system

* am straight blasting

* Update particles.c

* more

* l
2023-09-22 16:49:22 +01:00
f4197853b4 Many new matches (#407)
* Match func_8002DE30

* func_80046524 code cleanup and score improvement.

* Match func_800B45C4

* Match func_800B461C

* Match func_800B4668 and func_800B46BC

* Match func_800B3140

* Match strcpy and split other funcs into their own files.

* unused_string.c

* Match func_800B3240

* Match func_800A1C04

* Match func_800A22F4

* Better func_800A22F4

* Match all of unused_string.c now.

* Split two new funcs out of func_80011264 and match them.

* Do some documenting of the new funcs so they count for adventure two.

* Get func_80011264 to a really close match

* Workaround for the update_spatial_audio_position issue

* Come up with a cleaner fix for update_spatial_audio_position

* Soundmask updates

* Rename SoundMask struct

* Match func_800B34B0 and func_800B3358

* Apply suggestions from code review

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

* Update READEME score

* Fix 31 to 21

---------

Co-authored-by: Fazana <52551480+FazanaJ@users.noreply.github.com>
2023-09-21 07:37:07 -04:00
Ryan MyersandGitHub 7202d9efa5 # GLOBAL_ASM remaining: 300 (#405)
* Declare free_texture and free_sprite as NON_MATCHING now

* Match func_8007B380 and split func_800149C0 from func_80014814

* Match func_800149C0

* Move weather asm to its own folder

* Rename the unknown_05CEF0 folder to vehicle_tricky

* 2 matches, remove matched asm files, and fix other things

* WIP func_800BEFC4

* WIP update on func_800BEFC4

* Match func_800BEEB4

* Maybe better func_800BEEB4

* Update Score

* Fix NON_EQUIVALENT build.
2023-09-18 14:46:32 -04:00
14970cac4b Identity crisis with a helping of war crimes (#404)
* Update Makefile

* rename object stack tracing

* no

* name the timer of pure unadulterated rage

* rename rendering

* So much

* Label boss racer anims

* organise boss racers

* remove some unused funcs from headers

* dialogue

* there we go

* Update vehicle_bluey.c

* Update README.md

* quick fixes

* quicker fixes

* finally rename unknown_0255E0.c

* 💡

* more

* ops fixed buildng

* Fix warning

* Update objects.c

* label memory.c a bit.

* Some object things

* Fix warnings

* name last decompression related things

* identify water effect

* Update structs.h

* Update memory.c

* mem

* document game text

* more

* :)

* Fix UB in thread30

* Update game_ui.c

* match func_8009ECF0

* new names

* Update game_ui.c

* Fix warnings

* Update game.c

* Fix nonequiv building

* rename

* Update include/structs.h

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

---------

Co-authored-by: Ryan Myers <ryan.p.myers@gmail.com>
2023-09-14 22:50:44 +01:00
Ryan MyersandGitHub 34b3c51ffb 6 new matches (#403)
* Minor code cleanup

* Match func_800235DC

* Minor code cleanup

* Big progress on spawn_object

* Cleanup Object struct a little

* Big type and warning changes / fixes

* spawn_object 90%

* spawn_object 92%

* gThread30Message needs to be an array of 2

* Minor cleanup

* WIP func_80059BF0 and func_800A277C

* func_800A277C should be just regalloc and stack now

* Very close on func_800A277C

* Increase func_800A277C score

* Rename func_8006BD88 to get_current_map_id and fix a bug in func_800A277C

* Match func_8009ECF0

* Cleanup some warnings in func_8009ECF0

* Match func_8007C52C

* Match update_colour_cycle

* Update score

* Match get_texture_size_from_id

* Update score again

* Match load_sprite_info
2023-09-14 16:37:32 -04:00
Ryan MyersandGitHub 4a2f202442 Low hanging Object Fruit (#402)
* Match func_8001D2A0

* Match func_8001D4B4

* Match func_8000F7EC

* Match func_8000C718

* Match func_8000F99C
2023-09-05 10:54:46 -04:00