MCPcopy Create free account
hub / github.com/bfbbdecomp/bfbb / InputInfo

Method InputInfo

src/SB/Game/zNPCGoalRobo.cpp:3694–3703  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3692}
3693
3694S32 zNPCGoalStunned::InputInfo(NPCStunInfo* info)
3695{
3696 zNPCRobot* npc = ((zNPCRobot*)(psyche->clt_owner));
3697 flg_info = 0x10;
3698 F32 stunTime = npc->tmr_stunned;
3699 F32 infoStun = info->tym_stuntime;
3700 stunTime = (stunTime > infoStun) ? stunTime : infoStun;
3701 npc->tmr_stunned = stunTime;
3702 return flg_info;
3703}
3704
3705S32 zNPCGoalPatCarry::Enter(F32 dt, void* updCtxt)
3706{

Callers 2

InputStunMethod · 0.80
NPCMessageMethod · 0.80

Calls 10

xVec3Length2Function · 0.85
xVec3InvFunction · 0.85
xVec3AddToFunction · 0.85
xVec3CopyFunction · 0.85
xEntGetPosFunction · 0.85
InflictPainMethod · 0.80
FindGoalMethod · 0.80
NPCC_pos_ofBaseFunction · 0.70
xVec3NormalizeFunction · 0.50
PosMethod · 0.45

Tested by

no test coverage detected