Commit Graph

71 Commits

Author SHA1 Message Date
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 cf210f963b Add helper macros to simplify fopAcM_ct-related version differences 2026-05-07 16:13:55 -04:00
LagoLunatic e1f5b7e23b Rename fopAcM_SetupActor to fopAcM_ct 2026-05-07 15:59:23 -04:00
LagoLunatic c56b902ed1 Match fopMsgM_messageGet and fopMsgM_passwordGet 2026-04-30 02:56:31 -04:00
LagoLunatic fdbac96f9a Demo work 2026-04-27 19:05:33 -04:00
LagoLunatic 061fa893eb Replace particle enums with official names 2026-03-20 16:02:41 -04:00
LagoLunatic d47ee0ab88 Add empty placeholders to fix HIO funcs missing when linking debug version 2025-09-02 15:25:01 -04:00
LagoLunatic b77717694c Add dolzel_rel.pch
This fixes the sdata linker error in the debug build.
2025-08-23 12:17:10 -04:00
LagoLunatic bc74b63d11 Fix collision struct formatting 2025-08-22 23:26:48 -04:00
LagoLunatic ac8ff10650 Fix most weak function ordering issues 2025-08-20 19:09:06 -04:00
LagoLunatic 217775af4e Use precompiled headers, fix weak data issues 2025-08-20 18:51:42 -04:00
LagoLunatic 5802571a56 Add SQUARE macro to improve readibility for distances 2025-08-08 21:51:30 -04:00
LagoLunatic 816f08fc7c Add extra brackets to collision src structs 2025-08-03 20:41:05 -04:00
LagoLunatic 7cd75e8f7b Demo matches (#767) 2025-05-24 18:54:46 -04:00
LagoLunatic 21cd7a2f67 G_CM3D_F_INF 2025-05-21 16:46:21 -04:00
LagoLunatic c625992a77 Add enum for actor priority 2025-05-21 14:44:25 -04:00
LagoLunatic 99c78680de Fix version defines 2025-05-19 20:17:13 -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 b9c1eed694 d_demo work 2025-03-28 22:35:13 -04:00
LagoLunatic 822b13e57a Add cPhs_State typedef and use it everywhere 2025-03-17 22:26:56 -04:00
LagoLunatic b97eeed779 Rename J3DFrameCtrl loop mode enum
See https://github.com/zeldaret/tp/pull/2327/commits/2a284165cf35a2324d36d825add5c06ffa864398
2025-03-17 16:21:46 -04:00
LagoLunatic 87dcddd519 Use cLib on/off bit inlines for attn flags
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-08 17:27:16 -05:00
LagoLunatic 49c69eeb0f C_BG_MIN_HEIGHT, C_BG_MAX_HEIGHT 2025-03-06 20:41:37 -05:00
LagoLunatic 4a4624decf Populate particle IDs enum with placeholders and use them everywhere 2025-03-06 17:37:20 -05:00
LagoLunatic 5571ec74e4 Document the second param to joint callback functions 2025-02-28 18:04:05 -05:00
LagoLunatic a52bb789da Rename HostIO mChildID to mNo
TP debug has an assert in d_a_obj showing the name of this variable is `M_no` there.
2025-01-31 15:49:44 -05:00
LagoLunatic 417ef8cacb Fix mDoHIO inlines 2025-01-08 15:49:00 -05:00
LagoLunatic 37dbfd75de Add item button enum and talk button enum 2025-01-06 00:23:55 -05:00
Jasper St. Pierre 70044ec8dd Clean up cc enums 2024-10-28 21:16:46 -07:00
LagoLunatic 329d94a301 Add fake headers for unsolved weak objects to reduce manual copy-pasting 2024-10-19 14:03:50 -04:00
LagoLunatic 34afbd84db clangd: Started fixing warnings and errors, code cleanup 2024-10-17 21:35:18 -04:00
LagoLunatic 2def735282 Add fpc_ProcID type and use it for all process IDs
See https://github.com/zeldaret/tp/pull/2173
2024-07-12 21:14:13 -04:00
LagoLunatic f9d40ebad8 Use NULL macro in asserts, fix NULL macro to match 2024-06-22 11:07:16 -04:00
LagoLunatic 12c8b6fcc7 Move res enums in cpp files to include res headers instead 2024-04-23 14:15:57 -04:00
LagoLunatic f856df04e5 Regenerate old actor profiles for consistency 2024-04-22 13:20:05 -04:00
LagoLunatic 459cf6caa7 clean up some inline parameters 2024-04-18 23:16:38 -04:00
LagoLunatic 2b71216c8b Add enum for attention types 2024-04-17 00:15:24 -04:00
LagoLunatic 8238d12e71 add more default parameters for common funcs 2024-04-16 13:44:24 -04:00
LagoLunatic 282756e6e8 fix msgId/msgNo naming mixups 2024-04-10 23:55:17 -04:00
LagoLunatic 8ef6dd4285 Fix some names 2024-03-25 18:49:19 -04:00
LagoLunatic 3f892bfb64 fix version differences 2024-03-08 21:51:15 -05:00
LagoLunatic 443691603d rename fopAc_ac_c member vars to match TP decomp 2024-03-08 21:31:41 -05:00
LagoLunatic fdba7c3a7b Started cleaning up the itemNo enum 2024-02-25 02:05:17 -05:00
LagoLunatic b46e897826 Realmatch dComIfGp_event_runCheck inline
dComIfGp_event_runCheck's return type being different from the inner inline runCheck's return type apparently causes the compiler to double up the g_dComIfG_gameInfo load in certain functions.

And also fix dComIfGp_event_chkEventFlag which had the same issue.
2024-02-02 20:34:16 -05:00
LagoLunatic f4ac738d36 Clean up comments 2024-02-01 20:56:47 -05:00
LagoLunatic 2a1410e072 documentation 2024-01-20 20:49:47 -05:00
LagoLunatic 4463680333 Rename actor orig->home and next->old 2024-01-16 18:30:05 -05:00
LagoLunatic 8485e571b4 d_a_player_main work 2024-01-15 04:47:27 -05:00