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

Function renderclients

source/src/rendermodel.cpp:1089–1094  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1087}
1088
1089void renderclients()
1090{
1091 playerent *d;
1092 loopv(players) if((d = players[i]) && d->state!=CS_SPAWNING && d->state!=CS_SPECTATE && (!player1->isspectating() || player1->spectatemode != SM_FOLLOW1ST || player1->followplayercn != i)) renderclientp(d);
1093 if(player1->state==CS_DEAD || ((reflecting && !refracting) && (player1->state!=CS_SPECTATE || player1->spectatemode==SM_FLY))) renderclientp(player1);
1094}
1095
1096void loadallmapmodels() // try to find all mapmodels in packages/models/mapmodels
1097{

Callers 3

drawreflectionFunction · 0.85
gl_drawframeFunction · 0.85
drawstencilshadowsFunction · 0.85

Calls 3

renderclientpFunction · 0.85
isspectatingMethod · 0.80
loopvFunction · 0.70

Tested by

no test coverage detected