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

Function loopi

source/src/rendermodel.cpp:326–335  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

324 copystring(r->name, name);
325 }
326 loopi(MMA_NUM)
327 {
328 if(ma.n[i])
329 {
330 if(!r->n[i]) mapmodelchanged = 1;
331 DELSTRING(r->n[i]); // overwrite existing attributes
332 r->n[i] = ma.n[i];
333 ma.n[i] = NULL;
334 }
335 }
336 if(!mr) mdlregistry.access(r->name, r);
337}
338

Callers 6

sortmapmodelslotsFunction · 0.70
loadmodelFunction · 0.70
getmapmodelattributesFunction · 0.70
findanimFunction · 0.70
preload_entmodelsFunction · 0.70

Calls 12

renderbatchedmodelFunction · 0.85
renderbatchedmodelshadowFunction · 0.85
loadmodelFunction · 0.85
sortMethod · 0.80
distMethod · 0.80
loopvjFunction · 0.70
emptyMethod · 0.45
startrenderMethod · 0.45
addMethod · 0.45
hasshadowsMethod · 0.45
endrenderMethod · 0.45
genshadowsMethod · 0.45

Tested by

no test coverage detected