MCPcopy Create free account
hub / github.com/BohemiaInteractive/CWR / ProcessFullName

Function ProcessFullName

engine/Poseidon/UI/Map/UIArcadeWaypoint.cpp:901–915  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

899}
900
901bool ProcessFullName(RString name)
902{
903 const auto selection = MissionPathLoader::Loader::DescribeMissionFile((const char*)name);
904 if (!selection)
905 {
906 return false;
907 }
908
909 CurrentCampaign = "";
910 CurrentBattle = "";
911 CurrentMission = "";
912 SetBaseDirectory("");
913 SetMission(selection->worldName.c_str(), selection->missionName.c_str(), selection->missionParentDirectory.c_str());
914 return true;
915}
916
917bool ParseCutscene(RString cutscene, bool multiplayer)
918{

Callers 1

StartIntroMethod · 0.85

Calls 2

SetBaseDirectoryFunction · 0.85
SetMissionFunction · 0.85

Tested by

no test coverage detected