Commit Graph

13 Commits

Author SHA1 Message Date
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
Ammar Askar 67050779fe Auto-generate trivial process_method_funcs 2025-06-03 16:30:53 -04:00
LagoLunatic c625992a77 Add enum for actor priority 2025-05-21 14:44:25 -04:00
LagoLunatic 822b13e57a Add cPhs_State typedef and use it everywhere 2025-03-17 22:26:56 -04: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 3b40fd0132 Add back unnamed namespace methods, all actors now compile again 2024-04-22 17:51:41 -04:00
LagoLunatic 94f3b78155 Generate all actor profiles and method tables 2024-04-21 23:31:40 -04:00
LagoLunatic 6ec4a2ebbd Remove weak ctors/dtors from .cpp files 2023-11-26 23:16:19 -05:00
LagoLunatic 8a2bc19a89 Better defaults for create/delete/execute/draw/isdelete 2023-11-24 16:49:23 -05:00
Jasper St. Pierre 9553fd0c22 Remove a bunch of weak symbols from TUs
Done with regex

/\* .* \*/
.*symbol.*.*\(.*\).* \{
    \/\* Nonmatching \*\/
\}
2023-11-24 12:45:11 -08:00
LagoLunatic 471b881de8 Automatically generate headers for all actors 2023-11-24 12:44:06 -05:00
Jasper St. Pierre fd45c5a4f2 Remove all autogenerated @ functions from TUs 2023-11-23 19:36:26 -08:00
Luke Street adb95b135c Import project
Original repository: https://github.com/encounter/ww
2023-09-10 00:48:55 -04:00