mirror of
https://github.com/zeldaret/tp
synced 2026-06-05 03:08:18 -04:00
a8a159ae2c
* Work on src/d/bg * misc work * J2dTextBoxEx OK * J2DTevs OK * Better return values for bool
31 lines
578 B
C++
31 lines
578 B
C++
#ifndef D_BG_D_BG_PLC_H
|
|
#define D_BG_D_BG_PLC_H
|
|
|
|
#include "dolphin/types.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 */
|