diff options
| author | Léo Lam <leo@leolam.fr> | 2026-10-13 10:39:03 +0200 |
|---|---|---|
| committer | Léo Lam <leo@leolam.fr> | 2026-10-15 01:59:46 +0200 |
| commit | 8eca2642b01591ccbfbee98e66181d8ad5982cd3 (patch) | |
| tree | deede94dd7b37cea5ccc651b22dd7cc58a7b77c5 /src/KingSystem/Map/mapRail.cpp | |
| parent | e78c02499d0f108ae9c00158198289764c5980fe (diff) | |
ksys, uking: move four definitions to match link order
calc_ goes before leave_ in ForceSetCameraPos and InWaterSelForkASPlay,
and RailRoute's dtor goes after getCheckPointName (an unnamed row
there is likely its D0).
BaseProcJobHandler's ctor is linked right before BaseProc's ctor, so it
moves into actBaseProc.cpp, and the class moves into actBaseProc.h so
that its declaration stays with its definition.
(AI assisted using Claude Opus 5.5)
Diffstat (limited to 'src/KingSystem/Map/mapRail.cpp')
| -rw-r--r-- | src/KingSystem/Map/mapRail.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/KingSystem/Map/mapRail.cpp b/src/KingSystem/Map/mapRail.cpp index 2ddf960c..b279c3c1 100644 --- a/src/KingSystem/Map/mapRail.cpp +++ b/src/KingSystem/Map/mapRail.cpp @@ -226,8 +226,6 @@ RailRoute::RailRoute() { mFlags.set(Flag::Walkable); } -RailRoute::~RailRoute() = default; - bool RailRoute::isRenderEnabled() const { return mFlags.isOn(Flag::RenderEnabled); } @@ -252,6 +250,8 @@ const char* RailRoute::getCheckPointName(s32 idx) const { return static_cast<RailRoutePoint*>(mRailPoints[idx])->mCheckPointName; } +RailRoute::~RailRoute() = default; + bool RailRoute::parse(MubinIter* iter) { int success = Rail::parse(iter); |
