MCPcopy Create free account
hub / github.com/OGSR/OGSR-Engine / Exec_Visibility

Method Exec_Visibility

ogsr_engine/xrGame/CustomMonster.cpp:574–591  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

572}
573
574void CCustomMonster::Exec_Visibility()
575{
576 // if (0==Sector()) return;
577 if (!g_Alive())
578 return;
579
580 Device.Statistic->AI_Vis.Begin();
581 switch (eye_pp_stage % 2)
582 {
583 case 0:
584 eye_pp_s0();
585 eye_pp_s1();
586 break;
587 case 1: eye_pp_s2(); break;
588 }
589 ++eye_pp_stage;
590 Device.Statistic->AI_Vis.End();
591}
592
593#ifdef DEBUG
594void CCustomMonster::UpdateCamera()

Callers

nothing calls this directly

Calls 3

g_AliveFunction · 0.85
BeginMethod · 0.45
EndMethod · 0.45

Tested by

no test coverage detected