summaryrefslogtreecommitdiff
path: root/src/audio/load.c
AgeCommit message (Collapse)Author
2025-02-04Optimize Sound Mixer (#182)coco875
* Add sse2neon * Optimize Sound Mixer * Replace ssize_t with size_t * Remove a #ifndef NO_SEGMENTED_MEMORY block
2025-01-25Fix Remaining Widescreen Issues and Fix Audio Sizes (#174)MegaMech
* Fix some boxes that shouldn't be wide * forgot fix * Fix widescreen for sliding lap texture * Fix lakitu towing fade in out * Add DOUBLE_SIZE_ON_64_BIT and ssize_t
2024-11-30Implemented audio slidersKiritoDv
2024-11-29Audio is now compiling but crashing yayKiritoDv
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-08-24Update decomp (#63)coco875
* update libultra asm (#648) * update libultra asm * fix gcc __osThreadTail --------- Co-authored-by: MegaMech <MegaMech@users.noreply.github.com> * 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 --------- Co-authored-by: MegaMech <MegaMech@users.noreply.github.com> * Label a save info loop (#645) * save info * more gcc progress * fix a value and do a rename (#669) * fix error of compilation --------- Co-authored-by: MegaMech <MegaMech@users.noreply.github.com>
2024-08-22Update from decomp (#34)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) * Update (#642) * Delete trig_tables_bss.c (#650) * fix typo audio (#656) * fix typo src actor (#657) * fix typo include (#658) * fix course (#659) * fix typo debug (#660) * fix typo data (#661) * Update common_structs.h * 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 * fix error of compilation * fix error of compilation * Update animation.c
2024-05-03Fixed more errors, we are rendering the logo, YayKiritoDv
2024-05-03First Compile (#7)MegaMech
* Update torch * A lot of fixes * First compile
2024-05-01WIP CompilationKiritoDv
2024-04-22Fix audio_init (#625)MegaMech
* Fix audio_init
2024-04-16fix a lot of warning in code (#598)coco875
* Fix warnings * Fix building
2024-04-05trig tables shiftable (#596)MegaMech
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-12-31fix todo, bug not appears and change theme (#525)coco875
* fix todo, bug not appears and change theme * fix warning
2023-11-07More audio stuff (#488)Tyler McGavran
* Match create_next_audio_frame_task Required some variable renaming and other changes * Match synthesis_execute I'm not entirly sure about the way we have stuff ifdef'd in PR/abi.h. I feel like we're doing something slightly wrong there * Match synthesis_do_one_audio_update There's something super fucked with the way our ifdef's work in abi.h. It is going to demand a lot more attention sometime in the future. * Rename a couple functions Also had to hack up the ABI file a bit. I'm convinced that we don't need nor want to have the EU/Shindou/US split thing the SM64 code does. There's probably just the 1 ABI version being used and we need to figure out what it looks like Signed-off-by: Taggerung <tyler.taggerung@email.com>
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-09-15More audio matches (#420)Tyler McGavran
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-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-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-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-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-09-30A bunch of unrelated, assorted changes (#263)Tyler McGavran
Couple matches functions, an update to a struct, a bunch of header files adjustments, and some mips_to_c regenerations Signed-off-by: Taggerung <tyler.taggerung@gmail.com>
2022-09-18Change a variety of constants to defines (#257)coco875
* Change a variety of constants to defines * Add notes regarding menu columns * Change unknown type to known types
2022-07-11Split out some unused asm and documented main.c (#242)MegaMech
* Splitting out unused asm * Documented main.c
2022-04-16audio load.c decomp (#176)MegaMech
2022-03-03fix audio pointers allowing rom shifts again (#169)MegaMech
* fix audio pointers allowing rom shifts again
2021-11-06Split audio funcs (#53)CoderStig
* Split audio funcs