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

Method createNewMap

radiantcore/map/Map.cpp:684–696  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

682}
683
684void Map::createNewMap()
685{
686 setMapName(_(MAP_UNNAMED_STRING));
687
688 loadMapResourceFromPath(_mapName);
689
690 SceneChangeNotify();
691
692 setModified(false);
693
694 OperationMessage::Send(_("Empty Map created"));
695 focusViews(Vector3(0,0,30), Vector3(0,0,0));
696}
697
698IMapExporter::Ptr Map::createMapExporter(IMapWriter& writer,
699 const scene::IMapRootNodePtr& root, std::ostream& mapStream)

Callers 3

onMainFrameReadyMethod · 0.80
SetUpMethod · 0.80
newMapMethod · 0.80

Calls 2

SceneChangeNotifyFunction · 0.85
_Function · 0.50

Tested by 1

SetUpMethod · 0.64