papermario
Decompilation of Paper Mario
 
All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Loading...
Searching...
No Matches
npc_follow.c File Reference

Enumerations

enum  NpcFollowStates { NPC_FOLLOW_STATE_RUN = 0 , NPC_FOLLOW_STATE_JUMP = 1 , NPC_FOLLOW_STATE_FALL = 2 , NPC_FOLLOW_STATE_IDLE = 10 }
 

Functions

void get_npc_pos (s32 npcID, f32 *outX, f32 *outY, f32 *outZ, s32 *outAirborne)
 
void npc_follow_init (Npc *npc, s32 targetNpcID, FollowAnims *anims, f32 walkSpeed, f32 runSpeed, s32 idleRadius, s32 walkRadius)
 
void npc_update_npc_tracking (Npc *npc)
 
void npc_follow_npc (Npc *npc)
 

Enumeration Type Documentation

◆ NpcFollowStates

Enumerator
NPC_FOLLOW_STATE_RUN 
NPC_FOLLOW_STATE_JUMP 
NPC_FOLLOW_STATE_FALL 
NPC_FOLLOW_STATE_IDLE 

Function Documentation

◆ get_npc_pos()

void get_npc_pos ( s32 npcID,
f32 * outX,
f32 * outY,
f32 * outZ,
s32 * outAirborne )

◆ npc_follow_init()

void npc_follow_init ( Npc * npc,
s32 targetNpcID,
FollowAnims * anims,
f32 walkSpeed,
f32 runSpeed,
s32 idleRadius,
s32 walkRadius )

◆ npc_follow_npc()

void npc_follow_npc ( Npc * npc)

◆ npc_update_npc_tracking()

void npc_update_npc_tracking ( Npc * npc)