MCPcopy Create free account
hub / github.com/REGoth-project/REGoth / hasGameData

Function hasGameData

src/engine/PlatformAndroid.cpp:414–421  ·  view source on GitHub ↗

* @return Whether game-data has been found */

Source from the content-addressed store, hash-verified

412 * @return Whether game-data has been found
413 */
414static bool hasGameData()
415{
416 const bool recursive = true;
417 std::list<std::string> gamefiles = Utils::getFilesInDirectory(CONTENT_BASE_PATH + "/Gothic", "vdf", recursive);
418
419 // Check for a crucial game file to be there
420 return !gamefiles.empty();
421}
422
423/**
424 * Extracts a given gothic installer executable

Calls 1

emptyMethod · 0.45

Tested by

no test coverage detected