mirror of
https://github.com/rwengine/openrw.git
synced 2024-11-22 18:32:44 +01:00
12 lines
282 B
C++
12 lines
282 B
C++
#include "test_Globals.hpp"
|
|
|
|
#include <GameConfig.hpp>
|
|
|
|
#if RW_TEST_WITH_DATA
|
|
std::string Global::getGamePath() {
|
|
GameConfig config;
|
|
config.loadFile(GameConfig::getDefaultConfigPath() / "openrw.ini");
|
|
return config.getGameDataPath().string(); //FIXME: use path
|
|
}
|
|
#endif
|