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:
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user