MCPcopy Create free account
hub / github.com/ZDoom/Raze / ParseMapName

Method ParseMapName

source/core/g_mapinfo.cpp:792–799  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

790//==========================================================================
791
792void FMapInfoParser::ParseMapName(FString &mapname)
793{
794 if (!CheckLegacyMapDefinition(mapname))
795 {
796 sc.MustGetString();
797 mapname = ExtractFileBase(sc.String);
798 }
799}
800
801//==========================================================================
802//

Callers 1

DEFINE_MAP_OPTIONFunction · 0.80

Calls 2

ExtractFileBaseFunction · 0.85
MustGetStringMethod · 0.80

Tested by

no test coverage detected