MCPcopy Create free account
hub / github.com/diasurgical/DevilutionX / LevelFileExists

Function LevelFileExists

Source/loadsave.cpp:955–965  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

953}
954
955bool LevelFileExists(SaveWriter &archive)
956{
957 char szName[MaxMpqPathSize];
958
959 GetTempLevelNames(szName);
960 if (archive.HasFile(szName))
961 return true;
962
963 GetPermLevelNames(szName);
964 return archive.HasFile(szName);
965}
966
967void LoadMatchingItems(LoadHelper &file, const Player &player, const int n, Item *pItem)
968{

Callers 1

ConvertLevelsFunction · 0.85

Calls 3

GetTempLevelNamesFunction · 0.85
GetPermLevelNamesFunction · 0.85
HasFileMethod · 0.45

Tested by

no test coverage detected