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

Method GlyphStart

src/SB/Game/zNPCGoalRobo.cpp:3635–3648  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3633}
3634
3635void zNPCGoalEvilPat::GlyphStart()
3636{
3637 static xVec3 ang_delta = { DEG2RAD(2.1000001f), 0.0f, 0.0f };
3638 static xVec3 scale = { 0.75f, 0.75f, 0.75f };
3639
3640 zNPCRobot* robot = (zNPCRobot*)psyche->clt_owner;
3641 robot->glyf_stun = GLYF_Acquire(NPC_GLYPH_DAZED);
3642 if (robot->glyf_stun != NULL)
3643 {
3644 robot->glyf_stun->Enable(1);
3645 robot->glyf_stun->RotSet(&ang_delta, 0);
3646 robot->glyf_stun->ScaleSet(&scale);
3647 }
3648}
3649
3650void zNPCGoalEvilPat::GlyphStop()
3651{

Callers

nothing calls this directly

Calls 4

EnableMethod · 0.80
RotSetMethod · 0.80
ScaleSetMethod · 0.80
GLYF_AcquireFunction · 0.70

Tested by

no test coverage detected