summaryrefslogtreecommitdiff
path: root/src/JSystem
AgeCommit message (Collapse)Author
2025-08-27Start linking some TUs on debug and PAL (#2612)LagoLunatic
* Fix clang union handling (affects all TUs including d_camera.h) Union members with non-trivial ctors/dtors is undefined behavior and clangd normally throws a fit and refuses to parse the whole union, but it seems to be possible to ifdef the problematic ctors out for non-mwerks compilers and explicitly tell modern compilers to use the defaults instead. Thanks to encounter for this fix. * Link all TUs that already match on debug In order to link TUs for debug, most functions seem to need to have their alignment set to 16 in symbols.txt. There are a few hundred functions that seem to be the exception and break when their alignment is set to 16, but I don't know the reason for this. * Remove some fakematches (nosyminline/sym off) for weak func order in retail * Fix clang not knowing that MSL_C++ is C++ * Link more debug TUs * Fix missing PAL split * Fix wrong slashes being used in includes * RZDE01_00: Fix incorrect capitalization in config.yml * Add RZDE01_00 to configure task * Revert configure.py to use MatchingFor * Fix PAL splits and symbols, link matching PAL TUs
2025-08-24Add a precompiled header for RELs (#2597)Max Roncace
2025-08-08Misc. J3D improvements (#2570)Max Roncace
2025-08-05d_a_obj_fallobj OK (#2568)hatal175
* d_a_obj_fallobj OK * J3DMatBlock equivalent
2025-06-29d_a_bg_obj equivalent + misc (#2509)hatal175
* d_a_bg_obj equivalent + misc * More Z2LinkMgr Matches
2025-06-27add wii usa rev0 support (#2505)TakaRikka
* wii usa rev0 dol building ok * wii dol cleanup * some wii tests * most rels building
2025-06-21Improve some J2DPictureEx matches (#2493)hatal175
* Improve some J2DPictureEx matches + other minor debug improvements * Fix JASTrack::channelStart
2025-06-19Add more J3D_ASSERTs (#2491)LagoLunatic
* Fix debug build * Add more J3D_ASSERTs * Move J3DShapeMtx to correct header for assert * Add VSCode task for ninja changes_all
2025-06-17getDemoIDData matched, fix up various inlines and template classes (#2489)LagoLunatic
* Fix debug build * getDemoIDData matched, fix up various inlines and template classes * Remove nonmatching comments
2025-06-15Work on d_a_obj_flag3 (#2485)hatal175
* Work on d_a_obj_flag3 * Fix JASBasicWaveBank::incWaveTable * Match JASBNKParser::Ver0::createBasicBank
2025-06-13cleanup/doc JMessage / d_msg_class (#2484)TakaRikka
* jmessage cleanup pass * more JMessage cleanup * d_msg_class cleanup
2025-05-28cleanup d_meter2_info / little JMessage work (#2460)TakaRikka
* d_meter2_info cleanup * parseBlock_next matching
2025-05-22Update dtk-template (#2453)LagoLunatic
* Update dtk-template * Fix debug build * Fix d_event_debug includes * Progress reports: Enable function relocation diffing (data_value) * Fix some diffs * Fix a few more diffs * More fixes
2025-05-08jstudio-object OK (#2427)robojumper
* jstudio-object checkpoint * jstudio-object OK * Small debug improvements
2025-04-15A Little j3d work (#2396)hatal175
2025-04-13Various alignments to debug + matching TUs (#2391)hatal175
2025-04-12functionvalue 100% (#2389)LagoLunatic
* functionvalue 100% * Fix ninja always thinking the build is dirty due to nonexistent dependent file
2025-04-09Various JSystem work (#2383)Caroline Madsen
* JKernel and JStudio cleanup * JMessage cleanup * JAudio cleanup * JASBNKParser work * functionvalue work * fvb work * J2D and J3D cleanup * steal from tww * J2DPictureEx mostly done * fix build
2025-04-08JSystem work (#2384)LagoLunatic
* object-id 100% on debug Can't be linked due to .text alignment issues? * J3DMaterialFactory and J3DMaterialFactory_v21 OK * Match dKy_bg_MAxx_proc
2025-04-07JStudio object-actor OK (#2381)LagoLunatic
* Fix debug build * object-actor OK
2025-04-06Debug JStudio fix + match one retail func (#2378)LagoLunatic
* Fix debug build * Minor fixes * Match daAlink_c::getDemoLookActor * Fix JStudio paths in ShieldD splits * Fix JStudio not compiling on debug * Fix JStudio not compiling on retail, add fake header
2025-04-06GCN pal / jpn support, some debug work (#2375)TakaRikka
* d_save debug cleanup / d_s_menu debug * gameinfo / kankyo struct debug fixes * pal building ok * jp building ok * some tests with jp * some more pal/jp tests
2025-03-30d_event_debug equivalent & modifications to dEvLib_callback_c (#2359)Huitzi
* WIP d_event_debug * Implemented most functions close to matching * Removed erroneous comment in d_com_inf_game.h * Implemented getEventP in dEvDtBase_c * Retyped dEvLib_callback_c function returns from BOOL to bool * Implemented getHeader, getEventList, and setDbgData in dEvent_manager_c * Moved relevant dEvDb_* classes from d_event.h to d_event_debug.h and changed to structs * Extended JORFile mFilename character array from 8 to 256 characters * Implemented combo boxes and update slider functionalities in JORMContext * Named field_0xC of JORProperyEvent as id, based on use of field in d_event_debug.cpp * Corrected debug event tables and created missing table * Debug tables explicitly pasted in d_event_debug.cpp to circumvent ShiftJIS not properly encoding tables via #include directive * Change return types for implemented virtual functions of actors that inherit from dEvLib_callback_c * Add const modifier to several d_com_inf_game functions called in d_event_debug, and change respective fields in dEvDb_bit & reg_c to be const * d_event_debug Equivalent * Changed configure.py entry to equivalent instead of matching * Preliminary documentation * Remove debug tables from d_event.cpp
2025-03-22Debug version now builds OK and all_source compiles (#2343)LagoLunatic
* Fix missing arg to JUT_ASSERT * Fix some MWCC version diff errors * Compile m_Do_ext, d_demo, actor_mng * Add VSCode task to quickly switch between versions * Unlink magLift for debug * Update the hash of the debug dol The old cbea5fa... hash here was for the dol generated by the alf2dol.py script, which produces incorrect alignment. The dol with the new hash can be obtained by using `dtk elf2dol` to convert the debug .alf file to a dol. The DOL now builds OK. * Fix all debug REL dtor splits All RELs now also build OK, meaning `ninja build/ShieldD/ok` now succeeds. * Add genMessage declarations to all HIO subclasses * Fixing more compilation errors * m_Do_mtx 100% on debug Cannot be linked due to weak function name mangling? * Improve various matches * Fix all remaining compilation errors * Fix new compilation errors from main * Fix retail regression * Link f_pc_profile_lst
2025-03-21Z2AudioLib work (#2339)Caroline Madsen
* Z2LinkMgr work, Z2AudioArcLoader matching * Z2SeMgr matching * Z2SpeechMgr2 almost done, Z2SoundHandles matching
2025-02-10copy dolsdk2004 to tp / b_bh + e_mb done (#2299)TakaRikka
* move dolsdk2004 over * cleanup some temp work * finish and cleanup gf * b_bh done * d_a_e_mb done
2025-01-26Fix spurious differences when using `ninja diff` (#2294)LagoLunatic
* Fix spurious differences when using ninja diff * Fix some clangd errors/warnings
2025-01-19most of JHostIO / m_Do_hostIO done (#2288)TakaRikka
2025-01-14Fix various issues in TUs marked `Equivalent` (#2286)LagoLunatic
2024-12-29various matches / cleanup (#2271)TakaRikka
* cleanup various TUs * checkpoint * d_attention doc
2024-12-02d_vibration / JUTGamePad matched + linked (#2256)TakaRikka
* d_vibration done * JUTGamePad done * cleanup JUTGamePad * d_menu_window cleanup
2024-11-29some cleanup of f_pc/f_op files (#2254)TakaRikka
* cleanup f_pc files * cleanup f_op files * fix a couple f_op_actor_mng functions * minor JSystem work
2024-11-11J2DMatBlock work (#2247)Caroline Madsen
2024-11-10JKRExpHeap matching + other minor (#2243)hatal175
2024-11-10d_demo mostly matched (#2242)TakaRikka
2024-11-10j2d/j3d work (#2241)hatal175
2024-11-09Work on various units, mostly d_menu_letter (#2240)hatal175
2024-11-03JParticle mostly done (#2235)Caroline Madsen
2024-11-01J3DMatBlock, J3DMaterialFactory work (#2233)Caroline Madsen
2024-10-31more misc. cleanup (#2232)Caroline Madsen
2024-10-24JAudio2 and Z2AudioLib work (#2223)Caroline Madsen
* JAudio2 and Z2AudioLib work * check1stDynamicWave matched
2024-10-15J3D work (#2212)Caroline Madsen
2024-10-10switch to dtk setup (#2203)TakaRikka
* switch to dtk setup * some cleanup / fixes * cleanup d_a_alink literals * Restore doxygen, update CI & README.md (#1) * Fix build image ref (#2) --------- Co-authored-by: Luke Street <luke@street.dev>
2020-09-05organize files, update makefile, add CI checks, begin adding d_save.cppunknown
2020-08-29okunknown