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

Function xShadowReceiveShadowSetup

src/SB/Core/x/xShadow.cpp:107–120  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

105}
106
107S32 xShadowReceiveShadowSetup(xEnt* ent)
108{
109 if
110 (
111 (ent->model != NULL) &&
112 (xEntIsVisible(ent)) &&
113 (ent->baseFlags & 0x10) &&
114 (!iModelCull(ent->model->Data, ent->model->Mat))
115 )
116 {
117 return 1;
118 }
119 return 0;
120}
121
122void xShadow_ListAdd(xEnt* ent)
123{

Callers

nothing calls this directly

Calls 2

xEntIsVisibleFunction · 0.85
iModelCullFunction · 0.85

Tested by

no test coverage detected