summaryrefslogtreecommitdiff
path: root/include/JSystem/JUtility
AgeCommit message (Collapse)Author
2021-01-25J2DPane.cpp (#91)notyourav
* split J2DPane.cpp * J2DPane first pass * consolidate headers and typedef mtx * remove duplicate J2DScreen.h Co-authored-by: Pheenoh <pheenoh@gmail.com>
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-06Refactor JUTFont symbols (#71)notyourav
* fix JUTFont args * fix Co-authored-by: Pheenoh <pheenoh@gmail.com>
2021-01-04close-to-matching mDoCPd_c::convert() (#61)Erin Moon
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-02adjust gameinfo sizing, rename inline register funcsPheenoh
2021-01-02Merge branch 'master' of https://github.com/zeldaret/tpPheenoh
2021-01-02more d_save funcs OK, initial map out of dcomifg_play_c and it's classesPheenoh
2021-01-02M_do_controller_pad split and partially matched (#36)jdflyer
* m_Do_controller_pad split * Attempt to match and match mDoCPd_c::recalibrate * Fix Merge Errors * clang-format Co-authored-by: Pheenoh <pheenoh@gmail.com>
2020-12-31A few f_pc files (#26)lepelog
* f_pc_base, one non matching * some of f_pc_manager * f_pc_node OK * f_pc_pause partly * started node_req * more progress * most of node req * delete unused asm * node req header and param names * param renaming * header for manager * review comment struct names * fpcM_Management OK * int -> s32 * merge master * most of f_pc_create_iter * f_pc_stdcreate_req OK * f_pc_fstcreate OK * f_pc_leaf OK * f_pc_draw OK * f_pc_deletor partly * fix parameter type in f_pc_pause * review * review, use cPh enum and fix process_profile_definition struct * convert f_pc files to C * matched more functions * fix global.h * fix variable types * format * mpre Phs enum * fix merge errors * fix gamepad stopPatternedRumble * format * delete leftover files from merge * move asm to correct folder * revert f_pc from C to CPP * remove C hacks and format * format * OK
2020-12-29Split and decompile parts of JUTGamePad (#33)Erin Moon
* JUTGamePad.o: elaborate classes, split * JUTGamePad::CButton: decompile functions: - clear() - clear(JUTGamePad*) - setRepeat() * elaborate PAD* types in new header * decompile getNumBit() * elaborate JUTGamePad fields * move retyped externs from variables.h to JUTGamePad.h * elaborate JUTGamePadLongPress * JUTGamePad: decompile functions - initList() - init() - clear() - assign() - checkResetCallback() - checkResetSwitch() - clearForReset() - recalibrate() JUTGamePad: decompile * JUTGamePad::CStick::clear(): decompile * JUTGamePad::CRumble: decompile functions - startMotor() - stopMotor() - triggerPatternedRumble() - startPatternedRumble() - stopPatternedRumbleAtThePeriod() - setEnabled() * JUTGamePadLongPress::checkCallback(): decompile * nonmatching: JUTGamePad::CRumble::update() and JUTGamePad::getGamePad * JSUList<T>: allow access to JSUPtrList functions * functions.h: clear out some func decls that are no longer used * add notes in JUTGamePad.cpp * clang-format + add back extern funcs * fix some more extern labels Co-authored-by: Pheenoh <pheenoh@gmail.com>
2020-12-29JUTXfb: decompile (#38)Erin Moon
* m_Do_Reset: split and (some) decomp decompiles: - my_OSCancelAlarmAll() - destroyVideo() * mDoRst::reset(): decompile, plus some supporting code * split DVD* functions to dvd.h * mDoRst::resetCallBack(): decompile * JUTXfb: split * JUTXfb: decompile (except for almost-matching ctor) Elaborates JUTVideo and some related stuff. Decompiles the following functions: - JUTXfb::initiate() - JUTXfb::createManager() - JUTXfb::common_init() - JUTXfb::destroyManager() - JUTXfb::~JUTXfb() - JUTXfb::JUTXfb(): *almost* matching up to regalloc * clang-format and extern label modifications Co-authored-by: Pheenoh <pheenoh@gmail.com>
2020-12-26move asm in TUs to files, add diff.pyPheenoh
2020-12-26run clang-formatPheenoh
2020-12-25m_Do_Reset: OK (#35)Erin Moon
* m_Do_Reset: split and (some) decomp decompiles: - my_OSCancelAlarmAll() - destroyVideo() * mDoRst::reset(): decompile, plus some supporting code * split DVD* functions to dvd.h * mDoRst::resetCallBack(): decompile
2020-12-03JSystem Font classes, SComponent cBgW (#14)notyourav
* c_bg_w.cpp OK * JUTFont and JUTResFont partially implemented Co-authored-by: notyouraveragehooman <65437533+notyouraveragehooman@users.noreply.github.com> Co-authored-by: Pheenoh <pheenoh@gmail.com>
2020-11-29migrate remaining d_save and m_Do_main asm to inline, add intial class ↵unknown
mapping for dFile_select_c