summaryrefslogtreecommitdiff
path: root/include/Z2AudioLib
AgeCommit message (Collapse)Author
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-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-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-21Various Fixesjdflyer
2021-01-21clang-formatjdflyer
2021-01-21Fix Merge and set maxerrors to 5jdflyer
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-18normalize header guards to {tu_name}_H_ (#87)Erin Moon
i previously had a bad habit of using double underscores in include guard macro names, which are implementation-reserved per the C++98 standard (see 17.4.3.1.2 Global names). Co-authored-by: Pheenoh <pheenoh@gmail.com>
2021-01-09JKRAram and JKRAramStream (#80)Jonathan Wase
* before __register_global_object * JKRThread::sThreadList, JKRHeap::sSystemHeap, etc. * cleanup and started on JKRDvdArchive * before changing JKRCompression * more JKRDvdArchive, abs, and memset * fixed JKRArchive::setExpandSize split * JKRArchive::sCurrentDirID, JKRDvdFile::sDvdList, and matching JKRDvdFile constructors * problems * merge fixes and formatting * updated clang version in clang-format-all to version 10 * Added OSPhysicalToCached and struct for global memory * remove useless __attribute__ * changed from defines and macros to const variable and function * changed FLAG_HAS to FLAG_ON * JKRAram, linking problems * fix JKRAram * remove nonmatching stuff * renamed static data * more static class members * JKRAramStream OK * formatting Co-authored-by: Julgodis <> Co-authored-by: Pheenoh <pheenoh@gmail.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>
2021-01-02Fixed _savegpr etc. (#54)Jonathan Wase
* renamed func_XXX to _savegpr_XX * renamed func_XXX to _restgpr_XX * renamed func_XXX to _savefpr_XX * renamed func_XXX to _restfpr_XX * cleanup functions.h and moved intrisics to mwcc.h * formatting * cleanup functions.h * fix bad-formatting from master Co-authored-by: Julgodis <>
2021-01-02d_camera: split (#51)Erin Moon
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