MCPcopy Create free account
hub / github.com/OpenRCT2/OpenRCT2 / GetSearchablePathsRCT1

Function GetSearchablePathsRCT1

src/openrct2/platform/Platform.Linux.cpp:393–405  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

391 }
392
393 std::vector<std::string> GetSearchablePathsRCT1()
394 {
395 auto userHome = GetFolderPath(SpecialFolder::userHome);
396 return {
397 userHome + "/.wine/drive_c/GOG Games/RollerCoaster Tycoon Deluxe",
398 userHome + "/.wine/drive_c/Program Files/GalaxyClient/Games/RollerCoaster Tycoon Deluxe",
399 userHome + "/.wine/drive_c/Program Files (x86)/GalaxyClient/Games/RollerCoaster Tycoon Deluxe",
400 userHome + "/.wine/drive_c/Program Files/Hasbro Interactive/RollerCoaster Tycoon",
401 userHome + "/.wine/drive_c/Program Files (x86)/Hasbro Interactive/RollerCoaster Tycoon",
402 // game-data-packager uses this path when installing game files
403 "/usr/share/games/roller-coaster-tycoon",
404 };
405 }
406
407 std::vector<std::string> GetSearchablePathsRCT2()
408 {

Callers 1

FindRCT1PathFunction · 0.50

Calls 1

GetFolderPathFunction · 0.70

Tested by

no test coverage detected