Commit Graph
225 Commits
Author SHA1 Message Date
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
FazanaandGitHub 9c8456cfee 25% (#235)
Match and label various racer.c funcs
2022-05-28 23:41:26 +01: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
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
Fazana cf4d602714 character voice offset identification 2022-05-21 21:08:29 +01:00
Fazana 0b69232c2a Update enums.h 2022-05-21 20:44:43 +01:00
Fazana 6119f222de identify sequence ID's, too 2022-05-21 20:44:35 +01:00
Fazana 5f6e424d3b started identifying sound ID's
I already know this PR is gonna be the actual mother of all PR's
2022-05-21 20:14:57 +01:00
Fazana 2ca7f8ba92 label boost related things
zip zoom
2022-05-21 16:44:59 +01:00
FazanaandGitHub 519ff3c09c Further matches + bit of labelling (#228)
* match func_80058D5C

* minor cosmetic tweak

* what is to crush the spirit of somebody but to discover more unions

* dont mind me just switching computers

* remove a tempstruct

* temp thing

* match func_80054110

* Delete func_80054110.s

* racer.c cleanup

* Update math_util.h

* Update racer.c

* added CLAMP and WRAP macros

* Update math_util.h

* match func_80055A84

* he

* match func_80057A40

* we do a little labelling

* match update_camera_loop

* match update_camera_hovercraft

* Update structs.h

* pain.

* Update README.md

* Update racer.c

* like this?
2022-05-20 15:37:55 -04:00
Fazana 1a61a676f0 swap xrotoff and yrotoff labels 2022-05-04 16:38:52 +01:00
Fazana c756b700e2 rename arctan2 again 2022-05-04 14:47:26 +01:00
Fazana 778ca1a175 match func_80057220 and func_800521C4 2022-05-04 14:46:31 +01:00
Fazana 47a8b7b22b rename sine and cosine funcs 2022-05-03 21:26:56 +01:00
Fazana 298195bf92 match func_80045128 2022-05-03 17:18:56 +01:00
Fazana 5cf19c00b2 I trust this 2022-05-02 12:41:29 +01:00
Fazana 28c900b3d3 rotation offset 2022-05-01 19:45:00 +01:00
Fazana d28382b328 some hilariously destructive renaming because damn it's used a lot by the assembly
oh but also I added a math_util.h so one can include the assembly func headers
2022-05-01 18:33:37 +01:00
David Benepe d9bd7ff9bd Decompiled 13 functions from objects.c 2022-04-29 16:31:30 -04:00
Fazana 08c9e784f8 revert some redundant struct changes 2022-04-28 15:51:08 +01:00
Fazana 0f000cc71b Readd struct offset labels 2022-04-28 14:10:43 +01:00