Clear the whole world to ::DIRT tiles */
| 163 | |
| 164 | /** Clear the whole world to ::DIRT tiles */ |
| 165 | void Micropolis::clearMap() |
| 166 | { |
| 167 | short x, y; |
| 168 | |
| 169 | for (x = 0; x < WORLD_W; x++) { |
| 170 | for (y = 0; y < WORLD_H; y++) { |
| 171 | map[x][y] = DIRT; |
| 172 | } |
| 173 | } |
| 174 | } |
| 175 | |
| 176 | |
| 177 | /** Clear everything from all land */ |
nothing calls this directly
no outgoing calls
no test coverage detected