Commit Graph

60 Commits

Author SHA1 Message Date
LagoLunatic 0bfdf5b34c Match debug inlines for some npcs 2026-09-30 11:22:19 -04:00
LagoLunatic 09de0609ec Add some dBgW debug funcs from TP 2026-09-28 23:01:30 -04:00
Jcw87 3a09143150 Misc fixes (#1224)
* PSMTX -> MTX

* template compiler compatibility

* JStudio fix

* d_flower names

* fix d_camera return types

* add missing GXEnd

* remove explicit 0 bytes from J2DPane tags

* make non_pos globals static
2026-09-28 11:06:29 -04:00
LagoLunatic a757be3c24 Improve some d_camera funcs, fix dCamSetup_c fields being mixed up 2026-09-24 14:24:56 -04:00
Jcw87 52c3c0dbfc d_camera (#1217) 2026-09-24 12:30:17 -04:00
LagoLunatic 74bc569576 clean up z/y/x set expressions 2026-09-20 13:49:04 -04:00
LagoLunatic f7d64187ed inlines 2026-09-05 19:11:35 -04:00
Jcw87 9234aa8286 Compiler compatibility, other fixes (#1188)
* add missing data

* fix return value

* d_camera fix

* missing GXEnd

* struct fixes

* fix include
2026-08-28 14:07:33 -04:00
LagoLunatic a1c70c7ede Fix camera_class view member 2026-08-17 23:24:18 -04:00
LagoLunatic f0d5cd7b6a Fix camera structs being swapped
`camera_process_class` and `camera_class` were swapped according to TP's RTTI info.
2026-08-17 23:03:22 -04:00
LagoLunatic e3f5172595 d_camera fixes for demo and inlines 2026-08-17 22:16:25 -04:00
LagoLunatic b8c26428ed Use CPad macros when accessing controller fields 2026-08-03 14:35:16 -04:00
LagoLunatic 380407dd26 msg work (#1143)
* fopMsgM_msgDataProc_c::stringSet work

* Fix JPN

* More stringSet work

* work

* get rid of fake temps

* stringSet 99.99%

* fopMsgM_msgDataProc_c::stringLength 100%

* d_msg work

* fix pal

* fix message_paper, d_meter version diff fixes
2026-08-02 21:04:29 -04:00
Benjamin ROELANDT dbc093a3cf d_scope 100% (#1112)
* First version of d_scope, everything is matching on all version, probably missing a few inline on undocumented field that i did not manage to find

* Readd stuff previously deleted but badly tested

* Rename some fields and a few more inline

doesn't improve matching but i think it looks more genuine

* clean up syntax

* move d_scptyp enum and add forgotten inline

* build fix

* replace seStart call with proper enum
2026-08-02 11:45:21 -04:00
LagoLunatic 5faa15219c Add camera profiles, fix camera struct sizes 2026-07-24 11:57:07 -04:00
LagoLunatic 7efaae45c7 A couple demo matches 2026-07-24 11:25:35 -04:00
LagoLunatic 4efda6f355 Minor cleanup
Inlines, wrong indentation, enums, private fields, etc
2026-07-23 17:48:51 -04:00
LagoLunatic 96347ab502 Clean up angle constants and conversions (#1135)
* Add angle conversion constants and macros

* Replace angle literals with hex instead of decimal
2026-07-22 20:13:31 -04:00
LagoLunatic 5c556d3c53 Enum usage 2026-07-22 12:36:48 -04:00
LagoLunatic bae595b973 Update all code to use the new enum formats 2026-05-29 16:34:55 -04:00
LagoLunatic 102042628f Process profiles and enums cleanup (#1031)
* 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-26 00:11:58 -04:00
LagoLunatic d10eaa3ef8 d_a_obj_jump initial documentation pass 2026-05-21 14:41:15 -04:00
LagoLunatic e07ff45d80 Add camera attention status and algorythmn enums 2026-05-12 23:20:55 -04:00
LagoLunatic 897f043575 Document some more enum value names 2026-05-08 18:12:26 -04:00
LagoLunatic 4fba5a0735 PlayerStatus enum usage 2026-05-07 12:53:50 -04:00
LagoLunatic 9dedd44567 Demo work 2026-04-24 02:46:59 -04:00
LagoLunatic be23b195ec d_camera: Name mViewCache based on TP decomp 2026-04-24 02:11:28 -04:00
Mattias Blum 8e1e74975b more d_camera work (#963)
* initial progress

* more progress

* more progress

* more progress

* more progress

* more progress

* more progress

* more progress

* more progress

* more progress

* more progress

* more progress

* fix outdated member names

* more progress

* more progress

* more progress

* more progress

* more progress

* more progress

* fixed deprecated member references

* more progress

* more progress

* more progress

* fix deprecated member references

* more progress

* more progress

* more progress

* more progress

* more progress

* check in for review

* remove comment

* initial PR changes

* more PR changes

* more PR changes

* added anonymous struct as class member

* reverted changes to `stage_camera2_data_class`

* added `dCamera_event_data`, `dCamera_monitoring_things` and `dCamera_DMC_system` from debug maps

* more progress

* more progress

* realmatch for `camera_draw`

* PR changes

* fix broken merge

* formatting

* Reverted change to `camSphChkdata` that caused  `sph_chk_callback` match to regress

* Reverted change to `BG` struct that caused ctor and dtor match to regress

* more progress

* more progress

* more progress

* more progress

* more progress

* more progress

* more progress

* more progress

* more progress

* more progress

* more progress

* PR changes

* corrected size comment

* fixed broken member references

* more d_camera work

* remove comment

* update symbols
2026-04-24 01:36:04 -04:00
LagoLunatic 4e7634a693 Cleanup 2026-04-02 19:33:05 -04:00
LagoLunatic ff60c624ce Clean up dComIfGp_evmng_getMyActIdx calls 2026-03-12 17:46:14 -04:00
LagoLunatic 3393a348e1 Remove dCcS::SetMass-related fakematches
No longer necessary with the PCH for some reason.
2025-11-24 18:51:42 -05:00
LagoLunatic d89fe27888 Use composition instead of inheritance for most f_op classes 2025-09-25 15:59:25 -04:00
LagoLunatic 8d928199ce Fix weak func order for d_stage 2025-08-22 00:31:41 -04:00
LagoLunatic 217775af4e Use precompiled headers, fix weak data issues 2025-08-20 18:51:42 -04:00
LagoLunatic 2eaf012e4f Fix some version differences (#852)
* Fix some version differences

* Found real inline name for checkBowMiniGame
2025-08-12 16:30:44 -04:00
LagoLunatic 4a08af2148 Misc cleanup 2025-08-11 19:47:08 -04:00
LagoLunatic bd917524ba Demo work, d_a_kytag02 and d_a_ff OK 2025-05-31 20:09:14 -04:00
LagoLunatic 7cd75e8f7b Demo matches (#767) 2025-05-24 18:54:46 -04:00
LagoLunatic d097c85eb0 Cleanup 2025-05-21 18:07:36 -04:00
LagoLunatic 21cd7a2f67 G_CM3D_F_INF 2025-05-21 16:46:21 -04:00
LagoLunatic f690b92d28 Add camera mWork union; also fix clang union handling
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-05-07 01:19:23 -04:00
LagoLunatic 18fb9de306 d_cam_type OK for JPN, add style enum, fix pystts1 enum 2025-05-06 22:58:20 -04:00
LagoLunatic 1480636a5a d_cam_type and d_cam_style OK, enums cleanup 2025-05-06 21:48:03 -04:00
Mattias Blum c71bb1dafb d_camera 45% (#747)
* initial progress

* more progress

* more progress

* more progress

* more progress

* more progress

* more progress

* more progress

* more progress

* more progress

* more progress

* more progress

* fix outdated member names

* more progress

* more progress

* more progress

* more progress

* more progress

* more progress

* fixed deprecated member references

* more progress

* more progress

* more progress

* fix deprecated member references

* more progress

* more progress

* more progress

* more progress

* more progress

* check in for review

* remove comment

* initial PR changes

* more PR changes

* more PR changes

* added anonymous struct as class member

* reverted changes to `stage_camera2_data_class`

* added `dCamera_event_data`, `dCamera_monitoring_things` and `dCamera_DMC_system` from debug maps

* more progress

* more progress

* realmatch for `camera_draw`

* PR changes

* fix broken merge

* formatting

* Reverted change to `camSphChkdata` that caused  `sph_chk_callback` match to regress

* Reverted change to `BG` struct that caused ctor and dtor match to regress

* more progress

* more progress

* more progress

* more progress

* more progress

* more progress

* more progress

* more progress

* more progress

* more progress

* more progress

* PR changes

* corrected size comment

* fixed broken member references
2025-05-06 21:02:35 -04:00
Jcw87 5e7b59f2fe Improve compiler compatibility (#743)
* fix returns

* use standard C headers

* struct/class mismatch

* explicit this in template

* switch variable scope

* C standard compliance

* & l-value
2025-04-29 12:49:09 -04:00
LagoLunatic c4eb26b2a1 d_attention cleanup, add mDoCPd inlines 2025-04-27 16:38:29 -04:00
LagoLunatic ce8d17ec08 Add an enum for action button icon status 2025-04-20 20:06:40 -04:00
LagoLunatic 7e77fd23e3 Minor d_camera match fixes 2025-04-19 15:19:57 -04:00
LagoLunatic 2f4c6f89b3 Bunch of inline fixes 2025-04-16 13:23:21 -04:00
LagoLunatic da0ed4b78c Fix dCamera_c::BG struct 2025-04-15 20:34:11 -04:00