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

Method DoLaserRendering

src/SB/Game/zNPCTypeRobot.cpp:815–826  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

813}
814
815void zNPCTubeSlave::DoLaserRendering()
816{
817 xGoal* goal;
818 if (tubespot == ROBO_TUBE_PAUL)
819 {
820 goal = psy_instinct->GetCurGoal();
821 if (goal != NULL && (goal->GetID() == NPC_GOAL_TUBEATTACK))
822 {
823 ((zNPCGoalTubeAttack*)(goal))->LaserRender();
824 }
825 }
826}
827
828void zNPCFodBzzt::Process(xScene* sc, F32 dt)
829{

Callers

nothing calls this directly

Calls 3

GetCurGoalMethod · 0.80
GetIDMethod · 0.80
LaserRenderMethod · 0.80

Tested by

no test coverage detected