summaryrefslogtreecommitdiff
path: root/include/JSystem
AgeCommit message (Collapse)Author
2021-09-26NONMATCHING drawChar__14JUTDirectPrintFiiiJulgodis
2021-09-26OK erase__14JUTDirectPrintFiiiiJulgodis
2021-09-26OK start__14JUTDirectPrintFvJulgodis
2021-09-26Added TColor.hJulgodis
2021-09-24JKRThread & JKRThreadSwitch (#147)Jonathan Wase
* OK __ct__15JKRThreadSwitchFP7JKRHeap * OK createManager__15JKRThreadSwitchFP7JKRHeap * OK enter__15JKRThreadSwitchFP9JKRThreadi * OK callback__15JKRThreadSwitchFP8OSThreadP8OSThread * OK draw__15JKRThreadSwitchFP14JKRThreadName_P10JUTConsole * OK draw__15JKRThreadSwitchFP14JKRThreadName_ * OK __dt__15JKRThreadSwitchFv * JKRThread.cpp cleanup * Fixed tp.py and libelf, changed JUT_ASSERT macro and removed unused .s files. * Changed JKRThread access specifiers Co-authored-by: Julgodis <>
2021-09-24m_Do cleanup, d_resource, drawlist stuff (#145)TakaRikka
* d_resource / some d_stage * setup dDlst_list_c / d_select_icon OK * JUTXfb / some JUTVideo + various * some J2D classes / JUTVideo/Fader attempts * bunch of m_Do cleanup + matches / f_ap_game OK * mDoLib_clipper::setup OK * most of d_meter_HIO OK * pane_class / kantera_icon_meter
2021-09-11JKRExpHeap (#146)Jcw87
2021-08-28Jsupport stream and JKRAramArchive (#143)lepelog
* JSupport streams * JKRAramArchive
2021-08-28move J2D / JUTResFont (#144)TakaRikka
* move some JSystem and meter2_info stuff * more J2D / JUTTexture / JUTPalette * setup dScnKy_env_light_c
2021-08-23move more of d_save / d_com_inf_game (#141)TakaRikka
* some d_save matches / fixes * more d_save cleanup * fopAc_ac_c changes * move a bunch of d_save / d_com_inf_game stuff * format + remove asm * move bit labels to correct header * format * move d_item * fix check_itemno doc * move * fixes * getLayerNo_common_common almost matching just regalloc issues * small fixes * few more matches * fix
2021-08-16__sinit_d_com_inf_game_cpp OK (#140)lepelog
* mass mng header * d_cc_d start * c_cc_d ok * tmp commit * almost, reordering of vtable functions * progress * more progress * cleanup, still non matching * mark all of d_cc_d as nonmatching to OK * c_cc_s * c_cc_s OK * d_cc_mass_s OK * cleanup * gameinfo __sinit, not OK * a bit of cleanup * format * remove asm Co-authored-by: lepelog <lepelog@users.noreply.github.com>
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-06-02J3duclip, fop_actor_mng and related stuff (#131)lepelog
* J3DUClipper sinit * sincosTable_ etc * decompile JMATrigonometric sinit * f_op_actor_mng * move f_op_actor_mng and parts of mDo_ext * J3DSys sinit * f_op_scene_req * failed matching attempt for decodeSZS__9JKRDecompFPUcPUcUlUl * mX -> x * fix mCull and fopAcM_prm_class members * fix a few function parameters * move missing NON_MATCHING * remove some unneeded data * turns out that data was not unused * remove unused asm * readd asm deleted by accident
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-02Copy JKernel (#126)lepelog
* start JSystem * JKRAram and JUTGamePad * started heap and thread * more JKernel * mostly finished JKernel * delete unused asm * JKRFileFinder * delete unused asm and match findNextFile * format * fix mtx_vec
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-09some f_oplepelog
2021-04-08some parts in c_liblepelog
2021-03-29clang-formatJulgodis
2021-03-28dol2asm OKJulgodis
2021-03-28fpc symbol names (#119)lepelog
* fpcCtIt_filter_JudgeInLayer * dStage_roomControl_c::getZoneNo * fix fpc symbol names * format * mUnk0 -> mLayerID Co-authored-by: Pheenoh <pheenoh@gmail.com>
2021-03-27clang-formatPheenoh
2021-03-27J2DPicture::append OKPheenoh
2021-03-27J2DPicture::setBlendRatio OKPheenoh
2021-03-27fopMsgM_GetAppend OKPheenoh
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-03-03Match a few nonmatchings and delete unused asm (#117)lepelog
* match a few nonmatchings, delete unused asm * fix missing returns in f_op_actor_iter * remove obsolete comments
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-13split f_ap_game, fapGm_Execute ok, more changes to m_Do_mainPheenoh
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-26binary OK (#99)notyourav
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-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-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-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-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-07clang-formatPheenoh
2021-01-07main01 attempt, fix dcomifg_play_c membersPheenoh