Clear everything from all land */
| 176 | |
| 177 | /** Clear everything from all land */ |
| 178 | void Micropolis::clearUnnatural() |
| 179 | { |
| 180 | short x, y; |
| 181 | |
| 182 | for (x = 0; x < WORLD_W; x++) { |
| 183 | for (y = 0; y < WORLD_H; y++) { |
| 184 | if (map[x][y] > WOODS) { |
| 185 | map[x][y] = DIRT; |
| 186 | } |
| 187 | } |
| 188 | } |
| 189 | } |
| 190 | |
| 191 | /** |
| 192 | * Construct a plain island as world, surrounded by 5 tiles of river. |
nothing calls this directly
no outgoing calls
no test coverage detected