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

#include <d_demo.h>

+ Inheritance diagram for dDemo_actor_c:
+ Collaboration diagram for dDemo_actor_c:

Public Types

enum  Enable_e {
  ENABLE_TRANS_e = (1 << 1) , ENABLE_SCALE_e = (1 << 2) , ENABLE_ROTATE_e = (1 << 3) , ENABLE_SHAPE_e = (1 << 4) ,
  ENABLE_ANM_e = (1 << 5) , ENABLE_ANM_FRAME_e = (1 << 6) , ENABLE_ANM_TRANSITION_e = (1 << 7) , ENABLE_TEX_ANM = (1 << 8) ,
  ENABLE_TEX_ANM_FRAME_e = (1 << 9)
}
 

Public Member Functions

 dDemo_actor_c ()
 
fopAc_ac_cgetActor ()
 
void setActor (fopAc_ac_c *)
 
f32 getPrm_Morf ()
 
int getDemoIDData (int *, int *, int *, u16 *, u8 *)
 
virtual ~dDemo_actor_c ()
 
virtual void JSGSetData (u32, void const *, u32)
 
virtual s32 JSGFindNodeID (char const *param_0) const
 
virtual bool JSGGetNodeTransformation (u32 param_0, Mtx param_1) const
 
virtual void JSGGetTranslation (Vec *o_trans) const
 
virtual void JSGSetTranslation (Vec const &)
 
virtual void JSGGetScaling (Vec *o_scale) const
 
virtual void JSGSetScaling (Vec const &)
 
virtual void JSGGetRotation (Vec *param_0) const
 
virtual void JSGSetRotation (Vec const &)
 
virtual void JSGSetShape (u32)
 
virtual void JSGSetAnimation (u32)
 
virtual void JSGSetAnimationFrame (f32)
 
virtual f32 JSGGetAnimationFrameMax () const
 
virtual void JSGSetAnimationTransition (f32)
 
virtual void JSGSetTextureAnimation (u32)
 
virtual void JSGSetTextureAnimationFrame (f32)
 
virtual f32 JSGGetTextureAnimationFrameMax () const
 
void setModel (J3DModel *p_model)
 
u8 checkEnable (u16 flag)
 
void onEnable (u16 flag)
 
cXyzgetTrans ()
 
cXyzgetScale ()
 
csXyzgetRatate ()
 
u32 getAnmId ()
 
u32 getOldAnmId ()
 
void setOldAnmId (u32 id)
 
void setAnmFrameMax (f32 max)
 
f32 getAnmFrame ()
 
dDemo_prm_cgetPrm ()
 
- Public Member Functions inherited from JStage::TActor
virtual ~TActor ()=0
 
virtual s32 JSGFGetType () const
 
virtual s32 JSGGetShape () const
 
virtual s32 JSGGetAnimation () const
 
virtual f32 JSGGetAnimationFrame () const
 
virtual f32 JSGGetAnimationTransition () const
 
virtual s32 JSGGetTextureAnimation () const
 
virtual f32 JSGGetTextureAnimationFrame () const
 
- Public Member Functions inherited from JStage::TObject
virtual ~TObject ()=0
 
virtual bool JSGGetName () const
 
virtual void JSGUpdate ()
 
virtual u32 JSGGetFlag () const
 
virtual void JSGSetFlag (u32)
 
virtual bool JSGGetData (u32, void *, u32) const
 
virtual void JSGGetParent (JStage::TObject **, u32 *) const
 
virtual void JSGSetParent (JStage::TObject *, u32)
 
virtual void JSGSetRelation (bool, JStage::TObject *, u32)
 
virtual bool JSGGetNodeTransformation (u32, f32(*)[4]) const
 
void JSGFEnableFlag (u32 flag)
 
void JSGFDisableFlag (u32 flag)
 

Private Attributes

u16 mFlags
 
cXyz mTrans
 
cXyz mScale
 
csXyz mRotate
 
u32 mShape
 
u32 mAnmId
 
f32 mAnmFrame
 
f32 mAnmTransition
 
f32 mAnmFrameMax
 
u32 mTexAnm
 
f32 mTexAnmFrame
 
f32 mTexAnmFrameMax
 
J3DModelmModel
 
dDemo_prm_c mPrm
 
u32 field_0x54
 
fpc_ProcID mActorId
 
u32 mOldAnmId
 
u32 mBtpId
 
u32 mBtkId
 
u32 mBrkId
 

Member Enumeration Documentation

◆ Enable_e

Enumerator
ENABLE_TRANS_e 
ENABLE_SCALE_e 
ENABLE_ROTATE_e 
ENABLE_SHAPE_e 
ENABLE_ANM_e 
ENABLE_ANM_FRAME_e 
ENABLE_ANM_TRANSITION_e 
ENABLE_TEX_ANM 
ENABLE_TEX_ANM_FRAME_e 

Constructor & Destructor Documentation

◆ dDemo_actor_c()

dDemo_actor_c::dDemo_actor_c ( )

◆ ~dDemo_actor_c()

dDemo_actor_c::~dDemo_actor_c ( )
virtual

Member Function Documentation

◆ checkEnable()

u8 dDemo_actor_c::checkEnable ( u16  flag)
inline

◆ getActor()

fopAc_ac_c * dDemo_actor_c::getActor ( )

◆ getAnmFrame()

f32 dDemo_actor_c::getAnmFrame ( )
inline

◆ getAnmId()

u32 dDemo_actor_c::getAnmId ( )
inline

◆ getDemoIDData()

int dDemo_actor_c::getDemoIDData ( int param_0,
int param_1,
int param_2,
u16 param_3,
u8 param_4 
)

◆ getOldAnmId()

u32 dDemo_actor_c::getOldAnmId ( )
inline

◆ getPrm()

dDemo_prm_c * dDemo_actor_c::getPrm ( )
inline

◆ getPrm_Morf()

f32 dDemo_actor_c::getPrm_Morf ( )

◆ getRatate()

csXyz & dDemo_actor_c::getRatate ( )
inline

◆ getScale()

cXyz & dDemo_actor_c::getScale ( )
inline

◆ getTrans()

cXyz & dDemo_actor_c::getTrans ( )
inline

◆ JSGFindNodeID()

virtual s32 dDemo_actor_c::JSGFindNodeID ( char const param_0) const
inlinevirtual

Reimplemented from JStage::TObject.

◆ JSGGetAnimationFrameMax()

virtual f32 dDemo_actor_c::JSGGetAnimationFrameMax ( ) const
inlinevirtual

Reimplemented from JStage::TActor.

◆ JSGGetNodeTransformation()

virtual bool dDemo_actor_c::JSGGetNodeTransformation ( u32  param_0,
Mtx  param_1 
) const
inlinevirtual

◆ JSGGetRotation()

virtual void dDemo_actor_c::JSGGetRotation ( Vec param_0) const
inlinevirtual

Reimplemented from JStage::TActor.

◆ JSGGetScaling()

virtual void dDemo_actor_c::JSGGetScaling ( Vec o_scale) const
inlinevirtual

Reimplemented from JStage::TActor.

◆ JSGGetTextureAnimationFrameMax()

virtual f32 dDemo_actor_c::JSGGetTextureAnimationFrameMax ( ) const
inlinevirtual

Reimplemented from JStage::TActor.

◆ JSGGetTranslation()

virtual void dDemo_actor_c::JSGGetTranslation ( Vec o_trans) const
inlinevirtual

Reimplemented from JStage::TActor.

◆ JSGSetAnimation()

void dDemo_actor_c::JSGSetAnimation ( u32  i_anmID)
virtual

Reimplemented from JStage::TActor.

◆ JSGSetAnimationFrame()

void dDemo_actor_c::JSGSetAnimationFrame ( f32  i_frame)
virtual

Reimplemented from JStage::TActor.

◆ JSGSetAnimationTransition()

void dDemo_actor_c::JSGSetAnimationTransition ( f32  i_trans)
virtual

Reimplemented from JStage::TActor.

◆ JSGSetData()

void dDemo_actor_c::JSGSetData ( u32  id,
void const pdata,
u32  param_2 
)
virtual

Reimplemented from JStage::TObject.

◆ JSGSetRotation()

void dDemo_actor_c::JSGSetRotation ( Vec const i_rotate)
virtual

Reimplemented from JStage::TActor.

◆ JSGSetScaling()

void dDemo_actor_c::JSGSetScaling ( Vec const i_scale)
virtual

Reimplemented from JStage::TActor.

◆ JSGSetShape()

void dDemo_actor_c::JSGSetShape ( u32  i_shape)
virtual

Reimplemented from JStage::TActor.

◆ JSGSetTextureAnimation()

void dDemo_actor_c::JSGSetTextureAnimation ( u32  i_anm)
virtual

Reimplemented from JStage::TActor.

◆ JSGSetTextureAnimationFrame()

void dDemo_actor_c::JSGSetTextureAnimationFrame ( f32  i_frame)
virtual

Reimplemented from JStage::TActor.

◆ JSGSetTranslation()

void dDemo_actor_c::JSGSetTranslation ( Vec const i_trans)
virtual

Reimplemented from JStage::TActor.

◆ onEnable()

void dDemo_actor_c::onEnable ( u16  flag)
inline

◆ setActor()

void dDemo_actor_c::setActor ( fopAc_ac_c pActor)

◆ setAnmFrameMax()

void dDemo_actor_c::setAnmFrameMax ( f32  max)
inline

◆ setModel()

void dDemo_actor_c::setModel ( J3DModel p_model)
inline

◆ setOldAnmId()

void dDemo_actor_c::setOldAnmId ( u32  id)
inline

Member Data Documentation

◆ field_0x54

u32 dDemo_actor_c::field_0x54
private

◆ mActorId

fpc_ProcID dDemo_actor_c::mActorId
private

◆ mAnmFrame

f32 dDemo_actor_c::mAnmFrame
private

◆ mAnmFrameMax

f32 dDemo_actor_c::mAnmFrameMax
private

◆ mAnmId

u32 dDemo_actor_c::mAnmId
private

◆ mAnmTransition

f32 dDemo_actor_c::mAnmTransition
private

◆ mBrkId

u32 dDemo_actor_c::mBrkId
private

◆ mBtkId

u32 dDemo_actor_c::mBtkId
private

◆ mBtpId

u32 dDemo_actor_c::mBtpId
private

◆ mFlags

u16 dDemo_actor_c::mFlags
private

◆ mModel

J3DModel* dDemo_actor_c::mModel
private

◆ mOldAnmId

u32 dDemo_actor_c::mOldAnmId
private

◆ mPrm

dDemo_prm_c dDemo_actor_c::mPrm
private

◆ mRotate

csXyz dDemo_actor_c::mRotate
private

◆ mScale

cXyz dDemo_actor_c::mScale
private

◆ mShape

u32 dDemo_actor_c::mShape
private

◆ mTexAnm

u32 dDemo_actor_c::mTexAnm
private

◆ mTexAnmFrame

f32 dDemo_actor_c::mTexAnmFrame
private

◆ mTexAnmFrameMax

f32 dDemo_actor_c::mTexAnmFrameMax
private

◆ mTrans

cXyz dDemo_actor_c::mTrans
private

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