summaryrefslogtreecommitdiff
path: root/src/audio/external.c
AgeCommit message (Collapse)Author
2025-05-17nightmareSonic Dreamcaster
2025-05-17[WIP] Migrated codeKiritoDv
2024-12-31Big 19750 renamesMegaMech
2024-12-03Initialize local variableMegaMech
2024-11-30Implemented audio slidersKiritoDv
2024-11-30Documented sequences and move them into the Course systemKiritoDv
2024-10-07Fix linux compilation (#110)coco875
* fix wamr windows normally * fix linux issue * load all wasm in mods folder * minor fix
2024-10-05[modding] Course Mod Support (#104)MegaMech
* Course Manager * Course * Test * Render * That escalated quickly * update * properties * Properties * test * Fix compile * Add World * skycolours * Skybox Colours done * Cleanup * test * Game runs again * update * Game run again * Cup Works * continue * Add Courses * clouds * changes * fixes * update * Fix compile * update * A few changes * More Updates * More refactors * Fixes * Fix ai behaviour * Changes * Fix courses * test course test not working * CUSTOM * TestCourse works kinda * fixes * test course works * cleanup --------- Co-authored-by: MegaMech <7255464+MegaMech@users.noreply.github.com>
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-07-26Renames & seg 3 & 5 texture fixes (#19)MegaMech
* Remove tools/torch * Auto compile torch and extract * Re-implement soh's implementation of lus implementation of an array * Fix static actors in mr * Update * Updated torch * Updated lus * uncomment * Fix collision * Renames * More renaming * Collision Renames * Update collision.c * Collision Documentation (#640) * Collision related renames * Update * update lus * Bug fixes * remove tabs * fixes * fixes * Fix kart textures * Networking * net * Add networking * Update * Cleanup * Fix balloon rendering * Fix lakitu and red shell * fixes * Implement new random system --------- Co-authored-by: MegaMech <7255464+MegaMech@users.noreply.github.com>
2024-05-02FixesMegaMech
2024-05-01WIP CompilationKiritoDv
2024-04-20Header cleanup and some renames (#616)MegaMech
* Place macros for addr conversions * dl renames * fixes * changes ok * Delete types.h * move enums
2024-04-19Update some attempts (#595)Tyler McGavran
* Update some attempts * Matched a func
2024-04-16fix a lot of warning in code (#598)coco875
* Fix warnings * Fix building
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
2024-01-20place surface type const and unassemble flag in vtx and document effects (#553)coco875
* place surface type const and unassemble flag in vtx
2024-01-02Finish bss (#527)coco875
* Finish importing bss
2023-12-30Match func_8006F008 (#519)MegaMech
2023-12-25place const and format external, code_8005fd0 and 80091750 (#515)coco875
2023-11-05Match func_800C2474 (EU) and trim spaces in external.c (#485)AloXado320
2023-10-27Place variables from data_0DD0A0 to code_800029B0 (#477)Tyler McGavran
They match when placed there, although its not immediately clear that they truly belong there. But a match is a match. Also cleaned up a bunch of .h files that had references to the newly matched variables. Signed-off-by: Taggerung <tyler.taggerung@email.com>
2023-10-20Fix EU build and match func_800C76C0 (eu) (#476)AloXado320
* fix eu build and match func_800C76C0 * fix missing pointer
2023-10-19EU 1.0 OK (#265)MegaMech
* EU 1.0 ok * EU 1.1 ok Co-authored-by: AloXado320 <david.albujar.s.30@gmail.com>
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-10-07Various Naming (#445)coco875
* Mass renames
2023-09-17Match func_800CA730, func_800518F8 and some code_80091750 stuff (#421)Joshua Peisach
* Match func_800CA730, func_800518F8 * a few more random code_80091750 matches
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-09Various cleanup (#410)MegaMech
2023-09-08a few matches (#404)Joshua Peisach
* code_8006E9C0: match func_80071818 * Match 800C8F80, 800917B0, 800AEF14
2023-09-04Match funcs in player_controller.c (#398)MegaMech
* Match funcs in player_controller.c
2023-08-31more audio/external stuff (#392)Joshua Peisach
* audio/external: 800C3478 * audio/external: Match func_800C98B8, func_800C9DB0 * Fix build
2023-08-30audio/external: 800C5384 (#390)Joshua Peisach
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-15Migrate audio/port_eu data (#370)Tyler McGavran
* All work done in audio * Migrate audio/port_eu data * Refereshed m2c * Got the bss segment matching too Signed-off-by: Taggerung <tyler.taggerung@email.com>
2023-08-15Bumped Total Progress Script by 1.04% (#371)MegaMech
* Matched camera.c
2023-08-09audio/external: match 800C5CB8, 800C3448, 800CB2C4, 800C35E8 (#359)Joshua Peisach
* Match funcs in audio/external.c
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-06-16Item & Various decomp (#311)MegaMech
* Item & Various decomp
2023-03-29Massive data relocation (#295)Tyler McGavran
Mostly relocating rodata from data/* files to the appropriate asm/nonmatching/* files, although there is some plain data relocating to be found in here too. Big change to note is the addition of the code_802AAA70.c file, split from memory.c. Based on some padding in the ro/data for memory it seems clear that a split is needed, although it is not clear that exact spot chosen for the split is correct. Still, it gets the file padding for the ro/data and text segments correct so it can't be too wrong. Also included is an update to the asm_processor tool to support the .hword directive. I made a PR to the main repo of that project with an identical change and it was accepted. 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