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

#include <d_a_npc.h>

+ Collaboration diagram for daNpcT_Path_c:

Public Member Functions

void hermite (cXyz &, cXyz &, cXyz &, cXyz &, daNpcT_Hermite_c &, cXyz &)
 
void initialize ()
 
int setPathInfo (u8, s8, u8)
 
int setNextPathInfo (s8, u8)
 
void reverse ()
 
void setNextIdx ()
 
int setNextIdx (int)
 
int getDstPos (cXyz i_pnt, cXyz *o_pos_p)
 
int getDstPos (cXyz, cXyz *, int)
 
int getDstPosH (cXyz, cXyz *, int, int)
 
int chkPassed1 (cXyz, int)
 
int chkPassed2 (cXyz, cXyz *, int, int)
 
int drawDbgInfo (f32, int)
 
 daNpcT_Path_c ()
 
virtual ~daNpcT_Path_c ()
 
Vec getPntPos (int i_idx)
 
int getArg0 ()
 
int getArg1 ()
 
int getArg2 ()
 
int chkClose ()
 
bool chkReverse ()
 
int getNumPnts ()
 
void setIdx (int i_idx)
 
const int getIdx ()
 
const dPathgetPathInfo ()
 
void onReverse ()
 
void offReverse ()
 
bool checkReverse ()
 
BOOL chkNextId ()
 

Public Attributes

dPathmPathInfo
 
cXyz mPosition
 
f32 field_0x10
 
f32 field_0x14
 
f32 field_0x18
 
u16 mIdx
 
u16 field_0x1E
 
u8 mDirection
 
u8 mIsClosed
 

Constructor & Destructor Documentation

◆ daNpcT_Path_c()

daNpcT_Path_c::daNpcT_Path_c ( )
inline

◆ ~daNpcT_Path_c()

virtual daNpcT_Path_c::~daNpcT_Path_c ( )
inlinevirtual

Member Function Documentation

◆ checkReverse()

bool daNpcT_Path_c::checkReverse ( )
inline

◆ chkClose()

int daNpcT_Path_c::chkClose ( )
inline

◆ chkNextId()

BOOL daNpcT_Path_c::chkNextId ( )
inline

◆ chkPassed1()

int daNpcT_Path_c::chkPassed1 ( cXyz i_pnt,
int i_num )

◆ chkPassed2()

int daNpcT_Path_c::chkPassed2 ( cXyz i_pnt,
cXyz * param_2,
int i_num,
int param_4 )

◆ chkReverse()

bool daNpcT_Path_c::chkReverse ( )
inline

◆ drawDbgInfo()

int daNpcT_Path_c::drawDbgInfo ( f32 param_0,
int param_1 )

◆ getArg0()

int daNpcT_Path_c::getArg0 ( )
inline

◆ getArg1()

int daNpcT_Path_c::getArg1 ( )
inline

◆ getArg2()

int daNpcT_Path_c::getArg2 ( )
inline

◆ getDstPos() [1/2]

int daNpcT_Path_c::getDstPos ( cXyz i_pnt,
cXyz * o_pos_p )
inline

◆ getDstPos() [2/2]

int daNpcT_Path_c::getDstPos ( cXyz i_pnt,
cXyz * o_pos_p,
int i_idx )

◆ getDstPosH()

int daNpcT_Path_c::getDstPosH ( cXyz i_pnt,
cXyz * o_pos_p,
int i_idx,
int param_3 )

◆ getIdx()

const int daNpcT_Path_c::getIdx ( )
inline

◆ getNumPnts()

int daNpcT_Path_c::getNumPnts ( )
inline

◆ getPathInfo()

const dPath * daNpcT_Path_c::getPathInfo ( )
inline

◆ getPntPos()

Vec daNpcT_Path_c::getPntPos ( int i_idx)
inline

◆ hermite()

void daNpcT_Path_c::hermite ( cXyz & i_start,
cXyz & i_startTan,
cXyz & i_end,
cXyz & i_endTan,
daNpcT_Hermite_c & i_hermite,
cXyz & o_result )

◆ initialize()

void daNpcT_Path_c::initialize ( )

◆ offReverse()

void daNpcT_Path_c::offReverse ( )
inline

◆ onReverse()

void daNpcT_Path_c::onReverse ( )
inline

◆ reverse()

void daNpcT_Path_c::reverse ( )

◆ setIdx()

void daNpcT_Path_c::setIdx ( int i_idx)
inline

◆ setNextIdx() [1/2]

void daNpcT_Path_c::setNextIdx ( )
inline

◆ setNextIdx() [2/2]

int daNpcT_Path_c::setNextIdx ( int i_idx)

◆ setNextPathInfo()

int daNpcT_Path_c::setNextPathInfo ( s8 i_roomNo,
u8 i_direction )

◆ setPathInfo()

int daNpcT_Path_c::setPathInfo ( u8 i_pathIdx,
s8 i_roomNo,
u8 i_direction )

Member Data Documentation

◆ field_0x10

f32 daNpcT_Path_c::field_0x10

◆ field_0x14

f32 daNpcT_Path_c::field_0x14

◆ field_0x18

f32 daNpcT_Path_c::field_0x18

◆ field_0x1E

u16 daNpcT_Path_c::field_0x1E

◆ mDirection

u8 daNpcT_Path_c::mDirection

◆ mIdx

u16 daNpcT_Path_c::mIdx

◆ mIsClosed

u8 daNpcT_Path_c::mIsClosed

◆ mPathInfo

dPath* daNpcT_Path_c::mPathInfo

◆ mPosition

cXyz daNpcT_Path_c::mPosition

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