MCPcopy Create free account
hub / github.com/diasurgical/devilution / GetArea

Function GetArea

Source/drlg_l4.cpp:1212–1228  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1210}
1211
1212static long GetArea()
1213{
1214 int i, j;
1215 long rv;
1216
1217 rv = 0;
1218
1219 for (j = 0; j < 20; j++) {
1220 for (i = 0; i < 20; i++) {
1221 if (dung[i][j] == 1) {
1222 rv++;
1223 }
1224 }
1225 }
1226
1227 return rv;
1228}
1229
1230static void L4drawRoom(int x, int y, int width, int height)
1231{

Callers 1

DRLG_L4Function · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected