Commit Graph

5 Commits

Author SHA1 Message Date
big zam fe4ca85c79 d_a_obj_plant equivalent (#945)
* d_a_obj_plant: Add headers, functions (nodeCallBack, CheckCreateHeap, CreateInit, set_mtx, daObjPlant_Delete)

* d_a_obj_plant: draw

* CreateHeap in progress, Moved NodeCallBack higher

* daObjPlant_c::CreateHeap 100% matching

* daObjPlant_Create 100% matching

* Fixed field 40A being unsigned, plant_execute() 99% matching

* Fixed floating point order of ops, daObjPlant_Execute 100% matching

* rename param

* Fixed checkCreateHeap not returning

* Marked as equivalent due to weak function ordering

* Fixed nodeCallBack function order

* PR Feedback: Removed nodeCallBack forward declaration, Moved all inline functions from h to cpp, Replaced magic numbers with enums

* d_a_obj_plant 100% matching

* d_a_obj_plant: Fixed matching for kiosk demo

* Update src/d/actor/d_a_obj_plant.cpp
2026-04-06 02:49:09 -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 8a2bc19a89 Better defaults for create/delete/execute/draw/isdelete 2023-11-24 16:49:23 -05:00
LagoLunatic 471b881de8 Automatically generate headers for all actors 2023-11-24 12:44:06 -05:00