1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2025-12-22 23:33:04 +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

@@ -74,11 +74,11 @@ static constexpr float window_scroll_locations[][2] = {
};
// clang-format on
namespace WindowCloseFlags
namespace OpenRCT2::WindowCloseFlags
{
static constexpr uint32_t None = 0;
static constexpr uint32_t CloseSingle = (1 << 0);
} // namespace WindowCloseFlags
} // namespace OpenRCT2::WindowCloseFlags
static void WindowDrawCore(DrawPixelInfo& dpi, WindowBase& w, int32_t left, int32_t top, int32_t right, int32_t bottom);
static void WindowDrawSingle(DrawPixelInfo& dpi, WindowBase& w, int32_t left, int32_t top, int32_t right, int32_t bottom);