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 59
59
#include "Sonicteam/MyTexture.h"
60
60
#include "Sonicteam/MyTransforms.h"
61
61
#include "Sonicteam/NoSyncThread.h"
62
+ #include "Sonicteam/PauseTask.h"
62
63
#include "Sonicteam/Player/IDynamicLink.h"
63
64
#include "Sonicteam/Player/IExportExternalFlag.h"
64
65
#include "Sonicteam/Player/IExportPostureRequestFlag.h"
Original file line number Diff line number Diff line change @@ -11,7 +11,8 @@ namespace Sonicteam
11
11
xpointer<CsdObject> m_pCsdObject;
12
12
MARATHON_INSERT_PADDING (0xA0 );
13
13
be<float > m_TextPriority;
14
- MARATHON_INSERT_PADDING (0x44 );
14
+ MARATHON_INSERT_PADDING (0x40 );
15
+ xpointer<HudTextParts> m_pHudTextRoot;
15
16
bool m_ShowMissionWindow;
16
17
};
17
18
}
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);
1649
1649
PPC_FUNC (sub_824E11D0)
1650
1650
{
1651
1651
auto pHUDMainMenu = (Sonicteam::HUDMainMenu*)(base + ctx.r3 .u32 );
1652
- auto pHudTextRoot = pHUDMainMenu->m_pHudTextRoot -> m_pNext ;
1652
+ auto pHudTextRoot = pHUDMainMenu->m_pHudTextRoot ;
1653
1653
1654
1654
static bool s_preservedTextPositions{};
1655
1655
static float s_multiplayerTextOffsetX{};
@@ -1708,6 +1708,17 @@ PPC_FUNC(sub_824DCF40)
1708
1708
__imp__sub_824DCF40 (ctx, base);
1709
1709
}
1710
1710
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
+
1711
1722
// Sonicteam::HintWindowTask::Update
1712
1723
PPC_FUNC_IMPL (__imp__sub_824D12F0);
1713
1724
PPC_FUNC (sub_824D12F0)
You can’t perform that action at this time.
0 commit comments