MCPcopy Create free account
hub / github.com/assaultcube/AC / loopv

Function loopv

source/src/worldlight.cpp:205–209  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

203 seedMT(ents.length() + hdr.maprevision); // static seed -> nothing random here
204
205 loopv(ents)
206 {
207 entity &e = ents[i];
208 if(e.type==LIGHT) calclightsource(e);
209 }
210
211 popMT(); // undo the static seedMT() from above
212

Callers 2

cleardynlightsFunction · 0.70
removedynlightsFunction · 0.70

Calls 8

calclightsourceFunction · 0.85
freeblockFunction · 0.85
preparedynlightFunction · 0.85
insideareaFunction · 0.85
postlightareaFunction · 0.85
calcintensityMethod · 0.80
removeMethod · 0.45
addMethod · 0.45

Tested by

no test coverage detected