1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-20 21:43:06 +01:00

Adopt existing namespaces into OpenRCT2 namespace (#22368)

* Put all of TitleSequenceManager into the same namespace

* Move RideConstructionState into the OpenRCT2 namespace

* Adopt existing namespaces into OpenRCT2 namespace

This adds `using namespace OpenRCT2` to compilation units where appropriate,
as a means to get the codebase to compile until these units have been placed
in a namespace of their own.
This commit is contained in:
Aaron van Geffen
2024-07-26 09:59:58 +02:00
committed by GitHub
parent ecbb79db4c
commit 05e56517ab
499 changed files with 1373 additions and 1025 deletions

View File

@@ -32,7 +32,7 @@ jmethodID AndroidClassLoader::_findClassMethod;
// available until after JNI_OnLoad is called.
static std::shared_ptr<AndroidClassLoader> acl;
namespace Platform
namespace OpenRCT2::Platform
{
std::string GetFolderPath(SPECIAL_FOLDER folder)
{
@@ -192,7 +192,7 @@ namespace Platform
AndroidClassLoader::_classLoader, AndroidClassLoader::_findClassMethod,
env->NewStringUTF(std::string(name).c_str())));
}
} // namespace Platform
} // namespace OpenRCT2::Platform
JNIEXPORT jint JNICALL JNI_OnLoad(JavaVM* pjvm, void* reserved)
{