forked from rosebudai/OpenRCT2-Web
Create test data helpers
This commit is contained in:
1 parent
cf7f1b7335
commit
b28fde6ae7
4 files changed
+29
-2
No files matched your search
@@ -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;
|
||||
}
|
||||
};
|
||||
Reference in new issue
Block a user