summaryrefslogtreecommitdiff
path: root/include
AgeCommit message (Collapse)Author
2021-01-31Merge branch 'master' of https://github.com/zeldaret/tpPheenoh
2021-01-31remove functions.hPheenoh
2021-01-29replace symbols with string literals and python scriptJulgodis
2021-01-26c_m3d: Make use of forward declarations (#104)LC
Some inline helper function of the included files in the header make use of functions defined within it. This can cause a circular dependency cycle if said helper functions are ever defined within the classes. To break this potential cycle, we can use forward declarations. This also has the benefit of reducing preprocessing overhead a little bit.
2021-01-26some c_m3d (#97)lepelog
* decompiled some bgs_chk funcs * c_m3d_g * c_math progress * remove duplicate SComponent headers * move some variables and decompile a function * some inlined from debug * cM3d_2PlaneLinePosNearPos * fix fabsf and decompile cM3d_CrawVec * format * cleanup * more cleanup Co-authored-by: Pheenoh <pheenoh@gmail.com>
2021-01-26binary OK (#99)notyourav
Co-authored-by: Pheenoh <pheenoh@gmail.com>
2021-01-26decompile s_basic, cleanup mangled names in f_pc (#101)lepelog
Co-authored-by: Pheenoh <pheenoh@gmail.com>
2021-01-26c_phase: Make cPhs_Next completely matching (#102)LC
* c_phase: Make cPhs_Do a little more matching Still doesn't fully match, but now the branch offsets and everything else line up. The load of pUserData still doesn't properly match though. * c_phase: Make cPhs_Next completely match Co-authored-by: Pheenoh <pheenoh@gmail.com>
2021-01-26J2DPane: Add names for several unlabeled variables (#103)LC
Should make working on other classes adjacent to J2DPane a little more descriptive in the decompilation process.
2021-01-25split m_Do_DVDErrorPheenoh
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-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-24Merge branch 'master' into polypass2notyourav
2021-01-22dBgS: Add declaration for cBgS_PolyPassChk's destructorLioncash
2021-01-22dBgS: Add release-elided functions to interfaceLioncash
2021-01-22dBgS: Decomp dBgS_PolyPassChk constructor and destructorLioncash
Fairly basic empty destructor, and a constructor that uses an initializer list.
2021-01-22dBgS: Decomp dBgS_PolyPassChk::ChkNoHorseLioncash
The only querying function within the poly pass interface.
2021-01-22dBgs: Implement all dBgS_PolyPassChk Set and Clr functionsLioncash
2021-01-22dBgS: Initial dBgS_PolyPassChk class skeletonLioncash
2021-01-22dBgS: Initial splitting of dBgS_PolyPassChk codeLioncash
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-21c_lib: Decomp a few functions (#89)LC
* c_lib: Decomp cLib_memSet and cLib_memCpy Gets rid of some low-hanging fruit. * c_lib: Decomp cLib_distanceAngleS Another super trivial function to make match. * c_lib: Decomp cLib_targetAngleY overload set Fairly trivial in terms of matching. * c_lib: Sate clang-format I didn't touch this code, but the clang-format pass wants this done, and so it is.
2021-01-18fvb, functionvalue, vector (#77)notyourav
Co-authored-by: Pheenoh <pheenoh@gmail.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-11d_com_inf_game / d_save improvements (#82)TakaRikka
* some dcominfg funcs * add dcom inlines to d_save * format * format
2021-01-10fully split / more work on d_com_inf_game (#81)TakaRikka
* split d_com_inf_game * fix func name * start some dcomifg funcs * fix * clang-format * change dComIfGs_setWarpItemData back to inline asm for now Co-authored-by: Pheenoh <pheenoh@gmail.com>
2021-01-10convert dStage_roomControl_c::init methodPheenoh
2021-01-10dStage_SetErrorRoom OKPheenoh
2021-01-10dStage_startStage_c::set OKPheenoh
2021-01-10clang-formatPheenoh
2021-01-10Merge branch 'master' of https://github.com/zeldaret/tpPheenoh
2021-01-09dStage_roomDt_c methods decomp'dPheenoh
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-09more daalink / d_item improvements (#79)TakaRikka
* some daalink funcs * more d_item inlines / setShieldChange * more daalink stuff getlife, getrstatus, setitemlifecount, getrupee, setitemrupeecount * format * format
2021-01-09convert dStage_roomDt_c methodsPheenoh
2021-01-09convert dStage_stageDt_c methodsPheenoh
2021-01-08split d_stagePheenoh
2021-01-08dStage_roomDt_c initial class mappingPheenoh
2021-01-08dStage_stageDt_c initial mappingPheenoh
2021-01-07clang-formatPheenoh
2021-01-07main01 attempt, fix dcomifg_play_c membersPheenoh
2021-01-06Merge branch 'master' of https://github.com/zeldaret/tpPheenoh
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-06Refactor JUTFont symbols (#71)notyourav
* fix JUTFont args * fix Co-authored-by: Pheenoh <pheenoh@gmail.com>