MCPcopy Index your code
hub / github.com/assaultcube/AC / loopv

Function loopv

source/src/rendermodel.cpp:262–267  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

260
261 vector<tempmmslot> tempslots;
262 loopv(mapmodels)
263 {
264 tempslots.add().m = mapmodels[i];
265 tempslots.last().oldslot.add(i);
266 tempslots.last().used = false;
267 }
268 loopv(ents) if(ents[i].type == MAPMODEL && tempslots.inrange(ents[i].attr2)) tempslots[ents[i].attr2].used = true;
269 tempslots.sort(tempmmsort);
270

Callers 7

rendermodel.cppFile · 0.70
mapmodelslotusageFunction · 0.70
deletemapmodelslotFunction · 0.70
sortmapmodelslotsFunction · 0.70
preload_mapmodelsFunction · 0.70
renderclientsFunction · 0.70

Calls 15

escapestringFunction · 0.85
cvecprintfFunction · 0.85
delstringFunction · 0.85
renderbatchedmodelFunction · 0.85
lookuptextureFunction · 0.85
gettextureslotFunction · 0.85
copystringFunction · 0.85
clientlogfFunction · 0.85
loadmodelFunction · 0.85
inrangeMethod · 0.80
loopvjFunction · 0.70
loopjFunction · 0.70

Tested by

no test coverage detected