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

#include <J2DPicture.h>

+ Inheritance diagram for J2DPicture:
+ Collaboration diagram for J2DPicture:

Public Member Functions

virtual ~J2DPicture ()
 
virtual u16 getTypeID () const
 
virtual void drawSelf (f32, f32)
 
virtual void drawSelf (f32, f32, Mtx *)
 
virtual bool isUsed (ResTIMG const *)
 
virtual bool isUsed (ResFONT const *)
 
virtual void rewriteAlpha ()
 
virtual void initiate (ResTIMG const *, ResTLUT const *)
 
virtual bool prepareTexture (u8)
 
virtual bool append (ResTIMG const *, f32)
 
virtual bool append (ResTIMG const *, JUTPalette *, f32)
 
virtual bool append (char const *param_0, f32 param_1)
 
virtual bool append (char const *, JUTPalette *, f32)
 
virtual bool append (JUTTexture *, f32)
 
virtual void prepend (ResTIMG const *, f32)
 
virtual void prepend (ResTIMG const *, JUTPalette *, f32)
 
virtual void prepend (char const *, f32)
 
virtual void prepend (char const *, JUTPalette *, f32)
 
virtual void prepend (JUTTexture *, f32)
 
virtual void insert (ResTIMG const *, u8, f32)
 
virtual bool insert (ResTIMG const *, JUTPalette *, u8, f32)
 
virtual bool insert (char const *param_0, u8 param_1, f32 param_2)
 
virtual bool insert (char const *, JUTPalette *, u8, f32)
 
virtual bool insert (JUTTexture *, u8, f32)
 
virtual bool remove (u8)
 
virtual bool remove ()
 
virtual bool remove (JUTTexture *)
 
virtual void draw (f32, f32, bool, bool, bool)
 
virtual void draw (f32, f32, u8, bool, bool, bool)
 
virtual void draw (f32, f32, f32, f32, bool, bool, bool)
 
virtual void drawOut (f32, f32, f32, f32, f32, f32)
 
virtual void drawOut (f32, f32, f32, f32, f32, f32, f32, f32)
 
virtual void drawOut (JGeometry::TBox2< f32 > const &, JGeometry::TBox2< f32 > const &)
 
virtual void load (_GXTexMapID, u8)
 
virtual void load (u8)
 
virtual void setBlendRatio (f32 param_0, f32 param_1)
 
virtual void setBlendColorRatio (f32, f32)
 
virtual void setBlendAlphaRatio (f32, f32)
 
virtual const ResTIMGchangeTexture (ResTIMG const *, u8)
 
virtual const ResTIMGchangeTexture (char const *, u8)
 
virtual const ResTIMGchangeTexture (ResTIMG const *, u8, JUTPalette *)
 
virtual const ResTIMGchangeTexture (char const *, u8, JUTPalette *)
 
virtual JUTTexturegetTexture (u8) const
 
virtual u8 getTextureCount () const
 
virtual bool setBlack (JUtility::TColor i_black)
 
virtual bool setWhite (JUtility::TColor i_white)
 
virtual bool setBlackWhite (JUtility::TColor i_black, JUtility::TColor i_white)
 
virtual JUtility::TColor getBlack () const
 
virtual JUtility::TColor getWhite () const
 
virtual J2DMaterialgetMaterial () const
 
virtual void drawFullSet (f32, f32, f32, f32, Mtx *)
 
virtual void drawTexCoord (f32, f32, f32, f32, s16, s16, s16, s16, s16, s16, s16, s16, Mtx *)
 
virtual u8 getUsableTlut (u8)
 
 J2DPicture (u64, JGeometry::TBox2< f32 > const &, ResTIMG const *, ResTLUT const *)
 
 J2DPicture (ResTIMG const *)
 
 J2DPicture (J2DPane *, JSURandomInputStream *, JKRArchive *)
 
 J2DPicture ()
 
 J2DPicture (J2DPane *, JSURandomInputStream *, J2DMaterial *)
 
void private_readStream (J2DPane *, JSURandomInputStream *, JKRArchive *)
 
void private_initiate (ResTIMG const *, ResTLUT const *)
 
void initinfo ()
 
void setTevMode ()
 
void setBlendKonstColor ()
 
void setBlendKonstAlpha ()
 
void getNewColor (JUtility::TColor *)
 
void setTexCoord (JGeometry::TVec2< s16 > *, JUTTexture const *, J2DBinding, J2DMirror, bool)
 
void setTexCoord (JUTTexture const *, J2DBinding, J2DMirror, bool)
 
GXTlut getTlutID (ResTIMG const *, u8)
 
void setCornerColor (JUtility::TColor c0, JUtility::TColor c1, JUtility::TColor c2, JUtility::TColor c3)
 
void setCornerColor (JUtility::TColor c0)
 
- 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 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 void setAnimation (J2DAnmBase *anm)
 
virtual void setAnimation (J2DAnmTransform *anm)
 
virtual void setAnimation (J2DAnmColor *anm)
 
virtual void setAnimation (J2DAnmTexPattern *anm)
 
virtual void setAnimation (J2DAnmTextureSRTKey *anm)
 
virtual void setAnimation (J2DAnmTevRegKey *anm)
 
virtual void setAnimation (J2DAnmVisibilityFull *anm)
 
virtual void setAnimation (J2DAnmVtxColor *anm)
 
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)
 
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 void swap (f32 &, f32 &)
 
- Static Public Member Functions inherited from J2DPane
static s16 J2DCast_F32_to_S16 (f32 value, u8 arg2)
 

Protected Attributes

JUTTexturemTexture [2]
 
u8 mTextureNum
 
u8 field_0x109
 
JGeometry::TVec2< s16field_0x10a [4]
 
f32 field_0x11c [2]
 
f32 field_0x124 [2]
 
JUTPalettemPalette
 
JUtility::TColor mWhite
 
JUtility::TColor mBlack
 
JUtility::TColor mCornerColor [4]
 
JUtility::TColor mBlendKonstColor
 
JUtility::TColor mBlendKonstAlpha
 

Additional Inherited Members

- 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
 

Constructor & Destructor Documentation

◆ ~J2DPicture()

J2DPicture::~J2DPicture ( )
virtual

◆ J2DPicture() [1/5]

J2DPicture::J2DPicture ( u64  tag,
JGeometry::TBox2< f32 > const bounds,
ResTIMG const p_timg,
ResTLUT const p_tlut 
)

◆ J2DPicture() [2/5]

J2DPicture::J2DPicture ( ResTIMG const p_timg)

◆ J2DPicture() [3/5]

J2DPicture::J2DPicture ( J2DPane p_pane,
JSURandomInputStream p_stream,
JKRArchive p_archive 
)

◆ J2DPicture() [4/5]

J2DPicture::J2DPicture ( )

◆ J2DPicture() [5/5]

J2DPicture::J2DPicture ( J2DPane p_pane,
JSURandomInputStream p_stream,
J2DMaterial p_material 
)

Member Function Documentation

◆ append() [1/5]

bool J2DPicture::append ( char const param_0,
JUTPalette param_1,
f32  param_2 
)
virtual

Reimplemented in J2DPictureEx.

◆ append() [2/5]

virtual bool J2DPicture::append ( char const param_0,
f32  param_1 
)
inlinevirtual

Reimplemented in J2DPictureEx.

◆ append() [3/5]

bool J2DPicture::append ( JUTTexture param_0,
f32  param_1 
)
virtual

Reimplemented in J2DPictureEx.

◆ append() [4/5]

bool J2DPicture::append ( ResTIMG const param_0,
f32  param_1 
)
virtual

Reimplemented in J2DPictureEx.

◆ append() [5/5]

bool J2DPicture::append ( ResTIMG const param_0,
JUTPalette param_1,
f32  param_2 
)
virtual

Reimplemented in J2DPictureEx.

◆ changeTexture() [1/4]

const ResTIMG * J2DPicture::changeTexture ( char const resName,
u8  param_1 
)
virtual

Reimplemented in J2DPictureEx.

◆ changeTexture() [2/4]

const ResTIMG * J2DPicture::changeTexture ( char const param_0,
u8  param_1,
JUTPalette param_2 
)
virtual

Reimplemented in J2DPictureEx.

◆ changeTexture() [3/4]

const ResTIMG * J2DPicture::changeTexture ( ResTIMG const img,
u8  texIndex 
)
virtual

Reimplemented in J2DPictureEx.

◆ changeTexture() [4/4]

const ResTIMG * J2DPicture::changeTexture ( ResTIMG const img,
u8  texIndex,
JUTPalette palette 
)
virtual

Reimplemented in J2DPictureEx.

◆ draw() [1/3]

void J2DPicture::draw ( f32  param_0,
f32  param_1,
bool  param_2,
bool  param_3,
bool  param_4 
)
virtual

Reimplemented in J2DPictureEx.

◆ draw() [2/3]

void J2DPicture::draw ( f32  x,
f32  y,
f32  width,
f32  height,
bool  mirrorX,
bool  mirrorY,
bool  rotate90 
)
virtual

Reimplemented in J2DPictureEx.

◆ draw() [3/3]

void J2DPicture::draw ( f32  param_0,
f32  param_1,
u8  param_2,
bool  param_3,
bool  param_4,
bool  param_5 
)
virtual

Reimplemented in J2DPictureEx.

◆ drawFullSet()

void J2DPicture::drawFullSet ( f32  param_0,
f32  param_1,
f32  param_2,
f32  param_3,
Mtx param_4 
)
virtual

◆ drawOut() [1/3]

void J2DPicture::drawOut ( f32  param_0,
f32  param_1,
f32  param_2,
f32  param_3,
f32  param_4,
f32  param_5 
)
virtual

Reimplemented in J2DPictureEx.

◆ drawOut() [2/3]

void J2DPicture::drawOut ( f32  param_0,
f32  param_1,
f32  param_2,
f32  param_3,
f32  param_4,
f32  param_5,
f32  param_6,
f32  param_7 
)
virtual

Reimplemented in J2DPictureEx.

◆ drawOut() [3/3]

void J2DPicture::drawOut ( JGeometry::TBox2< f32 > const posBox,
JGeometry::TBox2< f32 > const texRect 
)
virtual

Reimplemented in J2DPictureEx.

◆ drawSelf() [1/2]

void J2DPicture::drawSelf ( f32  param_0,
f32  param_1 
)
virtual

Reimplemented from J2DPane.

◆ drawSelf() [2/2]

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

Reimplemented from J2DPane.

◆ drawTexCoord()

void J2DPicture::drawTexCoord ( f32  param_0,
f32  param_1,
f32  param_2,
f32  param_3,
s16  param_4,
s16  param_5,
s16  param_6,
s16  param_7,
s16  param_8,
s16  param_9,
s16  param_10,
s16  param_11,
Mtx param_12 
)
virtual

◆ getBlack()

virtual JUtility::TColor J2DPicture::getBlack ( ) const
inlinevirtual

Reimplemented in J2DPictureEx.

◆ getMaterial()

virtual J2DMaterial * J2DPicture::getMaterial ( ) const
inlinevirtual

Reimplemented in J2DPictureEx.

◆ getNewColor()

void J2DPicture::getNewColor ( JUtility::TColor param_0)

◆ getTexture()

JUTTexture * J2DPicture::getTexture ( u8  param_0) const
virtual

Reimplemented in J2DPictureEx.

◆ getTextureCount()

u8 J2DPicture::getTextureCount ( ) const
virtual

Reimplemented in J2DPictureEx.

◆ getTlutID()

GXTlut J2DPicture::getTlutID ( ResTIMG const img,
u8  param_1 
)

◆ getTypeID()

u16 J2DPicture::getTypeID ( ) const
virtual

Reimplemented from J2DPane.

◆ getUsableTlut()

u8 J2DPicture::getUsableTlut ( u8  param_0)
virtual

Reimplemented in J2DPictureEx.

◆ getWhite()

virtual JUtility::TColor J2DPicture::getWhite ( ) const
inlinevirtual

Reimplemented in J2DPictureEx.

◆ initiate()

void J2DPicture::initiate ( ResTIMG const img,
ResTLUT const lut 
)
virtual

Reimplemented in J2DPictureEx.

◆ initinfo()

void J2DPicture::initinfo ( )

◆ insert() [1/5]

bool J2DPicture::insert ( char const resName,
JUTPalette palette,
u8  param_2,
f32  param_3 
)
virtual

Reimplemented in J2DPictureEx.

◆ insert() [2/5]

virtual bool J2DPicture::insert ( char const param_0,
u8  param_1,
f32  param_2 
)
inlinevirtual

Reimplemented in J2DPictureEx.

◆ insert() [3/5]

bool J2DPicture::insert ( JUTTexture texture,
u8  param_1,
f32  param_2 
)
virtual

Reimplemented in J2DPictureEx.

◆ insert() [4/5]

bool J2DPicture::insert ( ResTIMG const img,
JUTPalette palette,
u8  param_2,
f32  param_3 
)
virtual

Reimplemented in J2DPictureEx.

◆ insert() [5/5]

void J2DPicture::insert ( ResTIMG const param_0,
u8  param_1,
f32  param_2 
)
virtual

Reimplemented in J2DPictureEx.

◆ isUsed() [1/2]

bool J2DPicture::isUsed ( ResFONT const param_0)
virtual

Reimplemented from J2DPane.

Reimplemented in J2DPictureEx.

◆ isUsed() [2/2]

bool J2DPicture::isUsed ( ResTIMG const param_0)
virtual

Reimplemented from J2DPane.

Reimplemented in J2DPictureEx.

◆ load() [1/2]

void J2DPicture::load ( _GXTexMapID  param_0,
u8  param_1 
)
virtual

Reimplemented in J2DPictureEx.

◆ load() [2/2]

void J2DPicture::load ( u8  param_0)
virtual

Reimplemented in J2DPictureEx.

◆ prepareTexture()

bool J2DPicture::prepareTexture ( u8  param_0)
virtual

Reimplemented in J2DPictureEx.

◆ prepend() [1/5]

void J2DPicture::prepend ( char const param_0,
f32  param_1 
)
virtual

Reimplemented in J2DPictureEx.

◆ prepend() [2/5]

void J2DPicture::prepend ( char const param_0,
JUTPalette param_1,
f32  param_2 
)
virtual

Reimplemented in J2DPictureEx.

◆ prepend() [3/5]

void J2DPicture::prepend ( JUTTexture param_0,
f32  param_1 
)
virtual

Reimplemented in J2DPictureEx.

◆ prepend() [4/5]

void J2DPicture::prepend ( ResTIMG const param_0,
f32  param_1 
)
virtual

Reimplemented in J2DPictureEx.

◆ prepend() [5/5]

void J2DPicture::prepend ( ResTIMG const param_0,
JUTPalette param_1,
f32  param_2 
)
virtual

Reimplemented in J2DPictureEx.

◆ private_initiate()

void J2DPicture::private_initiate ( ResTIMG const timg,
ResTLUT const tlut 
)

◆ private_readStream()

void J2DPicture::private_readStream ( J2DPane parent,
JSURandomInputStream stream,
JKRArchive archive 
)

◆ remove() [1/3]

bool J2DPicture::remove ( )
virtual

Reimplemented in J2DPictureEx.

◆ remove() [2/3]

bool J2DPicture::remove ( JUTTexture param_0)
virtual

Reimplemented in J2DPictureEx.

◆ remove() [3/3]

bool J2DPicture::remove ( u8  param_0)
virtual

Reimplemented in J2DPictureEx.

◆ rewriteAlpha()

void J2DPicture::rewriteAlpha ( )
virtual

Reimplemented from J2DPane.

Reimplemented in J2DPictureEx.

◆ setBlack()

virtual bool J2DPicture::setBlack ( JUtility::TColor  i_black)
inlinevirtual

Reimplemented in J2DPictureEx.

◆ setBlackWhite()

virtual bool J2DPicture::setBlackWhite ( JUtility::TColor  i_black,
JUtility::TColor  i_white 
)
inlinevirtual

Reimplemented in J2DPictureEx.

◆ setBlendAlphaRatio()

void J2DPicture::setBlendAlphaRatio ( f32  param_0,
f32  param_1 
)
virtual

Reimplemented in J2DPictureEx.

◆ setBlendColorRatio()

void J2DPicture::setBlendColorRatio ( f32  param_0,
f32  param_1 
)
virtual

Reimplemented in J2DPictureEx.

◆ setBlendKonstAlpha()

void J2DPicture::setBlendKonstAlpha ( )

◆ setBlendKonstColor()

void J2DPicture::setBlendKonstColor ( )

◆ setBlendRatio()

virtual void J2DPicture::setBlendRatio ( f32  param_0,
f32  param_1 
)
inlinevirtual

◆ setCornerColor() [1/2]

void J2DPicture::setCornerColor ( JUtility::TColor  c0)
inline

◆ setCornerColor() [2/2]

void J2DPicture::setCornerColor ( JUtility::TColor  c0,
JUtility::TColor  c1,
JUtility::TColor  c2,
JUtility::TColor  c3 
)
inline

◆ setTevMode()

void J2DPicture::setTevMode ( )

◆ setTexCoord() [1/2]

void J2DPicture::setTexCoord ( JGeometry::TVec2< s16 > *  param_0,
JUTTexture const param_1,
J2DBinding  binding,
J2DMirror  mirror,
bool  rotate90 
)

◆ setTexCoord() [2/2]

void J2DPicture::setTexCoord ( JUTTexture const param_0,
J2DBinding  param_1,
J2DMirror  param_2,
bool  param_3 
)

◆ setWhite()

virtual bool J2DPicture::setWhite ( JUtility::TColor  i_white)
inlinevirtual

Reimplemented in J2DPictureEx.

◆ swap()

void J2DPicture::swap ( f32 lhs,
f32 rhs 
)
static

Member Data Documentation

◆ field_0x109

u8 J2DPicture::field_0x109
protected

◆ field_0x10a

JGeometry::TVec2<s16> J2DPicture::field_0x10a[4]
protected

◆ field_0x11c

f32 J2DPicture::field_0x11c[2]
protected

◆ field_0x124

f32 J2DPicture::field_0x124[2]
protected

◆ mBlack

JUtility::TColor J2DPicture::mBlack
protected

◆ mBlendKonstAlpha

JUtility::TColor J2DPicture::mBlendKonstAlpha
protected

◆ mBlendKonstColor

JUtility::TColor J2DPicture::mBlendKonstColor
protected

◆ mCornerColor

JUtility::TColor J2DPicture::mCornerColor[4]
protected

◆ mPalette

JUTPalette* J2DPicture::mPalette
protected

◆ mTexture

JUTTexture* J2DPicture::mTexture[2]
protected

◆ mTextureNum

u8 J2DPicture::mTextureNum
protected

◆ mWhite

JUtility::TColor J2DPicture::mWhite
protected

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