OpenRCT2/test/tests/TestData.cpp

27 lines
756 B
C++
Raw Normal View History

/*****************************************************************************
* Copyright (c) 2014-2024 OpenRCT2 developers
*
* 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 18:15:24 +01:00
#include "TestData.h"
2018-06-22 22:29:03 +02:00
#include <openrct2/core/Path.hpp>
2017-01-11 18:15:24 +01:00
namespace TestData
{
std::string GetBasePath()
{
return "testdata";
}
std::string GetParkPath(std::string name)
{
std::string path = Path::Combine(GetBasePath(), u8"parks", name);
2017-01-11 18:15:24 +01:00
return path;
}
2018-05-04 22:40:09 +02:00
} // namespace TestData