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

Function rendermapmodels

source/src/entities.cpp:101–113  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

99}
100
101void rendermapmodels()
102{
103 loopv(ents)
104 {
105 entity &e = ents[i];
106 if(e.type==MAPMODEL)
107 {
108 mapmodelinfo *mmi = getmminfo(e.attr2);
109 if(!mmi) continue;
110 rendermodel(mmi->name, ANIM_MAPMODEL|ANIM_LOOP, e.attr4, 0, vec(e.x, e.y, S(e.x, e.y)->floor + mmi->zoff + float(e.attr3) / ENTSCALE5), e.attr6, float(e.attr1) / ENTSCALE10, float(e.attr5) / ENTSCALE10, 10.0f, 0, NULL, NULL, mmi->scale);
111 }
112 }
113}
114
115void renderentarrow(const entity &e, const vec &dir, float radius)
116{

Callers 4

drawreflectionFunction · 0.85
drawminimapFunction · 0.85
gl_drawframeFunction · 0.85
drawstencilshadowsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected