| 344 | } |
| 345 | |
| 346 | command_result revtoggle(color_ostream &out, vector<string> & params) { |
| 347 | if (revealed) |
| 348 | return unreveal(out, params); |
| 349 | else |
| 350 | return reveal(out, params); |
| 351 | } |
| 352 | |
| 353 | // Unhides map tiles according to visibility, starting from the given |
| 354 | // coordinates. This algorithm only processes adjacent hidden tiles, so it must |