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

Function archvertex

source/src/editing.cpp:1084–1094  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1082bool archvinit = false;
1083
1084void archvertex(int *span, int *vert, char *delta)
1085{
1086 if(!archvinit)
1087 {
1088 archvinit = true;
1089 loop(s,MAXARCHVERT) loop(v,MAXARCHVERT) archverts[s][v] = 0;
1090 }
1091 if(*span>=MAXARCHVERT || *vert>=MAXARCHVERT || *span<0 || *vert<0) return;
1092 intret(archverts[*span][*vert]);
1093 if(*delta) archverts[*span][*vert] = ATOI(delta);
1094}
1095COMMAND(archvertex, "iis");
1096
1097void archxy(int sidedelta, int *averts, block &sel)

Callers

nothing calls this directly

Calls 2

intretFunction · 0.85
loopFunction · 0.70

Tested by

no test coverage detected