mirror of
https://github.com/TwilitRealm/dusklight
synced 2026-05-24 15:00:55 -04:00
7154ac08e1
* initial freezard actor struct + setActionMode OK * daE_FZ_Draw * setReflectAngle * mBoundSoundset * daE_FZ_Execute & execute * demoDelete * daE_FZ_Delete & _delete * CreateHeap * useHeapInit * cc_set * mtx_set * action WIP * way_gake_check * executeRollMove * executeMove * draw WIP * executeDamage * checkpoint * create * checkpoint * daE_FZ_c::executeWait * checkpoint * daE_FZ_c::damage_check almost done * rm asm * rm headers * setup_profile WIP + doxygen update * fix merge issues * docs fix? * fix2 * doxygen updates * setup g_profile_E_FZ, profile setup script WIP * update github actions * update progress.md
30 lines
551 B
C++
30 lines
551 B
C++
#ifndef D_BG_D_BG_PLC_H
|
|
#define D_BG_D_BG_PLC_H
|
|
|
|
#include "d/bg/d_bg_pc.h"
|
|
|
|
enum {
|
|
/* 0x14 */ ZELDA_CODE_SIZE = 0x14
|
|
};
|
|
|
|
struct PLC {
|
|
/* 0x0 */ u32 magic;
|
|
/* 0x4 */ u16 m_code_size;
|
|
/* 0x6 */ u16 m_num;
|
|
/* 0x8 */ sBgPc field_0x8[0];
|
|
};
|
|
|
|
class dBgPlc {
|
|
public:
|
|
/* 80074074 */ dBgPlc();
|
|
/* 80074080 */ ~dBgPlc();
|
|
/* 800740BC */ void setBase(void*);
|
|
/* 800740C4 */ sBgPc* getCode(int, sBgPc**) const;
|
|
/* 800740DC */ u32 getGrpCode(int) const;
|
|
|
|
private:
|
|
/* 0x00 */ PLC* m_base;
|
|
};
|
|
|
|
#endif /* D_BG_D_BG_PLC_H */
|