Create test data helpers

This commit is contained in:
Ted John committed 2017-06-04 00:47:33 +01:00
1 parent cf7f1b7335
commit b28fde6ae7
4 files changed
+29 -2

No files matched your search

+16
View File
@@ -0,0 +1,16 @@
#include <openrct2/core/Path.hpp>
#include "TestData.h"
namespace TestData
{
std::string GetBasePath()
{
return "testdata";
}
std::string GetParkPath(std::string name)
{
std::string path = Path::Combine(GetBasePath(), "parks", name);
return path;
}
};