| 1210 | } |
| 1211 | |
| 1212 | static 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 | |
| 1230 | static void L4drawRoom(int x, int y, int width, int height) |
| 1231 | { |