Commit Graph
1388 Commits
Author SHA1 Message Date
David Benepe 71936e9e7a Decompiled 2 functions in menu.c 2022-09-27 20:19:01 -04:00
David BenepeandGitHub c877c998f4 Merge pull request #244 from DavidSM64/ostask_funcs
Decompiled 4 functions in unknown_078050
2022-09-24 14:12:37 -05:00
David Benepe bbdb633c03 Renamed decompiled functions. 2022-09-24 15:11:47 -04:00
David Benepe 8dc1121888 Decompiled 4 functions in unknown_078050 2022-09-24 13:03:20 -04:00
37e2fecf7e Split out functions in unknown_070110, and do some documenting on the… (#243)
* Split out functions in unknown_070110, and do some documenting on them. Also fixes the scoring script to include UNUSED funcs

* Match func_80021400

* Match unused func_800B3678

* Commit suggestions

* Match func_80009AB4

* Fix breaking NON_EQUIVALENT builds when I changed the LevelHeader struct

* I swear I fixed this before the last push, but oh well. Here's the proper fix

* Match func_80007FA4

* Add suggestions for PR, and do a NON_EQUIVALENT but near match of func_8005F310

* Add offsets to the sound_ids, and set them up in some arrays that are a list of sounds to play.

* Update a few variables to floats to match func_800699E4

* Fix NON_EQUIVALENT

* Nearly match func_80011134

* Match func_8001B668 and do some more documenting

* Match func_80069A40

* Do a NON_EQUIVALENT, possible NON_MATHCING match of func_8005CB680

* Do NON_MATCHING of func_8005C364 +  update diff.py

* WIP func_8005A6F0

* Remove unk8004F77C struct as it's just Object_Racer

* Match func_8005A6F0

* Match func_8002263C

* WIP func_8005B818

* WIP func_80011570 and match catmull_rom_interpolation

* Match func_80011570

* Remove some extra function declarations from C files, and used the .h files instead.

* Better matches for the catmull math funcs

* Get obj_loop_effectbox a little closer to matching

* Match obj_loop_goldenballoon

* Fix some minor whitespace issues.

Co-authored-by: Ryan Myers <foldor@gmail.com>
2022-09-20 09:42:30 -04:00
Ryan MyersandGitHub 3dd6118172 Matches, Cleanup, and function splitting (#242)
* Minor labeling during some investigation

* Match func_8006CCF0

* func_80093A40

* Match func_80094170

* Match func_80004A60

* Get func_80093D40 a little closer to matching

* Match menu_track_select_loop

* Match some for loops that were weird before. They needed to be one liners

* Match debug_print_fixed_matrix_values

* Match func_800867D4 and combine two structs into one

* Fixed warnings in load_screen

* Fix multiple funcs being in one file, and match them.

* Split functions out of func_80069A40, and match.

* Fix previous commit by matching func_80069ACC

* Split a function out of func_800A718C, and match it. Then do a near match of func_80085B9C.

* Split and match func_800B61E0

* Split and match 2 funcs from func_800048D8

* Split functions out of setupOSTasks

* Split out a few more funcs, and match an empty one

* Split out more functions

* Splitting more funcs again

* Split more funcs out, and match a couple on the wa

* Update score

* Update progress script to include unmatched lib funcs, and fix the shield output.

* Fix progress.py counting labels as unique functions, and kind of match update_spatial_audio_position

* Apply suggestions

* Missed a change
2022-08-28 07:02:05 -04:00
Ryan MyersandGitHub 3a2fa13e5c Fixed all lib file warnings (#240) 2022-08-09 13:13:33 -04:00
FazanaandGitHub 8468119587 Few extra racer.c matches (#238)
* Squashed commit of the following:

commit 3ab4716110
Author: Fazana <52551480+FazanaJ@users.noreply.github.com>
Date:   Mon May 23 23:11:46 2022 +0100

    Mostly misc labelling, but also weather too (#232)

    * bit more labelling

    * identify some weather stuff

    * Update sound_ids.h

    * yum

    * more random identification

    * last weather stuff for now

    * Update README.md

    * Update README.md

    * Fix non equivalent

* I found the 60fps button

* match func_80052B64

* match racer_attack_handler

* match func_80048C7C

* buncha function declaring

* e

* tweak

* match func_8004DE38

oh man oh man

* Small bit of labelling

* Merge remote-tracking branch 'upstream/master' into the-many-against-the-few

* Update README.md

* Fix monumentally poor bout of misinformation in the readme

we wouldn't want to mislead the readers, would we?

* github please

* Update README.md

* requested changes

kinda funny because I knew this struct existed, and knew it was used for this, but never made the connection lol

* Update objects.c

* match racer_enter_door

A nice easy one after the pure hellscape of the last few days :)

* names

* renames

* match func_8005250C

* heehee

* Update racer.c

* identify some misc asset calls

* identify some surface types

* match func_8005492C

* Delete func_8005492C.s

* match func_80052D7C

* move some enums

* label all existing misc asset calls

granted I know what almost none of them are lmao, buut will make things slightly easier in the long run

* Update README.md

* requested changes

pain

* Update README.md
2022-08-08 11:08:08 -04:00
924b89cc80 Match most of the remaining unmatched libultra functions, mostly from the audio library (#239)
* Fix alSynAllocFX

* Match alCSPNew and __CSPVoiceHandler, which had slight differences from libreultra

* WIP __CSPHandleMIDIMsg

* Match alFxPull

* Match func_8006492C and func_8006493C

* Match alFxParamHdl

* Match _loadOutputBuffer:

* Match _doModFunc and with it finish reverb.c

* Match alSynNew and finish synthesizer.c

* Match some unknown funcs cleaner

* Clean up func_80063BA0

* Clean up func_80063A90

* Fix warning

* Add missing header files from previous commits

* Match alBnkfNew.c

* Match alCSPGetState

* Match several more audio lib funcs

* Match alSynDelete, and alSynSetFXMix

* Properly move __osRcpImTable data into osSetIntMask and our of alSynSetPriority

* Kind of match alSynSetPriority, and match alSynSetVol

* Delcare functions as static again to fix the score script regex

* Seperate some al files out like they seem to be in ultralib

* Match event.c

* Match synallocvoice.c

* Match some more audio funcs

* More audio matches

* Yaya more audio, I know

* Couple more matched files

* Match filter.c

* Match resample.c

* Match load.c

* Get env.c closer to a real match

* Fix some code related to an assert in env.c

* Match env.c, which has many differences from later public versions

* Finish matching audio library code

* Deleted unnecessary asm files, and made tweaks to al files to fix score script

* Fix codebreaking formatting error ;)

* Update include/PR/libaudio.h

Co-authored-by: AntonioCastelli <aatcastelli@gmail.com>

* Update include/audio_internal.h

Co-authored-by: AntonioCastelli <aatcastelli@gmail.com>

* Renamed sl.c.c to fix that, and renamed NOPSNEEDED to make it more clear it's not to be used.

Co-authored-by: AntonioCastelli <aatcastelli@gmail.com>
2022-08-08 07:35:44 -04:00
Ryan MyersandGitHub dd92c90fc1 Match func_800C4DA0, and get near matches for two more in font.c. Also made char's unsigned by default which should match the original compiler settings. char is used when it's a string, and u8 is when it's just an integer (#237) 2022-07-29 07:32:47 -04:00
911fd3daac Matched a few functions, and updated some names / types of variables and other functions (#236)
* Identify the controller pak menu, and get give it a bit more details

* Remove argument for two functions that don't use it. This still matches.

* Match render_controller_pak_ui and do some renaming of some other funcs

* Use more of the enum values for menu text

* Match func_8008832C

* Do some more documenting

* Match menu_controller_pak_loop

* Do some minor documentation for fun

* Match s32_to_string

* Match unload_font

* Match load_font

* Match func_800C4318 and nearly match render_dialogue_text

* Update src/font.c

Co-authored-by: AntonioCastelli <aatcastelli@gmail.com>

* Update src/game_text.c

Co-authored-by: AntonioCastelli <aatcastelli@gmail.com>

* Update src/menu.c

Co-authored-by: AntonioCastelli <aatcastelli@gmail.com>

* Update src/menu.c

Co-authored-by: AntonioCastelli <aatcastelli@gmail.com>

* Update src/menu.c

Co-authored-by: AntonioCastelli <aatcastelli@gmail.com>

* Made some suggested changes

Co-authored-by: Ryan Myers <foldor@gmail.com>
Co-authored-by: AntonioCastelli <aatcastelli@gmail.com>
2022-07-26 13:55:30 -04:00
FazanaandGitHub 9c8456cfee 25% (#235)
Match and label various racer.c funcs
2022-05-28 23:41:26 +01:00
Ryan Myers 79484db43f Define NON_MATCHING when building with NON_EQUIVALENT 2022-05-25 14:59:42 -04:00
David BenepeandGitHub 0a863c6248 Merge pull request #233 from Ryan-Myers/VerifyNonMatchingAndNonEquivalent
Verify NON_MATCHING and NON_EQUIVALENT builds
2022-05-25 14:12:03 -04:00
Ryan Myers ac80ab43fb Make the workflows verify that NON_MATCHING and NON_EQUIVALENT builds are good as well, and only run VerifyBuild on pushes so it keeps PR's clean 2022-05-25 13:28:46 -04:00
FazanaandGitHub 3ab4716110 Mostly misc labelling, but also weather too (#232)
* bit more labelling

* identify some weather stuff

* Update sound_ids.h

* yum

* more random identification

* last weather stuff for now

* Update README.md

* Update README.md

* Fix non equivalent
2022-05-23 23:11:46 +01:00
FazanaandGitHub c67da4c011 Merge pull request #231 from FazanaJ/hoohooheehee
Create Sound ID and Sequence ID enums + some racer labelling
2022-05-22 16:23:01 +01:00
Fazana 8413639214 Update game_text.c 2022-05-22 13:33:59 +01:00
Fazana 3bf535c462 last of the sound labels 2022-05-22 13:17:19 +01:00
Fazana 312f369acb rename play_sound_global
man this PR is gonna suck lmao

but it'll be worth it I promise
2022-05-22 12:46:49 +01:00
Fazana 3b1697a6c6 camera segments 2022-05-22 12:33:39 +01:00
Fazana a0d8f24f0d more accurate sequence names
based on the official ost names
2022-05-22 11:44:24 +01:00
Fazana f6660fae7c name 2022-05-21 23:04:29 +01:00
Fazana cfd251611d did the rest of the sound IDs 2022-05-21 22:47:43 +01:00
Fazana 6fb678e1e8 yes 2022-05-21 21:19:37 +01:00