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

Function drawzone

source/src/rendergl.cpp:901–908  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

899}
900
901void drawzone(int *x1, int *x2, int *y1, int *y2, int *color)
902{
903 zone &newzone = zones.add();
904 newzone.x1 = *x1; newzone.x2 = *x2;
905 newzone.y1 = *y1; newzone.y2 = *y2;
906 newzone.color = *color ? *color : 0x00FF00;
907 clearminimap();
908}
909COMMAND(drawzone, "iiiii");
910
911void resetzones()

Callers

nothing calls this directly

Calls 2

clearminimapFunction · 0.85
addMethod · 0.45

Tested by

no test coverage detected