mirror of
https://github.com/zeldaret/tww.git
synced 2026-05-23 06:54:16 -04:00
fe4ca85c79
* 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
31 lines
729 B
C++
31 lines
729 B
C++
#ifndef D_A_OBJ_PLANT_H
|
|
#define D_A_OBJ_PLANT_H
|
|
|
|
#include "f_op/f_op_actor.h"
|
|
|
|
class daObjPlant_c : public fopAc_ac_c {
|
|
public:
|
|
inline cPhs_State _create();
|
|
inline BOOL _delete();
|
|
inline BOOL _draw();
|
|
inline BOOL _execute();
|
|
|
|
BOOL CreateHeap();
|
|
void CreateInit();
|
|
void set_mtx();
|
|
|
|
public:
|
|
/* 0x290 */ request_of_phase_process_class mPhase;
|
|
/* 0x298 */ J3DModel* mpModel;
|
|
/* 0x29C */ dCcD_Stts mStts;
|
|
/* 0x2D8 */ dCcD_Cyl mCyl;
|
|
/* 0x408 */ s16 field_0x408;
|
|
/* 0x40A */ s16 field_0x40A;
|
|
/* 0x40C */ s16 mHitTimer;
|
|
/* 0x40E */ s16 field_0x40E;
|
|
/* 0x410 */ u8 field_0x410;
|
|
/* 0x411 */ u8 field_0x411[0x414 - 0x411];
|
|
}; // Size: 0x414
|
|
|
|
#endif /* D_A_OBJ_PLANT_H */
|