summaryrefslogtreecommitdiff
path: root/src/audio/external.h
AgeCommit message (Collapse)Author
2024-11-30Implemented audio slidersKiritoDv
2024-11-30Documented sequences and move them into the Course systemKiritoDv
2024-08-27Update decomp clang (#67)coco875
* Update menus.c (#634) * Update common_data.yml (#635) * Renames for screenId and other changes (#636) * screenId renames * Rename surface map to collision mesh (#637) * Rename some stack vars (#638) * Fix syntax error (#639) * Rename some stack vars * Update collision.c * Collision Documentation (#640) * Collision related renames * update doxygen (#649) * change bool (#644) Co-authored-by: MegaMech <MegaMech@users.noreply.github.com> * Update (#642) * Delete trig_tables_bss.c (#650) * fix typo audio (#656) * fix typo src actor (#657) Co-authored-by: MegaMech <MegaMech@users.noreply.github.com> * fix typo include (#658) * fix course (#659) * fix typo debug (#660) * fix typo data (#661) * replace number with const (#665) * fix typo buffers (#655) * fix typo buffers * tweak ld file * rename to sMemoryPool * add a warning --------- * fix typo src (#654) * fix typo src * fix non matcing * Update code_80091750.c --------- * fix typo racing (#653) * fix typo racing * get it match * replace G_LINE3D to G_QUAD --------- * fix typo src (#652) * fix ending typo (#651) * Action more info when it doesn't match and fix first diff (#662) * Update linux-compile.yml * fix first-diff * Update first-diff.py --------- * document texture of kart (#663) * document texture of kart * change screenPlayerId to screenId * some documentation around object * Revert "some documentation around object" This reverts commit cbb39078e036bf2a417bed67359e910213acab28. * more rename --------- * Make evaluate_collision_players_palm_tree better (#667) This matches just the same as before, but using those two casts instead of shifts seems more likely to be accurate to the original source code Signed-off-by: Gabriel Ravier <gabravier@gmail.com> * add fedora instruciton (#666) * start documenting animation (#668) * start documenting animation * Update course_data.c * change comment * update libultra asm (#648) * update libultra asm * fix gcc __osThreadTail --------- * Document Vehicles (#641) * start doc collision * fix merge * finish rename fonction related to vehicle * document around waypoint of vehicle * make some modification * make some change and rename one * copy_ to oldPos * doc smoke ferry and train * some rename * fix some renaming * precise index * rename a funciton * simplify waypoint_vehicles * change some name * change some name * rename move_to_point_direction * fix some conflict * Update code_80005FD0.c * Update code_80005FD0.h --------- * Label a save info loop (#645) * save info * more gcc progress * fix a value and do a rename (#669) * update clang and add action (#664) * update clang and add action * try clang on course folder only * forget two file * Update course_displaylists.inc.c * forget few other file * Update course_vertices.inc.c * format all code while get it match * second pass * format other dir * disable clang format on bad ido code * fix some tabulation * revert format on tool dir * Update clang-format.yml * ignore gbi.h * add some read me instruction * fix error * format and fixing error * Update README.md --------- * Update linkonly_generator.py (#670) * format more file * update * fix compilation issue * remove course_metadata folder * re add course metadata folder * fix banshee bordwalk crash * fix windows eurk * Update CMakeLists.txt ---------
2024-05-02FixesMegaMech
2024-05-01WIP CompilationKiritoDv
2024-04-19Update some attempts (#595)Tyler McGavran
* Update some attempts * Matched a func
2024-03-24Update some attempts for audio/external (#585)Tyler McGavran
Added some decompme links, also updated the attempt for a function that SpazzyLemon made progress on Signed-off-by: Taggerung <tyler.taggerung@email.com> Co-authored-by: Taggerung <tyler.taggerung@email.com>
2024-02-22Matches in audio/external (#570)Tyler McGavran
Also deleted an unused .c file, its current name is `effects.c` Signed-off-by: Taggerung <tyler.taggerung@email.com> Co-authored-by: Taggerung <tyler.taggerung@email.com>
2024-02-13fix warning, type and document audio (#559)coco875
* Document audio * Update external.h * fix warnings * put a do while on one line
2023-10-19Lots of mcathes in audio/external (#473)Tyler McGavran
Required making some changes to a the signatures of a couple functions in other files Signed-off-by: Taggerung <tyler.taggerung@email.com>
2023-10-19Match audio/external.c BSS segment (#470)Tyler McGavran
* Match audio/external.c BSS segment Also fix a misnamed function found in audio/heap, used in audio/load * Match audio/seqplayer .data section * Match func_800C76C0 That was the last function referencing some fake variables, so it should be possible to match audio/external's .data section as well * Match audio/external's .data section The only thing in src/audio left to be matched is audio/external's .text section. There's probably some beautifying that could be done to data/sound_data, but that is a future problem Signed-off-by: Taggerung <tyler.taggerung@email.com>
2023-09-13Lots of matches in the audio code (#417)Tyler McGavran
* Lots of audio matches Fully matched heap.c, lots of load.c and some stuff in seqplayer.c Matched heap.c's BSS segement and moved some BSS stuff out of load.c into data.c, since that where it appears to belong according to SM64. Signed-off-by: Taggerung <tyler.taggerung@email.com>
2023-09-12Import bss for audio and elsewhere (#416)MegaMech
2023-09-09Assorted matches in audio/external (#413)Tyler McGavran
Signed-off-by: Taggerung <tyler.taggerung@email.com>
2023-09-09Audio/external matches (#412)Joshua Peisach
* Match func_800C8920, func_800C8AE4, and.. Introduce struct Unk_800E9F7C and cleanup existing code * Match func_800C40F0, add the likely other pos vars in the unk struct * func_800C8CCC
2023-09-04Match funcs in player_controller.c (#398)MegaMech
* Match funcs in player_controller.c
2023-08-30audio/external: 800C5384 (#390)Joshua Peisach
2023-08-26Put `void` in several function prototypes (#387)Tyler McGavran
I have historically made prototypes for argument-less functions with just plain `()` for the argument list. This has caused some minor pains when using `m2c` and is, pendatically, incorrect. So I have changed all argument-less function protoypes to instead have `(void)` as the argument list. This required a couple small fixes here and there.
2023-08-26audio/external: func_800C357C func_800C9D0C (#386)Joshua Peisach
Signed-off-by: Joshua Peisach <itzswirlz2020@outlook.com>
2023-08-20Update some header files (#373)Tyler McGavran
Also moved a lot of extern variable declarations into the their appropriate header file(s) Signed-off-by: Taggerung <tyler.taggerung@email.com>
2023-08-19Push more matching! Primarily audio (#372)Joshua Peisach
* Push more matching! Primarily audio
2023-08-09audio/external: match 800C5CB8, 800C3448, 800CB2C4, 800C35E8 (#359)Joshua Peisach
* Match funcs in audio/external.c
2023-08-08small changes. One matching func, Two nonmatching funcs (#355)tomas
* Various decomp and non_matchings.
2023-08-08audio/external: Match 800CAD40/800CAFC0/800CAC60 (#350)Joshua Peisach
* audio/external: Match 800CAD40/800CAFC0 * Match func_800CAC60, mark unused arg0's as UNUSED
2023-06-28Cleaning Up Warnings (#317)MegaMech
* Update mk64 makefile to reflect sm64 makefile * print func matches and fix some warnings
2023-04-07Match memory.c, remove warnings, fix fake matches (#301)MegaMech
* Match memory, remove warnings, fix fake matches * label switch
2022-12-28Lots of matches related to the object list (#284)Tyler McGavran
Identified a couple more lists of object list indices, added some comments indicating what they're used for. Those comments are most likely non-exhaustive so there's still some investigation to be done there. Signed-off-by: Taggerung <tyler.taggerung@gmail.com>
2022-12-25Couple small matches and m2c refreshing (#282)Tyler McGavran
* Moved stuff into header files to make m2c_helper a more useful Signed-off-by: Taggerung <tyler.taggerung@gmail.com>
2022-12-06Matches in external and some namings in ceremony (#281)MegaMech
* Matches in external and some namings in ceremony
2022-11-15Matches for audio/external (#273)Tyler McGavran
A lot of these matches come from observing the external audio stuff in SM64 and realizing that a bunch a couple of the structs in MK64 are just expanded version of their SM64 counterpart. Presumably all the expansions are for handling the doppler effect, although I can't say that with certainty Signed-off-by: Taggerung <tyler.taggerung@gmail.com>
2022-11-06Lots and lots of audio code copied from SM64 (#270)Tyler McGavran
* Lots of audio decomp * effects and playback are 100% matched * Took some notes from the SM64 Makefile to get the right compiler options for a couple files * Added the audio files to rename_symbol utility Signed-off-by: Taggerung <tyler.taggerung@gmail.com>
2022-11-01Assorted, unrelated matches (#267)Tyler McGavran
* Assorted matches Signed-off-by: Taggerung <tyler.taggerung@gmail.com>
2022-08-25Add lots of headers (#252)Tyler McGavran
* Add a lot of header files Did my best to move all relevant function prototypes and external variable declarations into the header files too. Matched a few functions in the process * Updated progress.py Some of the listed files/folders have been deleted/renamed, so I reflected those changes in progress.py Signed-off-by: Taggerung <tyler.taggerung@gmail.com>
2022-07-05Decomp menus.c (#229)tehzz
* update m2ctx to make N64 sgi context * finish decomping menus.c
2022-06-22Split and Decompile Code_800AF9B0 (#228)tehzz
* change return type of func_8000546C * try to fix submodules * update asm_processor for new ASM directives * split code_800AF8B0 into 3 files; move rodata into files/asm * move rodata into code_800AF9B0 asm funcs * decomp func_800AF9E4 * match 800AFF58 * merge in master (renamed code_800AF9B0.c to menus.c) * revert menus.c back to code_800AF9B0.c * add bss to code_800AF9B0 * rename code_800B0350.c to menus.c * remove unused ALIGN macros
2022-05-26Match some audio functions (#213)Tyler McGavran
Thank you Mech for figuring out what the stack management stuff was about. And yes, apparently the best way to match those functions is to have an `if` statement that uses an unset local variable as its condition Signed-off-by: Taggerung <tyler.taggerung@gmail.com>