Commit Graph

56 Commits

Author SHA1 Message Date
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 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 10651a0c4e Player inlines and item enums 2026-05-12 17:57:33 -04:00
LagoLunatic 897f043575 Document some more enum value names 2026-05-08 18:12:26 -04:00
LagoLunatic a62f436d22 TVec3 inline fixes, d_a_obj_gtaki OK, JPAConvectionField::calc cleanup 2026-04-13 19:44:46 -04:00
LagoLunatic 91771e91aa c_damagereaction OK (#949) 2026-04-12 18:42:17 -04:00
LagoLunatic bfc5d57658 Use particle name enum in more places 2026-04-01 00:19:40 -04:00
LagoLunatic 061fa893eb Replace particle enums with official names 2026-03-20 16:02:41 -04:00
LagoLunatic ff60c624ce Clean up dComIfGp_evmng_getMyActIdx calls 2026-03-12 17:46:14 -04:00
SuperDude88 925c338bd6 Most of c_damagereaction (#903)
* Most of c_damagereaction

Still planning to go back and finish dr_damage_anime

* Match dr_damage_anime

* Fix Last Instruction Issues
2025-12-05 09:12:14 -08:00
LagoLunatic 816f08fc7c Add extra brackets to collision src structs 2025-08-03 20:41:05 -04:00
LagoLunatic 72dc8f4ef6 DEMO_SELECT 2025-07-25 21:05:36 -04:00
LagoLunatic bd917524ba Demo work, d_a_kytag02 and d_a_ff OK 2025-05-31 20:09:14 -04:00
LagoLunatic 21cd7a2f67 G_CM3D_F_INF 2025-05-21 16:46:21 -04:00
LagoLunatic a6c0286349 Demo: Disable opt_propagation, fix assert macro, DynamicLink OK 2025-05-20 00:09:23 -04:00
LagoLunatic d3ebf7be38 Fix c_dylink 2025-05-19 22:47:08 -04:00
LagoLunatic 34214f75d8 Demo: c_dylink OK, DynamicLink 99% 2025-05-19 22:41:12 -04:00
LagoLunatic 337303fc79 Standardize mMode/mAction names in C-style actors 2025-05-17 14:01:12 -04:00
LagoLunatic e71662caa0 More return types, set up all dBgS_MoveBgActor subclasses 2025-03-18 16:17:53 -04:00
LagoLunatic 822b13e57a Add cPhs_State typedef and use it everywhere 2025-03-17 22:26:56 -04:00
LagoLunatic a9e1527253 Work on d_a_bk, c_damagereaction 2025-03-12 22:30:10 -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 4a4624decf Populate particle IDs enum with placeholders and use them everywhere 2025-03-06 17:37:20 -05:00
Jasper St. Pierre 70044ec8dd Clean up cc enums 2024-10-28 21:16:46 -07:00
LagoLunatic 202851599f More warning/error cleanup, mostly includes 2024-10-17 23:46:30 -04:00
LagoLunatic a25d2651de Move sqrtf to std:: namespace 2024-08-08 14:55:57 -04:00
LagoLunatic d287e79ab0 Move abs and fabsf to std namespace 2024-08-07 12:55:30 -04:00
LagoLunatic 5778c31aed Add developer-specific macros for g_regHIO child registers 2024-07-04 00:57:17 -04:00
LagoLunatic f9d40ebad8 Use NULL macro in asserts, fix NULL macro to match 2024-06-22 11:07:16 -04:00
LagoLunatic d419a25be3 Use ARRAY_SIZE macro in asserts, fix ARRAY_SIZE macro to match 2024-06-22 09:57:16 -04:00
LagoLunatic 2b71216c8b Add enum for attention types 2024-04-17 00:15:24 -04:00
LagoLunatic 029ddf6bb9 minor inline cleanup 2024-03-11 18:12:15 -04:00
LagoLunatic 443691603d rename fopAc_ac_c member vars to match TP decomp 2024-03-08 21:31:41 -05:00
LagoLunatic e47938b60d d_a_bk work 2024-02-29 16:28:38 -05:00
LagoLunatic 25e69da75e d_cc_uty OK 2024-01-20 19:27:19 -05:00
LagoLunatic 4463680333 Rename actor orig->home and next->old 2024-01-16 18:30:05 -05:00
LagoLunatic f2bb2bb4a7 Stts weight cleanup 2024-01-13 00:51:57 -05:00
LagoLunatic 82b429b72f start adding particle/hitmark enums + some d_cc_s 2023-12-30 00:50:19 -05:00
TakaRikka 5773ee904c reorganize MSL_C/Runtime files. wip, notmatching 2023-12-27 21:07:21 -08:00
LagoLunatic 0490fd3c84 more collision enums and inlines 2023-12-22 21:02:23 -05:00
LagoLunatic ed66f75566 c_cc_d inlines and enums progress 2023-12-22 20:11:49 -05:00
Jcw87 d5abc1b49a include casing 2023-12-20 18:52:51 -08:00
LagoLunatic 94465b0dbb add c_cc_d and d_cc_d SPrm enums 2023-12-20 21:11:57 -05:00
LagoLunatic df6853e917 fix SrcGObjTg SPrm name in comments 2023-12-20 20:05:55 -05:00
LagoLunatic a3170e5d69 add default params to a lot more functions 2023-12-08 16:25:12 -05:00
LagoLunatic 2c907c8a21 Clean up code for various actors 2023-10-29 02:07:52 -04:00
LagoLunatic a983a848c1 Clean up cXyz inlines copied from TP 2023-10-21 01:12:59 -04:00
LagoLunatic 0ca314c746 Add attention flags enum, use enums in more places 2023-10-15 00:45:59 -04:00
Jasper St. Pierre 75ef109e98 c_dylink match 2023-10-13 14:21:53 -07:00
LagoLunatic 25791037b5 Cleanup, comments, and names for enemy ice/fire 2023-10-10 19:51:20 -04:00