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

Method render

src/SB/Game/zEntPlayerOOBState.cpp:895–912  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

893}
894
895bool oob_state::render()
896{
897 if ((shared.flags & 0x3) != 3)
898 {
899 return false;
900 }
901
902 if (!shared.control)
903 {
904 return false;
905 }
906
907 xLightKit_Enable(globals.player.ent.lightKit, globals.currWorld);
908 xEntRender(&globals.player.ent);
909 xLightKit_Enable(NULL, globals.currWorld);
910
911 return true;
912}
913
914void oob_state::fx_render()
915{

Callers

nothing calls this directly

Calls 2

xLightKit_EnableFunction · 0.50
xEntRenderFunction · 0.50

Tested by

no test coverage detected