Twilight Princess
Decompilation of The Legend of Zelda: Twilight Princess
Loading...
Searching...
No Matches
J2DWindowEx Class Reference

#include <J2DWindowEx.h>

+ Inheritance diagram for J2DWindowEx:
+ Collaboration diagram for J2DWindowEx:

Public Types

enum  stage_enum {
  STAGE_ENUM_0 , STAGE_ENUM_1 , STAGE_ENUM_2 , STAGE_ENUM_3 ,
  STAGE_ENUM_4
}
 

Public Member Functions

 J2DWindowEx (J2DPane *, JSURandomInputStream *, u32, J2DMaterial *)
 
void setMinSize ()
 
void draw_private (JGeometry::TBox2< f32 > const &, JGeometry::TBox2< f32 > const &)
 
void drawFrameTexture (f32, f32, f32, f32, u16, u16, u16, u16, J2DMaterial *, bool)
 
void setTevOrder (bool)
 
void setTevStage (bool)
 
void setStage (J2DTevStage *, J2DWindowEx::stage_enum)
 
bool getBlackWhite (JUtility::TColor *, JUtility::TColor *) const
 
bool isSetBlackWhite (JUtility::TColor, JUtility::TColor) const
 
bool isNeedSetAnm (u8)
 
virtual ~J2DWindowEx ()
 
virtual void setCullBack (bool)
 
virtual void setCullBack (_GXCullMode)
 
virtual void setAlpha (u8)
 
virtual void drawSelf (f32, f32, f32(*)[3][4])
 
virtual bool isUsed (ResTIMG const *)
 
virtual bool isUsed (ResFONT const *)
 
virtual void rewriteAlpha ()
 
virtual void setAnimation (J2DAnmBase *)
 
virtual void setAnimation (J2DAnmTransform *transform)
 
virtual void setAnimation (J2DAnmColor *)
 
virtual void setAnimation (J2DAnmTexPattern *)
 
virtual void setAnimation (J2DAnmTextureSRTKey *)
 
virtual void setAnimation (J2DAnmTevRegKey *)
 
virtual void setAnimation (J2DAnmVisibilityFull *)
 
virtual void setAnimation (J2DAnmVtxColor *)
 
virtual const J2DAnmTransformanimationPane (J2DAnmTransform const *)
 
virtual void draw (JGeometry::TBox2< f32 > const &)
 
virtual void draw (JGeometry::TBox2< f32 > const &, JGeometry::TBox2< f32 > const &)
 
virtual void draw (f32, f32, f32, f32)
 
virtual bool setBlack (JUtility::TColor)
 
virtual bool setWhite (JUtility::TColor)
 
virtual bool setBlackWhite (JUtility::TColor, JUtility::TColor)
 
virtual JUtility::TColor getBlack () const
 
virtual JUtility::TColor getWhite () const
 
virtual JUTTexturegetFrameTexture (u8, u8) const
 
virtual JUTTexturegetContentsTexture (u8) const
 
virtual void getMaterial (J2DWindow::TMaterial &) const
 
virtual J2DMaterialgetFrameMaterial (u8) const
 
virtual J2DMaterialgetContentsMaterial () const
 
virtual void drawContents (JGeometry::TBox2< f32 > const &)
 
- Public Member Functions inherited from J2DWindow
 J2DWindow (J2DPane *, JSURandomInputStream *, J2DMaterial *)
 
 J2DWindow (J2DPane *, JSURandomInputStream *, JKRArchive *)
 
 J2DWindow ()
 
void private_readStream (J2DPane *, JSURandomInputStream *, JKRArchive *)
 
void initinfo2 ()
 
void draw_private (JGeometry::TBox2< f32 > const &, JGeometry::TBox2< f32 > const &)
 
void setContentsColor (JUtility::TColor, JUtility::TColor, JUtility::TColor, JUtility::TColor)
 
void drawFrameTexture (JUTTexture *, f32, f32, f32, f32, u16, u16, u16, u16, bool)
 
void drawFrameTexture (JUTTexture *, f32, f32, bool, bool, bool)
 
void drawContentsTexture (f32, f32, f32, f32)
 
void setTevMode (JUTTexture *, JUtility::TColor, JUtility::TColor)
 
virtual ~J2DWindow ()
 
virtual u16 getTypeID () const
 
virtual void resize (f32, f32)
 
virtual void drawSelf (f32, f32)
 
virtual void drawSelf (f32, f32, Mtx *)
 
bool isField0x145Set (u8 flag)
 
void getContentsColor (TContentsColor &param_0) const
 
void setContentsColor (JUtility::TColor param_0)
 
- Public Member Functions inherited from J2DPane
 J2DPane ()
 
 J2DPane (J2DPane *, bool, u64, const JGeometry::TBox2< f32 > &)
 
 J2DPane (u64, const JGeometry::TBox2< f32 > &)
 
 J2DPane (J2DPane *other, JSURandomInputStream *stream, u8 arg3)
 
void initiate ()
 
void initialize (J2DPane *, bool, u64, const JGeometry::TBox2< f32 > &)
 
void initialize (u64 tag, const JGeometry::TBox2< f32 > &dim)
 
void makePaneStream (J2DPane *other, JSURandomInputStream *stream)
 
void changeUseTrans (J2DPane *other)
 
bool appendChild (J2DPane *child)
 
bool insertChild (J2DPane *before, J2DPane *child)
 
void draw (f32 a1, f32 a2, const J2DGrafContext *ctx, bool a4, bool a5)
 
void place (const JGeometry::TBox2< f32 > &dim)
 
JGeometry::TBox2< f32 > & getBounds ()
 
void rotate (f32 offsetX, f32 offsetY, J2DRotateAxis axis, f32 angle)
 
void rotate (f32 angle)
 
void clip (const JGeometry::TBox2< f32 > &bounds)
 
void setBasePosition (J2DBasePosition position)
 
void setInfluencedAlpha (bool arg1, bool arg2)
 
Vec getGlbVtx (u8 arg1) const
 
J2DPanegetFirstChildPane ()
 
J2DPanegetNextChildPane ()
 
J2DPanegetParentPane ()
 
void makePaneExStream (J2DPane *other, JSURandomInputStream *stream)
 
voidgetPointer (JSURandomInputStream *stream, u32 size, JKRArchive *archive)
 
void animationTransform ()
 
void updateTransform (const J2DAnmTransform *transform)
 
virtual ~J2DPane ()
 
virtual void move (f32 x, f32 y)
 
virtual void add (f32 x, f32 y)
 
virtual bool setConnectParent (bool connected)
 
virtual void calcMtx ()
 
virtual void update ()
 
virtual J2DPanesearch (u64 tag)
 
virtual J2DPanesearchUserInfo (u64 tag)
 
virtual void makeMatrix (f32 a, f32 b)
 
virtual void makeMatrix (f32 a, f32 b, f32 c, f32 d)
 
virtual void clearAnmTransform ()
 
virtual const J2DAnmTransformanimationTransform (const J2DAnmTransform *transform)
 
virtual void setVisibileAnimation (J2DAnmVisibilityFull *visibility)
 
virtual void setAnimationVF (J2DAnmVisibilityFull *visibility)
 
virtual void setVtxColorAnimation (J2DAnmVtxColor *vtx_color)
 
virtual void setAnimationVC (J2DAnmVtxColor *vtx_color)
 
f32 getHeight () const
 
f32 getWidth () const
 
JSUTree< J2DPane > * getFirstChild ()
 
JSUTree< J2DPane > * getEndChild ()
 
const JSUTree< J2DPane > * getPaneTree ()
 
u8 getAlpha () const
 
f32 getScaleX () const
 
f32 getScaleY () const
 
f32 getTranslateX () const
 
f32 getTranslateY () const
 
f32 getRotateZ () const
 
f32 getRotOffsetX () const
 
f32 getRotOffsetY () const
 
MtxP getGlbMtx ()
 
JGeometry::TBox2< f32 > & getGlbBounds ()
 
void setMtx (Mtx m)
 
void translate (f32 transX, f32 transY)
 
void scale (f32 scaleH, f32 scaleV)
 
int getKind () const
 
bool isVisible () const
 
void show ()
 
void hide ()
 
bool isConnectParent () const
 
void setUserInfo (u64 info)
 
const MtxgetMtx () const
 

Private Attributes

J2DMaterialmFrameMaterial [4]
 
u16 field_0x158 [4]
 
J2DMaterialmContentsMaterial
 
u16 field_0x164
 
u16 field_0x166
 
u16 field_0x168 [4]
 
u8 field_0x170
 
J2DAnmVisibilityFullmAnmVisibilityFull
 
J2DAnmVtxColormAnmVtxColor
 
u8 field_0x17c
 

Additional Inherited Members

- Static Public Member Functions inherited from J2DPane
static s16 J2DCast_F32_to_S16 (f32 value, u8 arg2)
 
- Public Attributes inherited from J2DPane
u16 field_0x4
 
int mKind
 
u64 mInfoTag
 
u64 mUserInfoTag
 
JGeometry::TBox2< f32mBounds
 
JGeometry::TBox2< f32mGlobalBounds
 
JGeometry::TBox2< f32mClipRect
 
Mtx mPositionMtx
 
Mtx mGlobalMtx
 
bool mVisible
 
u8 mCullMode
 
u8 mAlpha
 
u8 mColorAlpha
 
bool mIsInfluencedAlpha
 
bool mConnected
 
char mRotAxis
 
u8 mBasePosition
 
f32 mRotateX
 
f32 mRotateY
 
f32 mRotateZ
 
f32 mRotateOffsetX
 
f32 mRotateOffsetY
 
f32 mScaleX
 
f32 mScaleY
 
f32 mTranslateX
 
f32 mTranslateY
 
JSUTree< J2DPanemPaneTree
 
const J2DAnmTransformmTransform
 
u32 _fc
 
- Static Public Attributes inherited from J2DPane
static JGeometry::TBox2< f32static_mBounds
 
- Protected Attributes inherited from J2DWindow
JUTTexturefield_0x100
 
JUTTexturefield_0x104
 
JUTTexturefield_0x108
 
JUTTexturefield_0x10c
 
JUTTexturefield_0x110
 
JGeometry::TBox2< f32field_0x114
 
JUTPalettemPalette
 
JUtility::TColor field_0x128
 
JUtility::TColor field_0x12C
 
JUtility::TColor field_0x130
 
JUtility::TColor field_0x134
 
JUtility::TColor mWhite
 
JUtility::TColor mBlack
 
s16 field_0x140
 
s16 field_0x142
 
u8 field_0x144
 
u8 field_0x145
 

Member Enumeration Documentation

◆ stage_enum

Enumerator
STAGE_ENUM_0 
STAGE_ENUM_1 
STAGE_ENUM_2 
STAGE_ENUM_3 
STAGE_ENUM_4 

Constructor & Destructor Documentation

◆ J2DWindowEx()

J2DWindowEx::J2DWindowEx ( J2DPane param_0,
JSURandomInputStream param_1,
u32  param_2,
J2DMaterial param_3 
)

◆ ~J2DWindowEx()

J2DWindowEx::~J2DWindowEx ( )
virtual

Member Function Documentation

◆ animationPane()

const J2DAnmTransform * J2DWindowEx::animationPane ( J2DAnmTransform const param_0)
virtual

Reimplemented from J2DPane.

◆ draw() [1/3]

void J2DWindowEx::draw ( f32  param_0,
f32  param_1,
f32  param_2,
f32  param_3 
)
virtual

Reimplemented from J2DWindow.

◆ draw() [2/3]

void J2DWindowEx::draw ( JGeometry::TBox2< f32 > const param_1)
virtual

Reimplemented from J2DWindow.

◆ draw() [3/3]

void J2DWindowEx::draw ( JGeometry::TBox2< f32 > const param_1,
JGeometry::TBox2< f32 > const param_2 
)
virtual

Reimplemented from J2DWindow.

◆ draw_private()

void J2DWindowEx::draw_private ( JGeometry::TBox2< f32 > const param_0,
JGeometry::TBox2< f32 > const param_1 
)

◆ drawContents()

void J2DWindowEx::drawContents ( JGeometry::TBox2< f32 > const param_1)
virtual

Reimplemented from J2DWindow.

◆ drawFrameTexture()

void J2DWindowEx::drawFrameTexture ( f32  param_1,
f32  param_2,
f32  param_3,
f32  param_4,
u16  param_5,
u16  param_6,
u16  param_7,
u16  param_8,
J2DMaterial param_9,
bool  param_10 
)

◆ drawSelf()

void J2DWindowEx::drawSelf ( f32  param_0,
f32  param_1,
f32(*)  param_2[3][4] 
)
virtual

◆ getBlack()

JUtility::TColor J2DWindowEx::getBlack ( ) const
virtual

Reimplemented from J2DWindow.

◆ getBlackWhite()

bool J2DWindowEx::getBlackWhite ( JUtility::TColor param_0,
JUtility::TColor param_1 
) const

◆ getContentsMaterial()

J2DMaterial * J2DWindowEx::getContentsMaterial ( ) const
virtual

Reimplemented from J2DWindow.

◆ getContentsTexture()

JUTTexture * J2DWindowEx::getContentsTexture ( u8  param_0) const
virtual

Reimplemented from J2DWindow.

◆ getFrameMaterial()

J2DMaterial * J2DWindowEx::getFrameMaterial ( u8  index) const
virtual

Reimplemented from J2DWindow.

◆ getFrameTexture()

JUTTexture * J2DWindowEx::getFrameTexture ( u8  param_0,
u8  param_1 
) const
virtual

Reimplemented from J2DWindow.

◆ getMaterial()

void J2DWindowEx::getMaterial ( J2DWindow::TMaterial param_0) const
virtual

Reimplemented from J2DWindow.

◆ getWhite()

JUtility::TColor J2DWindowEx::getWhite ( ) const
virtual

Reimplemented from J2DWindow.

◆ isNeedSetAnm()

bool J2DWindowEx::isNeedSetAnm ( u8  param_0)

◆ isSetBlackWhite()

bool J2DWindowEx::isSetBlackWhite ( JUtility::TColor  param_0,
JUtility::TColor  param_1 
) const

◆ isUsed() [1/2]

bool J2DWindowEx::isUsed ( ResFONT const param_0)
virtual

Reimplemented from J2DWindow.

◆ isUsed() [2/2]

bool J2DWindowEx::isUsed ( ResTIMG const timg)
virtual

Reimplemented from J2DWindow.

◆ rewriteAlpha()

void J2DWindowEx::rewriteAlpha ( )
virtual

Reimplemented from J2DWindow.

◆ setAlpha()

void J2DWindowEx::setAlpha ( u8  param_0)
virtual

Reimplemented from J2DPane.

◆ setAnimation() [1/8]

void J2DWindowEx::setAnimation ( J2DAnmBase param_0)
virtual

Reimplemented from J2DPane.

◆ setAnimation() [2/8]

void J2DWindowEx::setAnimation ( J2DAnmColor anmColor)
virtual

Reimplemented from J2DPane.

◆ setAnimation() [3/8]

void J2DWindowEx::setAnimation ( J2DAnmTevRegKey param_0)
virtual

Reimplemented from J2DPane.

◆ setAnimation() [4/8]

void J2DWindowEx::setAnimation ( J2DAnmTexPattern param_0)
virtual

Reimplemented from J2DPane.

◆ setAnimation() [5/8]

void J2DWindowEx::setAnimation ( J2DAnmTextureSRTKey param_0)
virtual

Reimplemented from J2DPane.

◆ setAnimation() [6/8]

virtual void J2DWindowEx::setAnimation ( J2DAnmTransform transform)
inlinevirtual

Reimplemented from J2DPane.

◆ setAnimation() [7/8]

void J2DWindowEx::setAnimation ( J2DAnmVisibilityFull param_0)
virtual

Reimplemented from J2DPane.

◆ setAnimation() [8/8]

void J2DWindowEx::setAnimation ( J2DAnmVtxColor param_0)
virtual

Reimplemented from J2DPane.

◆ setBlack()

bool J2DWindowEx::setBlack ( JUtility::TColor  black)
virtual

Reimplemented from J2DWindow.

◆ setBlackWhite()

bool J2DWindowEx::setBlackWhite ( JUtility::TColor  black,
JUtility::TColor  white 
)
virtual

Reimplemented from J2DWindow.

◆ setCullBack() [1/2]

void J2DWindowEx::setCullBack ( _GXCullMode  param_0)
virtual

Reimplemented from J2DPane.

◆ setCullBack() [2/2]

void J2DWindowEx::setCullBack ( bool  param_0)
virtual

Reimplemented from J2DPane.

◆ setMinSize()

void J2DWindowEx::setMinSize ( )

◆ setStage()

void J2DWindowEx::setStage ( J2DTevStage param_0,
J2DWindowEx::stage_enum  param_1 
)

◆ setTevOrder()

void J2DWindowEx::setTevOrder ( bool  param_0)

◆ setTevStage()

void J2DWindowEx::setTevStage ( bool  param_1)

◆ setWhite()

bool J2DWindowEx::setWhite ( JUtility::TColor  white)
virtual

Reimplemented from J2DWindow.

Member Data Documentation

◆ field_0x158

u16 J2DWindowEx::field_0x158[4]
private

◆ field_0x164

u16 J2DWindowEx::field_0x164
private

◆ field_0x166

u16 J2DWindowEx::field_0x166
private

◆ field_0x168

u16 J2DWindowEx::field_0x168[4]
private

◆ field_0x170

u8 J2DWindowEx::field_0x170
private

◆ field_0x17c

u8 J2DWindowEx::field_0x17c
private

◆ mAnmVisibilityFull

J2DAnmVisibilityFull* J2DWindowEx::mAnmVisibilityFull
private

◆ mAnmVtxColor

J2DAnmVtxColor* J2DWindowEx::mAnmVtxColor
private

◆ mContentsMaterial

J2DMaterial* J2DWindowEx::mContentsMaterial
private

◆ mFrameMaterial

J2DMaterial* J2DWindowEx::mFrameMaterial[4]
private

The documentation for this class was generated from the following files: