File tree Expand file tree Collapse file tree 4 files changed +28
-2
lines changed
Expand file tree Collapse file tree 4 files changed +28
-2
lines changed Original file line number Diff line number Diff line change 5959#include "Sonicteam/MyTexture.h"
6060#include "Sonicteam/MyTransforms.h"
6161#include "Sonicteam/NoSyncThread.h"
62+ #include "Sonicteam/PauseTask.h"
6263#include "Sonicteam/Player/IDynamicLink.h"
6364#include "Sonicteam/Player/IExportExternalFlag.h"
6465#include "Sonicteam/Player/IExportPostureRequestFlag.h"
Original file line number Diff line number Diff line change @@ -11,7 +11,8 @@ namespace Sonicteam
1111 xpointer<CsdObject> m_pCsdObject;
1212 MARATHON_INSERT_PADDING (0xA0 );
1313 be<float > m_TextPriority;
14- MARATHON_INSERT_PADDING (0x44 );
14+ MARATHON_INSERT_PADDING (0x40 );
15+ xpointer<HudTextParts> m_pHudTextRoot;
1516 bool m_ShowMissionWindow;
1617 };
1718}
Original file line number Diff line number Diff line change 1+ #pragma once
2+
3+ #include < Marathon.inl>
4+
5+ namespace Sonicteam
6+ {
7+ class PauseTask : public SoX ::Engine::Task
8+ {
9+ public:
10+ MARATHON_INSERT_PADDING (0x230 );
11+ xpointer<TextEntity> m_pMissionText;
12+ };
13+ }
Original file line number Diff line number Diff line change @@ -1649,7 +1649,7 @@ PPC_FUNC_IMPL(__imp__sub_824E11D0);
16491649PPC_FUNC (sub_824E11D0)
16501650{
16511651 auto pHUDMainMenu = (Sonicteam::HUDMainMenu*)(base + ctx.r3 .u32 );
1652- auto pHudTextRoot = pHUDMainMenu->m_pHudTextRoot -> m_pNext ;
1652+ auto pHudTextRoot = pHUDMainMenu->m_pHudTextRoot ;
16531653
16541654 static bool s_preservedTextPositions{};
16551655 static float s_multiplayerTextOffsetX{};
@@ -1708,6 +1708,17 @@ PPC_FUNC(sub_824DCF40)
17081708 __imp__sub_824DCF40 (ctx, base);
17091709}
17101710
1711+ // Sonicteam::PauseTask::Update
1712+ PPC_FUNC_IMPL (__imp__sub_82509870);
1713+ PPC_FUNC (sub_82509870)
1714+ {
1715+ auto pPauseTask = (Sonicteam::PauseTask*)(base + ctx.r3 .u32 );
1716+
1717+ SetTextEntityModifier (pPauseTask->m_pMissionText .get (), CSD_ALIGN_BOTTOM | CSD_SCALE);
1718+
1719+ __imp__sub_82509870 (ctx, base);
1720+ }
1721+
17111722// Sonicteam::HintWindowTask::Update
17121723PPC_FUNC_IMPL (__imp__sub_824D12F0);
17131724PPC_FUNC (sub_824D12F0)
You can’t perform that action at this time.
0 commit comments