Files
OpenRCT2-Web/test/tests/TestData.cpp
T

26 lines
766 B
C++
Raw Normal View History

2018-06-15 14:07:34 +02:00
/*****************************************************************************
* Copyright (c) 2014-2024 OpenRCT2 developers
2018-06-15 14:07:34 +02:00
*
* For a complete list of all authors, please refer to contributors.md
* Interested in contributing? Visit https://github.com/OpenRCT2/OpenRCT2
*
* OpenRCT2 is licensed under the GNU General Public License version 3.
*****************************************************************************/
2017-01-11 17:15:24 +00:00
#include "TestData.h"
2018-06-22 22:29:03 +02:00
#include <openrct2/core/Path.hpp>
2017-01-11 17:15:24 +00:00
namespace TestData
{
std::string GetBasePath()
{
return "testdata";
}
std::string GetParkPath(std::string name)
{
std::string path = OpenRCT2::Path::Combine(GetBasePath(), u8"parks", name);
2017-01-11 17:15:24 +00:00
return path;
}
2018-05-04 22:40:09 +02:00
} // namespace TestData