Commit Graph
102 Commits
Author SHA1 Message Date
FazanaandGitHub 493bece093 More matches and labels (#259)
* 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
2022-10-24 15:37:47 +01: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
Ryan Myers 79484db43f Define NON_MATCHING when building with NON_EQUIVALENT 2022-05-25 14:59:42 -04:00
Antonio 0783d9eda0 Clean up dkr_assets_tool.cpp. 2022-04-10 22:46:11 -07:00
David Benepe ad9842a993 Fixed sub-folders not being created 2022-04-10 17:22:48 -04:00
David Benepe 05f080ca44 Decompiled 2 functions & hopefully fix build issue. 2022-04-10 14:39:01 -04:00
David Benepe a778bf4f78 Renamed unknown_0ABDF0 to weather 2022-04-07 10:49:44 -04:00
David Benepe 12b3b00656 Improvements for the compiler. 2022-04-02 18:15:49 -04:00
David Benepe 02d7eef0ad Added distclean rule to makefiles 2022-03-26 17:20:19 -04:00
David Benepe 0268767da1 Added error helper file. 2022-03-25 18:23:17 -04:00
David Benepe b601228245 Lets do this again. 2022-03-18 18:35:32 -04:00
d2eb45ff48 XYZ struct proposal (#213)
* Ignore IDO warnings with styles we don't follow

* Fix multiple warnings in game_ui.c

* Define an Object_XYZ struct

* Replaced values in Object for Object_XYZ

* Documenting some values

* Update XYZ to ObjectTransform

* Match render_borders_for_multiplayer and convert #if 1 and #if 0 to #ifdef NON_EQUIVALENT

* Try using more libultra code for the gDPSetFillColor values

* Fix some broken NON_EQUIVALENT code

* Fix a couple of minor warnings in unknown_078050

* More warnings

* Match thread1_main, and clean up all warnings in main.c

* Matched main.c

* Document and cleanup some code in thread0_epc.c

* Fix all warnings in unknown_0255E0.c

* Document unknown_078050.c stuff

* Fix warnings in asset_loading.c

* Fix font warnings

* Fix minor memory.c warnings

* Fix warnings in camera.c

* Fix many more warnings in game.c

* racer.c warning fixes

* Match func_80008140

* func_800092A8 is close, but not quite matching

* Reconfigured unk80120AC0 to be ObjectSegment and have Object match it. Maybe it should be merged in?

* Make changes to get NON_EQUIVALENT building.

* Nearly match func_800092A8

* Get func_800092A8 REALLY close, and update the submodule to point to the newer location

* Matched func_800092A8 thanks to Synray

* Not sure why the commit value changed, but this is the latest

* Fix makefile for updated recomp project builds

* Match update_controller_sticks

* Do some documenting

* Implement suggestions from PR, and add ObjectSegment into Object struct

* Match two more funcs

* An if(0){} seems more appropriate after second thought

* Add size to ObjectSegment

* Update include/structs.h

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

Co-authored-by: Ryan Myers <foldor@gmail.com>
Co-authored-by: AntonioCastelli <aatcastelli@gmail.com>
2022-03-10 09:01:18 -05:00
Ryan MyersandGitHub 247a69ae2f Fix many warnings (#195)
* Fix many warnings, mostly when using functions without including headers, and mostly in libultra files. Included a few warning ignores as well

* Add another warning fix

* Revert trailing comma for LogicUpdateRates
2021-12-16 07:58:19 -05:00
Fazana 70e918bb35 Update Makefile 2021-12-03 12:32:17 +00:00
Fazana 4e9ea5e3a4 Update Makefile 2021-12-02 22:05:47 +00:00
Ryan Myers 8fdf8449d3 Add a fancy ascii art OK to make 2021-10-26 14:08:52 -04:00
Ryan Myers fd5535d88f Maybe went overboard with make colours, but it's all colourful now! 2021-10-21 22:43:20 -04:00
Ryan Myers e3ef4bd3cc Matched osInitialize using libreultra/sm64 and a little grunt work 2021-10-21 14:14:55 -04:00
Ryan Myers ddf9d36863 Added coloring to the Makefile throughout most of it's build. 2021-10-21 11:47:22 -04:00
Ryan Myers acebbfef39 Add coloring to the Make process to make it easier to distiinguish warnings for each file. Stolen from sm64. Also fixed some easy warnings by using this. 2021-10-21 11:11:25 -04:00
Ryan Myers 633933960a Fixed Makefiles clean_lib and clean_src options 2021-10-21 10:38:00 -04:00
Ryan Myers 2ea8ecc10e Match motor functions 2021-09-30 20:51:39 -04:00
Ryan Myers 7c7376bc7b I'm not as positive about the name of some undefined symbols anymore. Also slightly better stack pointer code 2021-09-30 14:46:38 -04:00
Ryan Myers 9f8880737f Dummy check for the ido folder fix 2021-09-29 20:24:27 -04:00