mirror of https://github.com/zeldaret/tp.git
31 lines
575 B
C++
31 lines
575 B
C++
#ifndef D_BG_D_BG_PLC_H
|
|
#define D_BG_D_BG_PLC_H
|
|
|
|
#include "d/bg/d_bg_pc.h"
|
|
#include "dolphin/types.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;
|
|
};
|
|
|
|
class dBgPlc {
|
|
public:
|
|
/* 80074074 */ dBgPlc();
|
|
/* 80074080 */ ~dBgPlc();
|
|
/* 800740BC */ void setBase(void*);
|
|
/* 800740C4 */ void getCode(int, sBgPc**) const;
|
|
/* 800740DC */ u32 getGrpCode(int) const;
|
|
|
|
private:
|
|
/* 0x00 */ void* m_base;
|
|
};
|
|
|
|
#endif /* D_BG_D_BG_PLC_H */
|