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

#include <J2DScreen.h>

+ Inheritance diagram for J2DScreen:
+ Collaboration diagram for J2DScreen:

Public Member Functions

virtual ~J2DScreen ()
 
virtual u16 getTypeID () const
 
virtual void calcMtx ()
 
virtual void drawSelf (f32, f32, Mtx *)
 
virtual J2DPanesearch (u64)
 
virtual J2DPanesearchUserInfo (u64)
 
virtual bool isUsed (ResTIMG const *)
 
virtual bool isUsed (ResFONT const *)
 
virtual void clearAnmTransform ()
 
virtual void setAnimation (J2DAnmColor *)
 
virtual void setAnimation (J2DAnmTransform *i_bck)
 
virtual void setAnimation (J2DAnmTextureSRTKey *)
 
virtual void setAnimation (J2DAnmVtxColor *)
 
virtual void setAnimation (J2DAnmTexPattern *)
 
virtual void setAnimation (J2DAnmVisibilityFull *)
 
virtual void setAnimation (J2DAnmTevRegKey *)
 
virtual void setAnimation (J2DAnmBase *)
 
virtual void setAnimationVF (J2DAnmVisibilityFull *)
 
virtual void setAnimationVC (J2DAnmVtxColor *)
 
virtual J2DPanecreatePane (J2DScrnBlockHeader const &, JSURandomInputStream *, J2DPane *, u32)
 
virtual J2DPanecreatePane (J2DScrnBlockHeader const &, JSURandomInputStream *, J2DPane *, u32, JKRArchive *)
 
 J2DScreen ()
 
void clean ()
 
bool setPriority (char const *, u32, JKRArchive *)
 
bool setPriority (JSURandomInputStream *, u32, JKRArchive *)
 
bool private_set (JSURandomInputStream *, u32, JKRArchive *)
 
bool checkSignature (JSURandomInputStream *)
 
bool getScreenInformation (JSURandomInputStream *)
 
s32 makeHierarchyPanes (J2DPane *, JSURandomInputStream *, u32, JKRArchive *)
 
void draw (f32, f32, J2DGrafContext const *)
 
J2DResReferencegetResReference (JSURandomInputStream *, u32)
 
bool createMaterial (JSURandomInputStream *, u32, JKRArchive *)
 
void animation ()
 
void setScissor (bool i_scissor)
 
- 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 void resize (f32 x, f32 y)
 
virtual void setCullBack (bool cull)
 
virtual void setCullBack (_GXCullMode cmode)
 
virtual void setAlpha (u8)
 
virtual bool setConnectParent (bool connected)
 
virtual void update ()
 
virtual void drawSelf (f32 arg1, f32 arg2)
 
virtual void makeMatrix (f32 a, f32 b)
 
virtual void makeMatrix (f32 a, f32 b, f32 c, f32 d)
 
virtual void rewriteAlpha ()
 
virtual const J2DAnmTransformanimationTransform (const J2DAnmTransform *transform)
 
virtual void setVisibileAnimation (J2DAnmVisibilityFull *visibility)
 
virtual void setVtxColorAnimation (J2DAnmVtxColor *vtx_color)
 
virtual const J2DAnmTransformanimationPane (const J2DAnmTransform *transform)
 
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
 

Static Public Member Functions

static voidgetNameResource (char const *)
 
static J2DDataManagegetDataManage ()
 
- Static Public Member Functions inherited from J2DPane
static s16 J2DCast_F32_to_S16 (f32 value, u8 arg2)
 

Public Attributes

bool mScissor
 
u16 mMaterialNum
 
J2DMaterialmMaterials
 
J2DResReferencemTexRes
 
J2DResReferencemFontRes
 
JUTNameTabmNameTable
 
JUtility::TColor mColor
 
- 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

static J2DDataManagemDataManage
 
- Static Public Attributes inherited from J2DPane
static JGeometry::TBox2< f32static_mBounds
 

Constructor & Destructor Documentation

◆ ~J2DScreen()

J2DScreen::~J2DScreen ( )
virtual

◆ J2DScreen()

J2DScreen::J2DScreen ( )

Member Function Documentation

◆ animation()

void J2DScreen::animation ( )

◆ calcMtx()

void J2DScreen::calcMtx ( )
virtual

Reimplemented from J2DPane.

◆ checkSignature()

bool J2DScreen::checkSignature ( JSURandomInputStream p_stream)

◆ clean()

void J2DScreen::clean ( )

◆ clearAnmTransform()

virtual void J2DScreen::clearAnmTransform ( )
inlinevirtual

Reimplemented from J2DPane.

◆ createMaterial()

bool J2DScreen::createMaterial ( JSURandomInputStream p_stream,
u32  param_1,
JKRArchive p_archive 
)

◆ createPane() [1/2]

J2DPane * J2DScreen::createPane ( J2DScrnBlockHeader const header,
JSURandomInputStream p_stream,
J2DPane p_basePane,
u32  param_3 
)
virtual

◆ createPane() [2/2]

J2DPane * J2DScreen::createPane ( J2DScrnBlockHeader const header,
JSURandomInputStream p_stream,
J2DPane p_basePane,
u32  param_3,
JKRArchive p_archive 
)
virtual

◆ draw()

void J2DScreen::draw ( f32  x,
f32  y,
J2DGrafContext const grafCtx 
)

◆ drawSelf()

void J2DScreen::drawSelf ( f32  param_0,
f32  param_1,
Mtx param_2 
)
virtual

Reimplemented from J2DPane.

◆ getDataManage()

static J2DDataManage * J2DScreen::getDataManage ( )
inlinestatic

◆ getNameResource()

void * J2DScreen::getNameResource ( char const resName)
static

◆ getResReference()

J2DResReference * J2DScreen::getResReference ( JSURandomInputStream p_stream,
u32  param_1 
)

◆ getScreenInformation()

bool J2DScreen::getScreenInformation ( JSURandomInputStream p_stream)

◆ getTypeID()

u16 J2DScreen::getTypeID ( ) const
virtual

Reimplemented from J2DPane.

◆ isUsed() [1/2]

bool J2DScreen::isUsed ( ResFONT const p_font)
virtual

Reimplemented from J2DPane.

◆ isUsed() [2/2]

bool J2DScreen::isUsed ( ResTIMG const p_timg)
virtual

Reimplemented from J2DPane.

◆ makeHierarchyPanes()

s32 J2DScreen::makeHierarchyPanes ( J2DPane p_basePane,
JSURandomInputStream p_stream,
u32  param_2,
JKRArchive p_archive 
)

◆ private_set()

bool J2DScreen::private_set ( JSURandomInputStream p_stream,
u32  param_1,
JKRArchive p_archive 
)

◆ search()

J2DPane * J2DScreen::search ( u64  tag)
virtual

Reimplemented from J2DPane.

◆ searchUserInfo()

J2DPane * J2DScreen::searchUserInfo ( u64  tag)
virtual

Reimplemented from J2DPane.

◆ setAnimation() [1/8]

void J2DScreen::setAnimation ( J2DAnmBase p_anm)
virtual

Reimplemented from J2DPane.

◆ setAnimation() [2/8]

void J2DScreen::setAnimation ( J2DAnmColor p_anmColor)
virtual

Reimplemented from J2DPane.

◆ setAnimation() [3/8]

void J2DScreen::setAnimation ( J2DAnmTevRegKey p_anmRegKey)
virtual

Reimplemented from J2DPane.

◆ setAnimation() [4/8]

void J2DScreen::setAnimation ( J2DAnmTexPattern p_anmPattern)
virtual

Reimplemented from J2DPane.

◆ setAnimation() [5/8]

void J2DScreen::setAnimation ( J2DAnmTextureSRTKey p_anmSRTKey)
virtual

Reimplemented from J2DPane.

◆ setAnimation() [6/8]

virtual void J2DScreen::setAnimation ( J2DAnmTransform i_bck)
inlinevirtual

Reimplemented from J2DPane.

◆ setAnimation() [7/8]

void J2DScreen::setAnimation ( J2DAnmVisibilityFull p_anmVisibility)
virtual

Reimplemented from J2DPane.

◆ setAnimation() [8/8]

void J2DScreen::setAnimation ( J2DAnmVtxColor p_anmVtxColor)
virtual

Reimplemented from J2DPane.

◆ setAnimationVC()

void J2DScreen::setAnimationVC ( J2DAnmVtxColor )
virtual

Reimplemented from J2DPane.

◆ setAnimationVF()

void J2DScreen::setAnimationVF ( J2DAnmVisibilityFull )
virtual

Reimplemented from J2DPane.

◆ setPriority() [1/2]

bool J2DScreen::setPriority ( char const resName,
u32  param_1,
JKRArchive p_archive 
)

◆ setPriority() [2/2]

bool J2DScreen::setPriority ( JSURandomInputStream p_stream,
u32  param_1,
JKRArchive p_archive 
)

◆ setScissor()

void J2DScreen::setScissor ( bool  i_scissor)
inline

Member Data Documentation

◆ mColor

JUtility::TColor J2DScreen::mColor

◆ mDataManage

J2DDataManage * J2DScreen::mDataManage
static

◆ mFontRes

J2DResReference* J2DScreen::mFontRes

◆ mMaterialNum

u16 J2DScreen::mMaterialNum

◆ mMaterials

J2DMaterial* J2DScreen::mMaterials

◆ mNameTable

JUTNameTab* J2DScreen::mNameTable

◆ mScissor

bool J2DScreen::mScissor

◆ mTexRes

J2DResReference* J2DScreen::mTexRes

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