2021-03-28 22:49:05 +02:00
|
|
|
#ifndef D_BG_D_BG_S_MOVEBG_ACTOR_H
|
|
|
|
|
#define D_BG_D_BG_S_MOVEBG_ACTOR_H
|
|
|
|
|
|
2023-05-12 12:10:14 -07:00
|
|
|
#include "f_op/f_op_actor.h"
|
2021-03-28 22:49:05 +02:00
|
|
|
|
2021-11-10 10:56:51 -08:00
|
|
|
class dBgW;
|
|
|
|
|
typedef void (*MoveBGActor_SetFunc)(dBgW*, void*, cBgS_PolyInfo const&, bool, cXyz*, csXyz*,
|
|
|
|
|
csXyz*);
|
|
|
|
|
|
|
|
|
|
class dBgS_MoveBgActor : public fopAc_ac_c {
|
2023-02-03 20:24:26 -08:00
|
|
|
public:
|
2023-08-27 01:39:15 -07:00
|
|
|
/* 0x568 */ dBgW* mpBgW;
|
|
|
|
|
/* 0x56C */ Mtx mBgMtx;
|
2021-11-10 10:56:51 -08:00
|
|
|
|
|
|
|
|
/* 80078624 */ dBgS_MoveBgActor();
|
|
|
|
|
/* 800786C8 */ int MoveBGCreateHeap();
|
2023-08-27 01:39:15 -07:00
|
|
|
/* 800787BC */ int MoveBGCreate(char const* i_arcName, int i_dzb_id,
|
|
|
|
|
MoveBGActor_SetFunc i_setFunc, u32 i_heapSize, Mtx* i_bgMtx);
|
2023-02-03 20:24:26 -08:00
|
|
|
/* 800788DC */ int MoveBGDelete();
|
|
|
|
|
/* 80078950 */ int MoveBGExecute();
|
2021-11-10 10:56:51 -08:00
|
|
|
|
2023-04-21 07:18:49 -07:00
|
|
|
int MoveBGDraw() { return Draw(); }
|
2024-07-17 12:51:24 -07:00
|
|
|
int MoveBGIsDelete() { return IsDelete(); }
|
2023-04-21 07:18:49 -07:00
|
|
|
|
2023-02-03 20:24:26 -08:00
|
|
|
/* 80078688 */ virtual int CreateHeap();
|
|
|
|
|
/* 80078690 */ virtual int Create();
|
2023-07-26 06:45:38 +02:00
|
|
|
/* 80078698 */ virtual int Execute(Mtx**);
|
2023-02-03 20:24:26 -08:00
|
|
|
/* 800786A0 */ virtual int Draw();
|
|
|
|
|
/* 800786A8 */ virtual int Delete();
|
|
|
|
|
/* 800786B0 */ virtual int IsDelete();
|
|
|
|
|
/* 800786B8 */ virtual int ToFore();
|
|
|
|
|
/* 800786C0 */ virtual int ToBack();
|
2021-11-10 10:56:51 -08:00
|
|
|
|
|
|
|
|
static const char* m_name;
|
|
|
|
|
static int m_dzb_id;
|
|
|
|
|
static MoveBGActor_SetFunc m_set_func;
|
|
|
|
|
};
|
|
|
|
|
|
2024-12-09 18:50:37 +02:00
|
|
|
STATIC_ASSERT(sizeof(dBgS_MoveBgActor) == 0x5a0);
|
|
|
|
|
|
2021-03-28 22:49:05 +02:00
|
|
|
#endif /* D_BG_D_BG_S_MOVEBG_ACTOR_H */
|