mirror of
https://github.com/rwengine/openrw.git
synced 2024-09-02 16:49:46 +02: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
|