summaryrefslogtreecommitdiff
path: root/src/SSystem
AgeCommit message (Collapse)Author
12 daysClean up angle constants and conversions (#1135)LagoLunatic
* Add angle conversion constants and macros * Replace angle literals with hex instead of decimal
2026-05-28Demo work and fakematch cleanup (#1034)LagoLunatic
2026-05-26Process profiles and enums cleanup (#1031)LagoLunatic
* Fix some profile comments * Add missing static for local visibility data * Move proc name and draw priority enums to f_pc * Add _e suffix to daObjBarrier_c proc enum * Change proc name enum format to match TP * Change draw prio enum format to match TP * Change ItemNo enum format, finish fixing item names * Revert static for cb1 hio * Clean up formatting of profile comments * Fix comment alignment
2026-05-21d_a_player_main cleanup and some demo matches (#1016)LagoLunatic
* d_a_player_main cleanup and some demo matches * Add unions for player_main procvars * Make d_a_player_main fields private
2026-04-01Move extern forward decls from cpps to headersLagoLunatic
2025-09-28Use isnan instead of CHECK_FLOAT_CLASSLagoLunatic
2025-08-22Remove a bunch of weak func order fakematchesLagoLunatic
2025-08-20Use precompiled headers, fix weak data issuesLagoLunatic
2025-07-25DEMO_SELECTLagoLunatic
2025-07-14obj_mkiek demo match, remove fake inlines from cXyzLagoLunatic
2025-06-01More demo work, cleanupLagoLunatic
2025-05-29JUT cleanupLagoLunatic
2025-05-24Demo matches (#767)LagoLunatic
2025-05-21G_CM3D_F_INFLagoLunatic
2025-05-21Demo: Fix cM3dGCylLagoLunatic
2025-05-08Match more player_main regalloc/stack/etc issuesLagoLunatic
2025-05-07Add camera mWork union; also fix clang union handlingLagoLunatic
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.
2025-04-29player_main cleanup and a few matchesLagoLunatic
2025-03-28Cleanp a bunch of stuffLagoLunatic
2025-03-17Add `cPhs_State` typedef and use it everywhereLagoLunatic
2025-03-16d_a_fganon 100% (#695)mattias-blum
* added `cBgS_Chk::OffSameActorChk`inline function * initial progress of d_a_fganon 100% Matching: - `anim_init` - `tama_draw` - `daFganon_Draw` - `daFganon_IsDelete` Partial Matching: - `daFganon_Hio_C::daFganon_HIO_c` (88%) - `deru_brk` (98%, code is matching, variable memory locations needed for 100% match) - `kieru_brk` (98%, code is matching, variable memory locations needed for 100% match) - `deru_brk2` (98%, code is matching, variable memory locations needed for 100% match) - `kieru_brk2` (98%, code is matching, variable memory locations needed for 100% match) - `pos_move` (73%) - `move` (80%) - `mahou_se_set` (82%) - `daFganon_Delete` (94%, code is matching, variable memory locations needed for 100% match) - `useHeapInit` (92%) - `daFganon_Create` (77%) - `fgannon_class::fganon_class()` (88%) Remainder haven't been started * Additional progress, more functions at 100% matching 100% Matching: - `daFganon_Hio_C::daFganon_HIO_c` - `anim_init` - `tama_draw` - `daFganon_Draw` - `deru_brk` - `kieru_brk` - `deru_brk2` - `kieru_brk2` - `pos_move` - `fly_se_set` - `mahou_set` - `mahou_se_set` - `daFganon_IsDelete` - `daFganon_Delete` - `useHeapInit` Partial Matching: - `fly` (60%) - `shot` (46%) - `move` (92%) - `daFganon_Execute` (11%) - `daFganon_Create` (60%) - `fgannon_class::fganon_class()` (93%) * More functions at 100% matching - Added a `cXyz` member to `mant_class` that is referenced in this TU. - Changed 'fganon_class` to inherit from `fopEn_enemy_c` instead of `fopAc_ac_c` 100% Matching: - `daFganon_Hio_C::daFganon_HIO_c` - `anim_init` - `tama_draw` - `daFganon_Draw` - `deru_brk` - `kieru_brk` - `deru_brk2` - `kieru_brk2` - `pos_move` - `fly_se_set` - `fly` - `shot` - `spinattack` - `fly2` - `tama_set` - `mahou_set` - `mahou_set` - `mahou_se_set` - `daFganon_IsDelete` - `daFganon_Delete` - `useHeapInit` - `fgannon_class::fganon_class()` Partial Matching: - `move` (96%, code is matching, variable memory locations needed for 100% match) - `daFganon_Execute` (96%, code is matching, variable memory locations needed for 100% match) - `daFganon_Create` (96%, code is matching, variable memory locations needed for 100% match) * additional functions at 100% matching Cleaned up the values of the static globals, will resolve their symbols later 100% Matching: - `daFganon_Hio_C::daFganon_HIO_c` - `anim_init` - `tama_draw` - `daFganon_Draw` - `deru_brk` - `kieru_brk` - `deru_brk2` - `kieru_brk2` - `pos_move` - `fly_se_set` - `fly` - `shot` - `spinattack` - `fly2` - `tama_set` - `mahou_set` - `shot2` - `spinattack2` - `down` - `kabe_check` - `deru` - `kieru` - `fail` - `standby` - `start` - `last_end` - `damage_check` - `ball_tg_check` - `mahou_se_set` - `daFganon_IsDelete` - `daFganon_Delete` - `useHeapInit` - `fgannon_class::fganon_class()` Partial Matching: - `end` (97%, code is matching, variable memory locations needed for 100% match) - `move` (97%, code is matching, variable memory locations needed for 100% match) - `demo_camera` (63%) - `daFganon_Execute` (97%, code is matching, variable memory locations needed for 100% match) - `daFganon_Create` (98%, code is matching, variable memory locations needed for 100% match) * added `mDoAud_changeSubBgmStatus` inline * changed return type of `dComIfGp_getPlayerCameraID` inline needed this change to get a match for this `d_a_fganon` * d_a_fganon 100% matching Currently the checksum fails but I have some theories as to why that might be. I'll continue to cleanup the symbols. * symbol cleanup * fixed `mDoAud_changeSubBgmStatus` calling wrong function * 100% matching now, checksum passes There is a weak function ordering issue so I included the param in `configure.py` * PR changes made * Additional PR changes, better naming of class members
2025-03-10CleanupLagoLunatic
2025-03-08Use cLib on/off bit inlines for attn flagsLagoLunatic
The debug maps indicate these inlines were pretty much always used when these flags are ORed or ANDed (but not when checked or set).
2025-03-07d_bg_w and c_m3d OKLagoLunatic
2025-03-06C_BG_MIN_HEIGHT, C_BG_MAX_HEIGHTLagoLunatic
2025-03-06d_bg_w progressLagoLunatic
2025-02-05c_m3d done except for regallocLagoLunatic
2024-12-24name cPhsUNK3_eJasper St. Pierre
2024-09-06Match most cM3d tri funcsLagoLunatic
2024-09-02d_particle workJasper St. Pierre
2024-08-24cc cleanupLagoLunatic
2024-08-08Use std:: namespace for tanf, tolower, strlen, strrchrLagoLunatic
2024-08-08Move sqrtf to std:: namespaceLagoLunatic
2024-08-08Move fmodf, atan2f, sinf, and cosf to std:: namespaceLagoLunatic
2024-08-07Move abs and fabsf to std namespaceLagoLunatic
2024-07-12Add fpc_ProcID type and use it for all process IDsLagoLunatic
See https://github.com/zeldaret/tp/pull/2173
2024-06-30clean up c_xyz to not use fake inlinesLagoLunatic
2024-06-22Use NULL macro in asserts, fix NULL macro to matchLagoLunatic
2024-04-18clean up some inline parametersLagoLunatic
2024-03-11Add uint typedefLagoLunatic
2024-03-09Make JUT_ASSERT macro more accurateLagoLunatic
(COND) == 0 and !(COND) both only match sometimes, but (void)((COND) || ...) seems to work all the time.
2024-02-26a few minor c_m3d matchesLagoLunatic
2024-02-26Copy new c_m3d progress from TP decompLagoLunatic
2024-02-26Implement cM3d_Len3dSqPntAndSegLineFranklyn Tackitt
Fix cM3d_Len2dSqPntAndSegLine
2024-02-12d_cc_s workLagoLunatic
2024-02-11d_bg_w_hf OKLagoLunatic
2024-02-11d_bg_w_hf 70%LagoLunatic
2024-02-10various cleanup, fix some fakematchesLagoLunatic
2024-02-01Clean up commentsLagoLunatic
2024-01-20c_m3d workJasper St. Pierre