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

Function xShadowManager_Add

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

Source from the content-addressed store, hash-verified

226}
227
228void xShadowManager_Add(xEnt* ent)
229{
230 for (int i = 0; i < sMgrCount; i++)
231 {
232 if (sMgrList[i].ent == ent)
233 {
234 return;
235 }
236 }
237
238 if (sMgrCount < sMgrTotal)
239 {
240 sMgrList[sMgrCount].ent = ent;
241 sMgrList[sMgrCount].cache = 0;
242 sMgrList[sMgrCount].priority = 1000;
243 sMgrList[sMgrCount].cacheReady = 0;
244 sMgrCount++;
245 }
246}
247
248void xShadowManager_Remove(xEnt* ent)
249{

Callers 2

xEntBoulder_RenderFunction · 0.70
xShadow_ListAddFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected