Static command targets
| 1064 | |
| 1065 | // Static command targets |
| 1066 | void Map::newMap(const cmd::ArgumentList& args) |
| 1067 | { |
| 1068 | if (GlobalMap().askForSave(_("New Map"))) |
| 1069 | { |
| 1070 | GlobalMap().freeMap(); |
| 1071 | GlobalMap().createNewMap(); |
| 1072 | } |
| 1073 | } |
| 1074 | |
| 1075 | void Map::openMapCmd(const cmd::ArgumentList& args) |
| 1076 | { |
nothing calls this directly
no test coverage detected