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

#include <d_a_npc.h>

+ Inheritance diagram for daBaseNpc_c:
+ Collaboration diagram for daBaseNpc_c:

Public Member Functions

 daBaseNpc_c ()
 
J3DAnmTransformgetTrnsfrmKeyAnmP (char *, int)
 
void setMcaMorfAnm (J3DAnmTransformKey *, f32, f32, int, int, int)
 
void setBckAnm (J3DAnmTransform *, f32, int, int, int, bool)
 
J3DAnmTransformgetTexPtrnAnmP (char *, int)
 
void setBtpAnm (J3DAnmTexPattern *, J3DModelData *, f32, int)
 
void orderEvent (int, char *)
 
void setEnvTevColor ()
 
void setRoomNo ()
 
int checkEndAnm (f32)
 
int checkEndAnm (J3DFrameCtrl *)
 
virtual ~daBaseNpc_c ()
 
virtual void execute ()
 
virtual void draw (f32)
 
virtual bool getResName ()
 
virtual void attnSttsOn (int, int)
 
virtual void setParam ()
 
virtual void mainProc ()
 
virtual bool btkCtrl ()
 
virtual void allAnmPlay ()
 
virtual void adjustShapeAngle ()
 
virtual void setMtx (int)
 
virtual void setCollisions ()
 
virtual void setAttnPos ()
 
virtual void drawOtherMdls ()
 
virtual bool dbgDraw ()
 
- Public Member Functions inherited from fopAc_ac_c
 fopAc_ac_c ()
 
 fopAc_ac_c ()
 
 ~fopAc_ac_c ()
 
 fopAc_ac_c ()
 
 ~fopAc_ac_c ()
 
 fopAc_ac_c ()
 
 ~fopAc_ac_c ()
 
 fopAc_ac_c ()
 
 ~fopAc_ac_c ()
 
 fopAc_ac_c ()
 
 ~fopAc_ac_c ()
 
 fopAc_ac_c ()
 
 ~fopAc_ac_c ()
 

Static Public Attributes

static u8 const mCcDObj [48]
 
static dCcD_SrcCyl mCcDCyl
 
static dCcD_SrcSph mCcDSph
 
- Static Public Attributes inherited from fopAc_ac_c
static u32 stopStatus
 

Private Attributes

dBgS_Acch field_0x56c
 
u8 field_0x744 [16]
 
mDoExt_McaMorfSOmpMorf [2]
 
Z2Creature mCreature
 
mDoExt_bckAnm mBckAnm
 
mDoExt_btpAnm mBtpAnm
 
u8 tmp2 [28]
 
u16field_0x83c
 
u16 field_0x840
 
u8 field_0x842 [6]
 
s32 mUnk
 
dMsgFlow_c mMsg
 
u8 field_0x898 [2]
 
s16 mEvtIdx
 
u8 field_0x89C [34]
 
u8 mRoomId
 
u8 field_0x8C0 [90]
 
csXyz field_0x91a
 
csXyz field_0xd7e
 
csXyz field_0xd84
 
csXyz field_0xd8a
 
csXyz field_0x932
 
u8 field_0x938 [4]
 
csXyz field_0x93c
 
u8 field_0x940 [18]
 
cXyz field_0x954
 
u8 field_0x960 [36]
 
csXyz field_0x984
 
u8 field_0x98A [18]
 
csXyz field_0x99c
 
u8 field_0x9a2 [70]
 
const cBgS_PolyInfo mBgSPolyInfo
 
u8 field_0x9f9 [27]
 

Additional Inherited Members

- Static Public Member Functions inherited from fopAc_ac_c
static void setStopStatus (u32 status)
 
- Public Attributes inherited from fopAc_ac_c
int actor_type
 
create_tag_class actor_tag
 
create_tag_class draw_tag
 
profile_method_classsub_method
 
JKRSolidHeapheap
 
dEvt_info_c eventInfo
 
dKy_tevstr_c tevStr
 
u16 setID
 
u8 group
 
u8 cullType
 
u8 demoActorID
 
s8 subtype
 
u8 carryType
 
u32 actor_status
 
u32 actor_condition
 
fpc_ProcID parentActorID
 
actor_place home
 
actor_place old
 
actor_place current
 
csXyz shape_angle
 
cXyz scale
 
cXyz speed
 
MtxP cullMtx
 
union { 
 
   cull_box   box 
 
   cull_sphere   sphere 
 
cull 
 
f32 cullSizeFar
 
J3DModelmodel
 
dJntCol_cjntCol
 
f32 speedF
 
f32 gravity
 
f32 maxFallSpeed
 
cXyz eyePos
 
actor_attention_types attention_info
 
s16 field_0x560
 
s16 health
 
u8 field_0x564
 
u8 field_0x565
 
u8 field_0x566
 
s8 field_0x567
 
- Public Attributes inherited from leafdraw_class
base_process_class mBase
 
leafdraw_method_classmpDrawMtd
 
s8 mbUnk0
 
u8 mbUnk1
 
draw_priority_class mDwPi
 

Constructor & Destructor Documentation

◆ daBaseNpc_c()

daBaseNpc_c::daBaseNpc_c ( )

◆ ~daBaseNpc_c()

daBaseNpc_c::~daBaseNpc_c ( )
virtual

Member Function Documentation

◆ adjustShapeAngle()

void daBaseNpc_c::adjustShapeAngle ( )
virtual

◆ allAnmPlay()

void daBaseNpc_c::allAnmPlay ( )
virtual

◆ attnSttsOn()

void daBaseNpc_c::attnSttsOn ( int  param_0,
int  param_1 
)
virtual

◆ btkCtrl()

bool daBaseNpc_c::btkCtrl ( )
virtual

◆ checkEndAnm() [1/2]

int daBaseNpc_c::checkEndAnm ( f32  param_0)

◆ checkEndAnm() [2/2]

int daBaseNpc_c::checkEndAnm ( J3DFrameCtrl param_0)

◆ dbgDraw()

bool daBaseNpc_c::dbgDraw ( )
virtual

◆ draw()

void daBaseNpc_c::draw ( f32  param_0)
virtual

◆ drawOtherMdls()

void daBaseNpc_c::drawOtherMdls ( )
virtual

◆ execute()

void daBaseNpc_c::execute ( )
virtual

◆ getResName()

bool daBaseNpc_c::getResName ( )
virtual

◆ getTexPtrnAnmP()

J3DAnmTransform * daBaseNpc_c::getTexPtrnAnmP ( char param_0,
int  param_1 
)

◆ getTrnsfrmKeyAnmP()

J3DAnmTransform * daBaseNpc_c::getTrnsfrmKeyAnmP ( char param_0,
int  param_1 
)

◆ mainProc()

void daBaseNpc_c::mainProc ( )
virtual

◆ orderEvent()

void daBaseNpc_c::orderEvent ( int  param_0,
char i_evtName 
)

◆ setAttnPos()

void daBaseNpc_c::setAttnPos ( )
virtual

◆ setBckAnm()

void daBaseNpc_c::setBckAnm ( J3DAnmTransform param_0,
f32  param_1,
int  param_2,
int  param_3,
int  param_4,
bool  param_5 
)

◆ setBtpAnm()

void daBaseNpc_c::setBtpAnm ( J3DAnmTexPattern param_0,
J3DModelData param_1,
f32  param_2,
int  param_3 
)

◆ setCollisions()

void daBaseNpc_c::setCollisions ( )
virtual

◆ setEnvTevColor()

void daBaseNpc_c::setEnvTevColor ( )

◆ setMcaMorfAnm()

void daBaseNpc_c::setMcaMorfAnm ( J3DAnmTransformKey param_0,
f32  param_1,
f32  param_2,
int  param_3,
int  param_4,
int  param_5 
)

◆ setMtx()

void daBaseNpc_c::setMtx ( int  param_0)
virtual

◆ setParam()

void daBaseNpc_c::setParam ( )
virtual

◆ setRoomNo()

void daBaseNpc_c::setRoomNo ( )

Member Data Documentation

◆ field_0x56c

dBgS_Acch daBaseNpc_c::field_0x56c
private

◆ field_0x744

u8 daBaseNpc_c::field_0x744[16]
private

◆ field_0x83c

u16* daBaseNpc_c::field_0x83c
private

◆ field_0x840

u16 daBaseNpc_c::field_0x840
private

◆ field_0x842

u8 daBaseNpc_c::field_0x842[6]
private

◆ field_0x898

u8 daBaseNpc_c::field_0x898[2]
private

◆ field_0x89C

u8 daBaseNpc_c::field_0x89C[34]
private

◆ field_0x8C0

u8 daBaseNpc_c::field_0x8C0[90]
private

◆ field_0x91a

csXyz daBaseNpc_c::field_0x91a
private

◆ field_0x932

csXyz daBaseNpc_c::field_0x932
private

◆ field_0x938

u8 daBaseNpc_c::field_0x938[4]
private

◆ field_0x93c

csXyz daBaseNpc_c::field_0x93c
private

◆ field_0x940

u8 daBaseNpc_c::field_0x940[18]
private

◆ field_0x954

cXyz daBaseNpc_c::field_0x954
private

◆ field_0x960

u8 daBaseNpc_c::field_0x960[36]
private

◆ field_0x984

csXyz daBaseNpc_c::field_0x984
private

◆ field_0x98A

u8 daBaseNpc_c::field_0x98A[18]
private

◆ field_0x99c

csXyz daBaseNpc_c::field_0x99c
private

◆ field_0x9a2

u8 daBaseNpc_c::field_0x9a2[70]
private

◆ field_0x9f9

u8 daBaseNpc_c::field_0x9f9[27]
private

◆ field_0xd7e

csXyz daBaseNpc_c::field_0xd7e
private

◆ field_0xd84

csXyz daBaseNpc_c::field_0xd84
private

◆ field_0xd8a

csXyz daBaseNpc_c::field_0xd8a
private

◆ mBckAnm

mDoExt_bckAnm daBaseNpc_c::mBckAnm
private

◆ mBgSPolyInfo

const cBgS_PolyInfo daBaseNpc_c::mBgSPolyInfo
private

◆ mBtpAnm

mDoExt_btpAnm daBaseNpc_c::mBtpAnm
private

◆ mCcDCyl

dCcD_SrcCyl daBaseNpc_c::mCcDCyl
static
Initial value:
= {
{
{0x0, {{0x0, 0x0, 0x0}, {0x0, 0x0}, 0x0}},
{dCcD_SE_NONE, 0x0, 0x0, 0x0, 0x0},
{dCcD_SE_NONE, 0x0, 0x0, 0x0, 0x0},
{0x0},
},
{
{0.0f, 0.0f, 0.0f},
0.0f,
0.0f
}
}
@ dCcD_SE_NONE
Definition d_cc_d.h:13

◆ mCcDObj

SECTION_RODATA u8 const daBaseNpc_c::mCcDObj
static
Initial value:
= {
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x79, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
}

◆ mCcDSph

dCcD_SrcSph daBaseNpc_c::mCcDSph
static
Initial value:
= {
{
{0x0, {{0x0, 0x0, 0x0}, {0x0, 0x0}, 0x0}},
{dCcD_SE_NONE, 0x0, 0x0, 0x0, 0x0},
{dCcD_SE_NONE, 0x0, 0x0, 0x0, 0x0},
{0x0},
},
{
{{0.0f, 0.0f, 0.0f}, 0.0f}
}
}

◆ mCreature

Z2Creature daBaseNpc_c::mCreature
private

◆ mEvtIdx

s16 daBaseNpc_c::mEvtIdx
private

◆ mMsg

dMsgFlow_c daBaseNpc_c::mMsg
private

◆ mpMorf

mDoExt_McaMorfSO* daBaseNpc_c::mpMorf[2]
private

◆ mRoomId

u8 daBaseNpc_c::mRoomId
private

◆ mUnk

s32 daBaseNpc_c::mUnk
private

◆ tmp2

u8 daBaseNpc_c::tmp2[28]
private

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