1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-24 23:34:37 +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,7 +17,7 @@
using namespace OpenRCT2;
namespace Graph
namespace OpenRCT2::Graph
{
static void DrawMonths(DrawPixelInfo& dpi, const uint8_t* history, int32_t count, const ScreenCoordsXY& origCoords)
{
@@ -105,7 +105,7 @@ namespace Graph
DrawLineA(dpi, history, count, screenPos);
DrawLineB(dpi, history, count, screenPos);
}
} // namespace Graph
} // namespace OpenRCT2::Graph
struct FinancialTooltipInfo
{
@@ -153,7 +153,7 @@ static const FinancialTooltipInfo FinanceTooltipInfoFromMoney(
return { coords, history[historyIndex] };
}
namespace Graph
namespace OpenRCT2::Graph
{
static void DrawMonths(DrawPixelInfo& dpi, const money64* history, int32_t count, const ScreenCoordsXY& origCoords)
{
@@ -288,4 +288,4 @@ namespace Graph
DrawLineB(dpi, history, count, screenCoords, modifier, offset);
DrawHoveredValue(dpi, history, count, screenCoords, modifier, offset);
}
} // namespace Graph
} // namespace OpenRCT2::Graph