Twilight Princess
Decompilation of The Legend of Zelda: Twilight Princess
Loading...
Searching...
No Matches
d_bg_plc.h
Go to the documentation of this file.
1#ifndef D_BG_D_BG_PLC_H
2#define D_BG_D_BG_PLC_H
3
4#include "d/d_bg_pc.h"
5
6enum {
7 /* 0x14 */ ZELDA_CODE_SIZE = 0x14
8};
9
10struct PLC {
11 /* 0x0 */ u32 magic;
12 /* 0x4 */ u16 m_code_size;
13 /* 0x6 */ u16 m_num;
14 /* 0x8 */ sBgPc field_0x8[0];
15};
16
17class dBgPlc {
18public:
19 /* 80074074 */ dBgPlc();
20 /* 80074080 */ ~dBgPlc();
21 /* 800740BC */ void setBase(void*);
22 /* 800740C4 */ sBgPc* getCode(int, sBgPc**) const;
23 /* 800740DC */ u32 getGrpCode(int) const;
24
25private:
26 /* 0x00 */ PLC* m_base;
27};
28
29#endif /* D_BG_D_BG_PLC_H */
Definition d_bg_plc.h:17
~dBgPlc()
Definition d_bg_plc.cpp:14
void setBase(void *)
Definition d_bg_plc.cpp:17
PLC * m_base
Definition d_bg_plc.h:26
sBgPc * getCode(int, sBgPc **) const
Definition d_bg_plc.cpp:22
dBgPlc()
Definition d_bg_plc.cpp:9
u32 getGrpCode(int) const
Definition d_bg_plc.cpp:33
@ ZELDA_CODE_SIZE
Definition d_bg_plc.h:7
Definition d_bg_plc.h:10
u16 m_num
Definition d_bg_plc.h:13
u32 magic
Definition d_bg_plc.h:11
sBgPc field_0x8[0]
Definition d_bg_plc.h:14
u16 m_code_size
Definition d_bg_plc.h:12
Definition d_bg_pc.h:6
unsigned long u32
Definition types.h:10
unsigned short u16
Definition types.h:9