14 Commits

Author SHA1 Message Date
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 a3dd6ac9e1 Cleanup 2026-05-08 21:51:18 -04:00
LagoLunatic 0bff98c469 Merge pull request #980 from LagoLunatic/daobj
d_a_obj OK
2026-05-07 22:42:07 -04:00
LagoLunatic ac8ff10650 Fix most weak function ordering issues 2025-08-20 19:09:06 -04:00
LagoLunatic 21da9eeb19 Merge branch 'main' into d_a_tsubo 2025-08-20 15:06:02 -04:00
Kristopher Early 92996b9ca1 d_a_obj_eff OK (#855)
* park

* d_a_obj_eff OK

* OK for everything but demo.

* Update d_a_obj_eff.cpp

* Refactor daObjEff smoke effect callbacks and cleanup

Replaces direct member access and static_casts with virtual method calls for particle callbacks, improving type safety and maintainability. Updates function pointer arrays to use member function pointers with explicit class scope. Renames parameter enums for clarity and implements prm_get_type(). Changes mParticleCallback type to dPa_followEcallBack* for consistency. Also replaces direct alpha assignment with setGlobalAlpha().

* d_a_obj_eff OK for Kiosk / Demo

* Update f_pc_base.h

* Refactor particle effect functions to use setToon API

Replaces conditional logic and direct member assignments in smoke effect functions with unified calls to dComIfGp_particle_setToon and emitter setter methods. This simplifies the code, removes version-specific branches, and improves maintainability.
2025-08-20 14:35:08 -04:00
Kelebek1 7dfbda3da0 d_a_tsubo 2025-08-20 13:56:13 +01:00
LagoLunatic 822b13e57a Add cPhs_State typedef and use it everywhere 2025-03-17 22:26:56 -04:00
Ross Newman e696d982c6 d-a-obj-barrel (#700)
* d_a_obj_barrel wip

* d_a_obj_barrel wip

* mostly match, names and cleanup

* d-a-obj-barrel 100%

* remove unused field

* remove comments and address PR suggestions
2025-03-08 16:42:46 -05:00
LagoLunatic 025b7e459a Switch return type of _execute/_draw/_delete to be bool by default instead of BOOL
It's not completely consistent, but it seems like the majority used `bool`, and only a handful used `BOOL`. So I switched all of them to `bool` except for 13 TUs that stopped matching when changed like this.
2025-02-01 16:17:46 -05:00
LagoLunatic fb6939d9cd Get more TUs to compile 2024-01-16 17:18:38 -05:00
LagoLunatic 8a2bc19a89 Better defaults for create/delete/execute/draw/isdelete 2023-11-24 16:49:23 -05:00
LagoLunatic d87b01b34a Fix missing const inlines in actor headers 2023-11-24 16:26:18 -05:00
LagoLunatic 471b881de8 Automatically generate headers for all actors 2023-11-24 12:44:06 -05:00