summaryrefslogtreecommitdiff
path: root/libs/Z2AudioLib
AgeCommit message (Collapse)Author
2021-11-13rebaselepelog
2021-09-30Z2AudioMgr / various JAudio setup (#152)TakaRikka
* audioMgr setup * bunch of JAudio setup
2021-08-28move J2D / JUTResFont (#144)TakaRikka
* move some JSystem and meter2_info stuff * more J2D / JUTTexture / JUTPalette * setup dScnKy_env_light_c
2021-06-12move / fix bunch of stuff (#133)TakaRikka
* fix some class structures / d_event wip * d_event wip * move gamepad stuff * move m_Do_main * move d_bomb / partial m_Do_reset * format * remove asm * add Z2SoundID enum * move some Z2 classes * fix * move more Z2 stuff * fix fopAc_ac_c more
2021-05-23move d_a_alink and some related stuff (#130)TakaRikka
* clean up d_a_player * move some of daalink * more daalink / daplayer * setup some daalink members * rest of daalink members setup * remove comment * few more matches * remove asm * more matches * more matches + move e_wb_class * fix some d_save classes Co-authored-by: lepelog <lepelog@users.noreply.github.com>
2021-05-10Makefile fixes / JUTNameTab (#129)Jasper St. Pierre
* Makefile: Fix issues with iconv causing it to break under devkitPro / msys The version of iconv included in devkitPro does not have a -o option, so replace it with normal shell redirection. Also, SHIFT-JIS does not have a mapping for ~, so output the Windows CP932 variant instead, which does. See: https://en.wikipedia.org/wiki/Tilde#Unicode_and_Shift_JIS_encoding_of_wave_dash https://en.wikipedia.org/wiki/Code_page_932_(Microsoft_Windows)#Single-byte_character_differences * Update diff configuration -Bbinary doesn't seem to work with my copy of bjdump (it says it can't decode unknown architecture) Cheese things by using expected/ instead of having the user place things manually. * JUTNameTab * J3DPacket / J3DDrawBuffer * format Co-authored-by: lepelog <lepelog@users.noreply.github.com>
2021-05-02move Z2Calc, c_math and f_op_draw_iter (#125)lepelog
* Z2Calc * port over c_math * fop_draw_iter Co-authored-by: Pheenoh <pheenoh@gmail.com>
2021-05-02move d_a_itembase_static / d_a_item_static / Z2StatusMgr (#123)TakaRikka
* move d_a_itembase_static * move d_a_item_static * moved Z2StatusMgr * clang * fixes * clang? * move d_save * move d_meter2_info * some d_meter2_info fixes * move most d_a_player * move d_bg_s stuff * move c_cc_s stuff * move d_cc stuff * move d_attention / d_event / d_stage
2021-04-19Merge remote-tracking branch 'Julgodis/dol2asm_fullsplitt' into ↵lepelog
new-disasm-codecopy
2021-04-10moved strings + decompile simple store functionsJulgodis
2021-04-09some f_oplepelog
2021-04-08auto decompile more functionsJulgodis
2021-04-08demangle data-symbolsJulgodis
2021-04-07detect more floats/doubles, including from relocationsJulgodis
2021-04-06building RELsJulgodis
2021-04-01__sinit and progress script updateJulgodis
2021-03-31.dead section fixJulgodis
2021-03-30re-generate with bug fixesJulgodis
2021-03-29clang-formatJulgodis
2021-03-28dol2asm OKJulgodis
2021-03-15Fix symbol names (#118)lepelog
* checkpoint * checkpoint * rename f_pc * checkpoint * small symbol rename and fix some fpc symbols * remove unneeded entries from ldscript * simplify ok check, update docker container Co-authored-by: Pheenoh <pheenoh@gmail.com>
2021-02-20delete variables.hPheenoh
2021-02-19Decompile some SComponent data and some MSL_C.PPCEABI.bare.H headers (#115)lepelog
* data for c_angle * data c_sxyz * partially migrated c_xyz data * c_xyz data * c_xyz data decomp * c_math data * c_math data * c_lib data, some cleanup * rename some unnamed functions and create header for them * header for string functions * format and fix fabsf * cleanup * remove more unneded function prototypes * move fpclassify to math.h
2021-02-12f_op_actor_mng split & started decomp (#112)lepelog
* fop-actor-mng * rodata * more actor mng progress * actor mng progress * format * cleanup * fix Mtx function signatures * PR suggestion Co-authored-by: Pheenoh <pheenoh@gmail.com>
2021-02-07debugDisplay and Debug_console attempPheenoh
2021-01-31d_kyeff, d_kyeff2, m_Do_printf, and m_Do_graphic (#109)jdflyer
* Split d_kyeff * Partially matched d_kyeff * split d_kyeff2 * Match d_kyeff2 * split m_Do_printf * m_Do_printf partially matched * hotfix and clang-format * split m_Do_graphic * rename symbols in m_Do_graphic * Match a few functions in m_Do_graphic * Fix Merge Errors * Delete sh.exe.stackdump * Update OSReportInit
2021-01-31remove functions.hPheenoh
2021-01-25Z2AudioLib: Migrate declarations out of functions.h to respective files (#96)LC
Removes the strong dependency on a single header file and moves declarations to their respective header file. This allows for making dependencies explicit in cpp files and other headers, and also makes it much easier to track where everything related to a particular component is. This change also creates a few header files that previously didn't exist, making it much nicer for people implementing things, as they won't need to create the header file, it'll just be there ready to go. Ideally functions.h wouldn't even be a thing, as this header adds a lot of preprocessing overhead due to its size, and will continue to grow significantly larger over the lifespan of the project, which can also impact the performance of editors that do dependency lookups and context-aware syntax highlighting.
2021-01-21clang-formatjdflyer
2021-01-21Merge remote-tracking branch 'upstream/master' into m_Do_audio2jdflyer
2021-01-21m_Do_audiojdflyer
2021-01-21Z2AudioLib misc decomp (#75)Erin Moon
* Z2SoundHandles: decomp portions * start decomping: Z2SpeechMgr2, Z2SoundHandles * Z2SoundHandles::stopAllSounds(): ok * Z2SoundHandles::getHandleUserData(): ok * Z2SoundInfo: header * Z2SoundObjBase::framework(): ok * Z2SoundObjBase::Z2SoundObjBase(), Z2SoundObjBase::init(): ok * Z2SoundObjBase::~Z2SoundObjBase(): ok * Z2SoundObjBase::stopOK(): ok * Z2SoundObjBase::stopOK, incomplete Z2SoundObjBase::dispose() * clang-format * Z2SoundObjBase::dispose(): ok * JAISound::operator->(): null assert * JAIAudience: stub * Z2SoundObject::{init, deleteObject, isAlive}: ok * Z2SeMgr: elaborate struct (and decl JAISoundHandles to support this) * start subclassing Z2SoundObjBase; nonmatching Z2SoundObjSimple::init() * Z2SeMGr::{incrCrowdSize, decrCrowdSize}: ok * Z2MultiSeMgr::resetMultiSePos(): ok * Z2WolfHowlMgr.h: decls * Z2SoundStarter: move to decls and fix postprocess.py symbol pass * Z2AudioArcLoader: decls * Z2SoundObjMgr: ok some fns - deleteEnemyAll() - isTwilightBattle() - setGhostEnemyState() additionally elaborates parts of the Z2Creature hierarchy * delete unused .s files and add tool to find them (only runs on linux) * run clang-format * postprocess.py: comment out debugging * add python step to ok-check workflow * address review comments * address review comments Co-authored-by: notyourav <65437533+notyourav@users.noreply.github.com> Co-authored-by: Pheenoh <pheenoh@gmail.com> Co-authored-by: notyourav <65437533+notyourav@users.noreply.github.com>
2021-01-06Z2AudioLib: split (#64)Erin Moon
* Z2AudioLib: split - Z2SpeechMgr2 - Z2Audience - Z2EnvSeMgr - Z2SoundMgr - Z2AudioMgr - Z2Creature - Z2SoundStarter - Z2WolfHowlMgr - Z2SoundObject - Z2SoundObjMgr - Z2SoundInfo - Z2AudioArcLoader - Z2AudioLib - Z2SoundHandles - Z2LinkMgr: finish splitting - Z2SceneMgr: finish splitting - Z2SeqMgr: finish splitting * merge fix Co-authored-by: Pheenoh <pheenoh@gmail.com>
2021-01-06match some Z2Calc functions (#72)lepelog
* Z2Calc OK * inline definitions in random.h and format * set -enum int compiler flag and fix enum hacks * note for get_ufloat_1 inline * PR suggestions and UB note Co-authored-by: Pheenoh <pheenoh@gmail.com>
2021-01-03decomp some small files, do some cleanup (#42)Erin Moon
* remove leftover asm: JSUList.s * d_save_init: decomp * JMath/random: decomp * J3DUDL: fixup label * JAUClusterSound: decomp * c_API_controller_pad: decomp, elaborate globals/types * clang-format * don't add guards to functions.h * semantic merge of m_cpadInfo stuff * fix undef symbols Co-authored-by: Pheenoh <pheenoh@gmail.com>
2020-12-26run clang-formatPheenoh
2020-12-13Z2StatusMgr (#24)TakaRikka
* split Z2SeMgr / begin split of Z2SeqMgr * Z2StatusMgr ok most of Z2StatusMgr done, rest split * name some class members * name some Z2SceneMgr vars Co-authored-by: Pheenoh <pheenoh@gmail.com>
2020-12-05d_item (#18)TakaRikka
* item_funcs ok * item_getcheck_func ok * remove unnecessary asm file * execItemGet / checkItemGet ok, add enums for readability * fix return types
2020-12-02Start Z2SceneMgr and Various Fixes (#11)jdflyer
* Start Z2SceneMgr * Various Fixes After Merge Co-authored-by: Pheenoh <pheenoh@gmail.com>
2020-12-01Z2CreatureLink / Z2Calc (#8)TakaRikka
* begin Z2LinkMgr Z2CreatureLink::setLinkGroupInfo, Z2CreatureLink::setLinkHp ok * split Z2CreatureLink * split Z2Calc * fix label data type / clean up * fix getRandom_0_1 instruction * fix * clean up
2020-09-05organize files, update makefile, add CI checks, begin adding d_save.cppunknown