MCPcopy Create free account
hub / github.com/OpenXcom/OpenXcom / setDataFolder

Function setDataFolder

src/Engine/Options.cpp:570–573  ·  view source on GitHub ↗

* Changes the game's current Data folder where resources * and X-Com files are loaded from. * @param folder Full path to Data folder. */

Source from the content-addressed store, hash-verified

568 * @param folder Full path to Data folder.
569 */
570void setDataFolder(const std::string &folder)
571{
572 _dataFolder = folder;
573}
574
575/**
576 * Returns the game's list of possible Data folders.

Callers 2

getDataFileFunction · 0.85
getDataFolderFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected