Files
tp/include/d/actor/d_a_bullet.h
T

74 lines
1.6 KiB
C++
Raw Normal View History

2021-03-28 22:49:05 +02:00
#ifndef D_A_BULLET_H
#define D_A_BULLET_H
2024-06-10 01:34:52 -06:00
#include "f_op/f_op_actor_mng.h"
2025-05-08 04:30:05 -07:00
#include "d/d_bg_s_acch.h"
#include "d/d_cc_d.h"
2024-06-10 01:34:52 -06:00
/**
* @ingroup actors-unsorted
* @class daBullet_c
* @brief Bullet (Unused?)
*
* @details
*
*/
2025-05-08 04:30:05 -07:00
class daBullet_c : public fopAc_ac_c {
2024-06-10 01:34:52 -06:00
public:
2025-05-08 04:30:05 -07:00
typedef int (daBullet_c::*processFn)(void*);
/* 0x568 */ request_of_phase_process_class mPhase;
/* 0x570 */ J3DModel* mpModel;
/* 0x574 */ dBgS_ObjAcch mAcch;
/* 0x74C */ dCcD_Stts mCcStts;
/* 0x788 */ dBgS_AcchCir mAcchCir;
/* 0x7C8 */ dCcD_Sph mCcSph;
/* 0x900 */ cBgS_GndChk mGndChk;
/* 0x93C */ u8 field_0x93C[0x940 - 0x93C];
/* 0x940 */ f32 mGroundY;
/* 0x944 */ processFn mProcess;
/* 0x950 */ int mLifetime;
/* 0x954 */ u16 mMode;
/* 0x956 */ u8 mType;
/* 0x957 */ u8 field_0x957;
2025-11-30 14:23:42 -08:00
virtual ~daBullet_c();
int create();
BOOL CreateHeap();
int Delete();
int Execute();
int Draw();
static int createHeapCallBack(fopAc_ac_c*);
const char* getResName();
const char* getBmdName();
int getTypeFromParam();
void initialize();
int setProcess(processFn);
int wait(void*);
int move(void*);
2024-06-10 01:34:52 -06:00
2025-05-08 04:30:05 -07:00
static dCcD_SrcGObjInf const mCcDObjInfo;
static dCcD_SrcSph mCcDSph;
2024-06-10 01:34:52 -06:00
};
STATIC_ASSERT(sizeof(daBullet_c) == 0x95c);
2025-05-08 04:30:05 -07:00
struct daBullet_HIOParam {
/* 0x00 */ f32 gravity;
/* 0x04 */ f32 weight;
/* 0x08 */ f32 height;
/* 0x0C */ f32 knee_height;
/* 0x10 */ f32 width;
/* 0x14 */ s16 lifetime;
};
2024-06-10 01:34:52 -06:00
class daBullet_Param_c {
public:
2025-11-30 14:23:42 -08:00
virtual ~daBullet_Param_c() {}
2024-06-10 01:34:52 -06:00
2025-05-08 04:30:05 -07:00
static daBullet_HIOParam const m;
2024-06-10 01:34:52 -06:00
};
2021-03-28 22:49:05 +02:00
#endif /* D_A_BULLET_H */