1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-02-03 18:07:53 +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

@@ -17,6 +17,8 @@
#include <cstring>
using namespace OpenRCT2;
#pragma region CommandLineArgEnumerator
CommandLineArgEnumerator::CommandLineArgEnumerator(const char* const* arguments, int32_t count)
@@ -91,7 +93,7 @@ bool CommandLineArgEnumerator::TryPopString(const char** result)
#pragma endregion
namespace CommandLine
namespace OpenRCT2::CommandLine
{
constexpr const char* HelpText = "openrct2 -ha shows help for all commands. "
"openrct2 <command> -h will show help and details for a given command.";
@@ -522,7 +524,7 @@ namespace CommandLine
}
return nullptr;
}
} // namespace CommandLine
} // namespace OpenRCT2::CommandLine
int32_t CommandLineRun(const char** argv, int32_t argc)
{