Twilight Princess
Decompilation of The Legend of Zelda: Twilight Princess
Loading...
Searching...
No Matches
J2DPictureEx.h
Go to the documentation of this file.
1#ifndef J2DPICTUREEX_H
2#define J2DPICTUREEX_H
3
6
7class J2DMaterial;
8
13class J2DPictureEx : public J2DPicture {
14public:
15 enum stage_enum {};
16
18 /* 803040E4 */ void insertCommon(u8, f32);
19 /* 8030437C */ bool isInsert(u8) const;
20 /* 80304728 */ bool isRemove(u8) const;
21 /* 803052AC */ void setTevOrder(u8, u8, bool);
22 /* 803053E0 */ void setTevStage(u8, u8, bool);
23 /* 80305688 */ void setStage(J2DTevStage*, J2DPictureEx::stage_enum);
24 /* 80305928 */ void setTevKColor(u8);
25 /* 80305C70 */ void setTevKColorSel(u8);
26 /* 80305D18 */ void setTevKAlphaSel(u8);
27 /* 80305DC0 */ void shiftSetBlendRatio(u8, f32, bool, bool);
28 /* 80306664 */ bool getBlackWhite(JUtility::TColor*, JUtility::TColor*) const;
29 /* 80306824 */ bool isSetBlackWhite(JUtility::TColor, JUtility::TColor) const;
30
31 /* 8030393C */ virtual ~J2DPictureEx();
32 /* 80307168 */ virtual void setCullBack(bool);
33 /* 803069D8 */ virtual void setCullBack(_GXCullMode);
34 /* 803069B8 */ virtual void setAlpha(u8);
35 /* 80303AB4 */ virtual void drawSelf(f32, f32, f32 (*)[3][4]);
36 /* 80306A24 */ virtual void isUsed(ResTIMG const*);
37 /* 803071A4 */ virtual void isUsed(ResFONT const*);
38 /* 80306A0C */ virtual void rewriteAlpha();
39 /* 803071C4 */ virtual void setAnimation(J2DAnmBase*);
41 /* 80306AC4 */ virtual void setAnimation(J2DAnmColor*);
42 /* 80306B1C */ virtual void setAnimation(J2DAnmTexPattern*);
43 /* 80306AF0 */ virtual void setAnimation(J2DAnmTextureSRTKey*);
44 /* 80306B48 */ virtual void setAnimation(J2DAnmTevRegKey*);
45 /* 80306B74 */ virtual void setAnimation(J2DAnmVisibilityFull*);
46 /* 80306B7C */ virtual void setAnimation(J2DAnmVtxColor*);
47 /* 80306C70 */ virtual void animationPane(J2DAnmTransform const*);
48 /* 80303640 */ virtual void initiate(ResTIMG const*, ResTLUT const*);
49 /* 803039CC */ virtual bool prepareTexture(u8);
50 /* 80306ED4 */ virtual bool append(ResTIMG const*, f32);
51 /* 80303E5C */ virtual bool append(ResTIMG const*, JUTPalette*, f32);
52 /* 80306F04 */ virtual bool append(char const*, f32);
53 /* 80303EA4 */ virtual bool append(char const*, JUTPalette*, f32);
54 /* 80303EEC */ virtual bool append(JUTTexture*, f32);
55 /* 80306FF4 */ virtual void prepend(ResTIMG const*, f32);
56 /* 80306FC4 */ virtual void prepend(ResTIMG const*, JUTPalette*, f32);
57 /* 80306F94 */ virtual void prepend(char const*, f32);
58 /* 80306F64 */ virtual void prepend(char const*, JUTPalette*, f32);
59 /* 80306F34 */ virtual void prepend(JUTTexture*, f32);
60 /* 80307058 */ virtual void insert(ResTIMG const*, u8, f32);
61 /* 80303F34 */ virtual bool insert(ResTIMG const*, JUTPalette*, u8, f32);
62 /* 80307024 */ virtual bool insert(char const*, u8, f32);
63 /* 80303FD8 */ virtual bool insert(char const*, JUTPalette*, u8, f32);
64 /* 80304048 */ virtual bool insert(JUTTexture*, u8, f32);
65 /* 8030446C */ virtual bool remove(u8);
66 /* 80304608 */ virtual bool remove();
67 /* 8030466C */ virtual bool remove(JUTTexture*);
68 /* 8030708C */ virtual void draw(f32, f32, bool, bool, bool);
69 /* 8030477C */ virtual void draw(f32, f32, u8, bool, bool, bool);
70 /* 80304890 */ virtual void draw(f32, f32, f32, f32, bool, bool, bool);
71 /* 80304D88 */ virtual void drawOut(f32, f32, f32, f32, f32, f32);
72 /* 803070D0 */ virtual void drawOut(f32, f32, f32, f32, f32, f32, f32, f32);
73 /* 80304EF0 */ virtual void drawOut(JGeometry::TBox2<f32> const&, JGeometry::TBox2<f32> const&);
74 /* 80305264 */ virtual void load(_GXTexMapID, u8);
75 /* 80307134 */ virtual void load(u8);
76 /* 80305ED4 */ virtual void setBlendColorRatio(f32, f32);
77 /* 80305F34 */ virtual void setBlendAlphaRatio(f32, f32);
78 /* 80305F94 */ virtual const ResTIMG* changeTexture(ResTIMG const*, u8);
79 /* 803060DC */ virtual const ResTIMG* changeTexture(char const*, u8);
80 /* 80306134 */ virtual const ResTIMG* changeTexture(ResTIMG const*, u8, JUTPalette*);
81 /* 80306298 */ virtual const ResTIMG* changeTexture(char const*, u8, JUTPalette*);
82 /* 803062F8 */ virtual JUTTexture* getTexture(u8) const;
83 /* 80306350 */ virtual u8 getTextureCount() const;
84 /* 80306370 */ virtual bool setBlack(JUtility::TColor);
85 /* 803063F8 */ virtual bool setWhite(JUtility::TColor);
86 /* 80306480 */ virtual bool setBlackWhite(JUtility::TColor, JUtility::TColor);
87 /* 803068F8 */ virtual void getBlack() const;
88 /* 80306958 */ virtual void getWhite() const;
89 /* 80256034 */ virtual J2DMaterial* getMaterial() const { return mMaterial; }
90 /* 80303B80 */ virtual void drawFullSet(f32, f32, f32, f32, f32 (*)[3][4]);
91 /* 80303BDC */ virtual void drawTexCoord(f32, f32, f32, f32, s16, s16, s16, s16, s16, s16, s16,
92 s16, f32 (*)[3][4]);
93 /* 80306DC8 */ virtual u8 getUsableTlut(u8);
94
95private:
96 /* 0x150 */ J2DMaterial* mMaterial;
97 /* 0x154 */ u16 field_0x154;
98 /* 0x156 */ u16 field_0x156;
99 /* 0x158 */ u16 field_0x158[4];
100 /* 0x160 */ f32 field_0x160[6]; // related to blend color ratio
101 /* 0x178 */ f32 field_0x178[6]; // related to blend alpha ratio
102 /* 0x190 */ u8 field_0x190;
103 /* 0x194 */ int field_0x194;
104 /* 0x198 */ int field_0x198;
105};
106
107#endif /* J2DPICTUREEX_H */
_GXCullMode
Definition GXEnum.h:16
_GXTexMapID
Definition GXEnum.h:30
T cLib_calcTimer(T *value)
Definition c_lib.h:74
Definition J2DAnimation.h:27
Definition J2DAnimation.h:381
Definition J2DAnimation.h:311
Definition J2DAnimation.h:269
Definition J2DAnimation.h:203
Definition J2DAnimation.h:146
Definition J2DAnimation.h:124
Definition J2DAnimation.h:53
Definition J2DMaterial.h:11
Definition J2DPane.h:51
virtual void setAnimation(J2DAnmBase *anm)
Definition J2DPane.cpp:800
void initiate()
Definition J2DPane.cpp:22
Definition J2DPictureEx.h:13
u8 field_0x190
Definition J2DPictureEx.h:102
virtual void setBlendColorRatio(f32, f32)
Definition J2DPictureEx.cpp:440
bool getBlackWhite(JUtility::TColor *, JUtility::TColor *) const
Definition J2DPictureEx.cpp:623
virtual u8 getUsableTlut(u8)
Definition J2DPictureEx.cpp:707
virtual bool setWhite(JUtility::TColor)
Definition J2DPictureEx.cpp:563
virtual void setBlendAlphaRatio(f32, f32)
Definition J2DPictureEx.cpp:457
stage_enum
Definition J2DPictureEx.h:15
f32 field_0x160[6]
Definition J2DPictureEx.h:100
bool isRemove(u8) const
Definition J2DPictureEx.cpp:297
virtual bool setBlackWhite(JUtility::TColor, JUtility::TColor)
Definition J2DPictureEx.cpp:574
virtual void getWhite() const
Definition J2DPictureEx.cpp:639
virtual void load(_GXTexMapID, u8)
Definition J2DPictureEx.cpp:339
bool isInsert(u8) const
Definition J2DPictureEx.cpp:234
virtual void setCullBack(bool)
Definition J2DPictureEx.cpp:776
virtual void rewriteAlpha()
Definition J2DPictureEx.cpp:654
virtual void animationPane(J2DAnmTransform const *)
Definition J2DPictureEx.cpp:702
virtual void getBlack() const
Definition J2DPictureEx.cpp:634
virtual void setAnimation(J2DAnmTransform *transform)
Definition J2DPictureEx.h:40
virtual void drawTexCoord(f32, f32, f32, f32, s16, s16, s16, s16, s16, s16, s16, s16, f32(*)[3][4])
Definition J2DPictureEx.cpp:114
virtual void drawSelf(f32, f32, f32(*)[3][4])
Definition J2DPictureEx.cpp:93
virtual void drawOut(f32, f32, f32, f32, f32, f32)
Definition J2DPictureEx.cpp:326
virtual void setAnimation(J2DAnmBase *)
Definition J2DPictureEx.cpp:788
virtual bool prepareTexture(u8)
Definition J2DPictureEx.cpp:79
virtual bool setBlack(JUtility::TColor)
Definition J2DPictureEx.cpp:552
void setTevKAlphaSel(u8)
Definition J2DPictureEx.cpp:396
virtual J2DMaterial * getMaterial() const
Definition J2DPictureEx.h:89
void setTevKColor(u8)
Definition J2DPictureEx.cpp:378
int field_0x198
Definition J2DPictureEx.h:104
void setTevStage(u8, u8, bool)
Definition J2DPictureEx.cpp:359
u16 field_0x156
Definition J2DPictureEx.h:98
int field_0x194
Definition J2DPictureEx.h:103
void insertCommon(u8, f32)
Definition J2DPictureEx.cpp:229
virtual bool remove()
Definition J2DPictureEx.cpp:264
virtual u8 getTextureCount() const
Definition J2DPictureEx.cpp:542
void setTevKColorSel(u8)
Definition J2DPictureEx.cpp:384
u16 field_0x158[4]
Definition J2DPictureEx.h:99
virtual void prepend(ResTIMG const *, f32)
Definition J2DPictureEx.cpp:745
J2DMaterial * mMaterial
Definition J2DPictureEx.h:96
virtual bool append(ResTIMG const *, f32)
Definition J2DPictureEx.cpp:713
virtual JUTTexture * getTexture(u8) const
Definition J2DPictureEx.cpp:528
virtual const ResTIMG * changeTexture(ResTIMG const *, u8)
Definition J2DPictureEx.cpp:475
void setStage(J2DTevStage *, J2DPictureEx::stage_enum)
Definition J2DPictureEx.cpp:373
virtual void draw(f32, f32, bool, bool, bool)
Definition J2DPictureEx.cpp:760
virtual void setAlpha(u8)
Definition J2DPictureEx.cpp:644
virtual void drawFullSet(f32, f32, f32, f32, f32(*)[3][4])
Definition J2DPictureEx.cpp:105
void setTevOrder(u8, u8, bool)
Definition J2DPictureEx.cpp:353
bool isSetBlackWhite(JUtility::TColor, JUtility::TColor) const
Definition J2DPictureEx.cpp:629
virtual void insert(ResTIMG const *, u8, f32)
Definition J2DPictureEx.cpp:755
void shiftSetBlendRatio(u8, f32, bool, bool)
Definition J2DPictureEx.cpp:407
u16 field_0x154
Definition J2DPictureEx.h:97
virtual ~J2DPictureEx()
Definition J2DPictureEx.cpp:71
virtual void isUsed(ResTIMG const *)
Definition J2DPictureEx.cpp:660
f32 field_0x178[6]
Definition J2DPictureEx.h:101
Definition J2DPicture.h:55
Definition J2DTevs.h:385
Definition JSURandomInputStream.h:10
Definition JUTPalette.h:22
Definition JUTTexture.h:46
Definition JGeometry.h:496
Definition TColor.h:12
Definition JUTFont.h:11
Image data header.
Definition d_menu_dmap_map.cpp:109
Definition JUTPalette.h:12
unsigned long u32
Definition types.h:10
float f32
Definition types.h:22
signed short s16
Definition types.h:5
unsigned short u16
Definition types.h:9
unsigned char u8
Definition types.h:8