1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-02-02 03:35:09 +01:00

Move path related functions to Context.cpp

- rct2_init_directories
- get_file_path
This commit is contained in:
Ted John
2017-07-28 19:11:12 +01:00
parent 8bc4e52ae9
commit e6e503a853
9 changed files with 183 additions and 175 deletions

View File

@@ -595,13 +595,6 @@ private:
Console::Error::WriteLine("Unable to save highscores to '%s'", path.c_str());
}
}
static utf8 * GetRCT2Directory(utf8 * buffer, size_t bufferSize)
{
String::Set(buffer, bufferSize, gRCT2AddressAppPath);
Path::Append(buffer, bufferSize, "Scenarios");
return buffer;
}
};
static ScenarioRepository * _scenarioRepository;