Twilight Princess
Decompilation of The Legend of Zelda: Twilight Princess
Loading...
Searching...
No Matches
JUTPalette.h
Go to the documentation of this file.
1#ifndef JUTPALETTE_H
2#define JUTPALETTE_H
3
5
7
17
23public:
25 this->storeTLUT(p1, p2, p3, p4, p5);
26 }
27
31
32 /* 802DE890 */ void storeTLUT(_GXTlut, ResTLUT*);
33 /* 802DE91C */ void storeTLUT(_GXTlut, _GXTlutFmt, JUTTransparency, u16, void*);
34 /* 802DE95C */ bool load();
35
36 u8 getTlutName() const { return mTlutName; }
37 u8 getFormat() const { return mFormat; }
38 u8 getTransparency() const { return mTransparency; }
39 u16 getNumColors() const { return mNumColors; }
40 ResTLUT* getColorTable() const { return mColorTable; }
41
42private:
43 /* 0x00 */ _GXTlutObj mTlutObj;
44 /* 0x0C */ u8 mTlutName;
45 /* 0x0D */ u8 mFormat;
46 /* 0x10 */ ResTLUT* mColorTable;
47 /* 0x14 */ u16 mNumColors;
48 /* 0x16 */ u8 mTransparency;
49};
50
51#endif /* JUTPALETTE_H */
enum _GXTlut GXTlut
_GXTlutFmt
Definition GXEnum.h:397
_GXTlut
Definition GXEnum.h:403
JUTTransparency
Definition JUTPalette.h:6
@ UNK1
Definition JUTPalette.h:6
@ UNK0
Definition JUTPalette.h:6
T cLib_calcTimer(T *value)
Definition c_lib.h:74
Definition JUTPalette.h:22
u8 mFormat
Definition JUTPalette.h:45
u8 getTransparency() const
Definition JUTPalette.h:38
u8 getTlutName() const
Definition JUTPalette.h:36
_GXTlutObj mTlutObj
Definition JUTPalette.h:43
u16 mNumColors
Definition JUTPalette.h:47
JUTPalette(GXTlut tlutNo, ResTLUT *p_tlutRes)
Definition JUTPalette.h:28
JUTPalette(_GXTlut p1, _GXTlutFmt p2, JUTTransparency p3, u16 p4, void *p5)
Definition JUTPalette.h:24
u16 getNumColors() const
Definition JUTPalette.h:39
ResTLUT * getColorTable() const
Definition JUTPalette.h:40
void storeTLUT(_GXTlut, ResTLUT *)
Definition JUTPalette.cpp:5
u8 mTransparency
Definition JUTPalette.h:48
u8 getFormat() const
Definition JUTPalette.h:37
u8 mTlutName
Definition JUTPalette.h:44
bool load()
Definition JUTPalette.cpp:27
ResTLUT * mColorTable
Definition JUTPalette.h:46
Definition JUTPalette.h:12
u8 transparency
Definition JUTPalette.h:14
u16 numColors
Definition JUTPalette.h:15
u8 format
Definition JUTPalette.h:13
Definition GXStruct.h:53
unsigned short u16
Definition types.h:9
unsigned char u8
Definition types.h:8