MCPcopy Create free account
hub / github.com/codereader/DarkRadiant / newMap

Method newMap

radiantcore/map/Map.cpp:1066–1073  ·  view source on GitHub ↗

Static command targets

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 4

freeMapMethod · 0.80
createNewMapMethod · 0.80
_Function · 0.50
askForSaveMethod · 0.45

Tested by

no test coverage detected