-
Notifications
You must be signed in to change notification settings - Fork 44
/
LoadProgressManager.h
58 lines (49 loc) · 1.12 KB
/
LoadProgressManager.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
#pragma once
#include <YRPP.h>
#include <Helpers/CompileTime.h>
struct SHPStruct;
class Surface;
class LoadProgressManager
{
public:
static constexpr reference<LoadProgressManager*, 0xABC9BCu> const Instance{};
static void DrawText(const wchar_t* pText, Point2D location, WORD color) {
if(auto const pManager = LoadProgressManager::Instance()) {
if(auto const pSurface = pManager->ProgressSurface) {
pSurface->DrawText(pText, location, color);
}
}
}
LoadProgressManager()
{ JMP_THIS(0x552A40); }
virtual ~LoadProgressManager()
{ JMP_THIS(0x552AA0); }
void Draw()
{ JMP_THIS(0x552D60); }
DWORD field_4;
DWORD field_8;
DWORD field_C;
DWORD field_10;
DWORD field_14;
DWORD field_18;
DWORD field_1C;
DWORD field_20;
DWORD field_24;
DWORD field_28;
DWORD field_2C;
DWORD field_30;
DWORD field_34;
DWORD field_38;
wchar_t* LoadMessage;
wchar_t* LoadBriefing;
SHPStruct * TitleBarSHP;
SHPStruct * LoadBarSHP;
SHPStruct * BackgroundSHP;
bool TitleBarSHP_loaded;
bool LoadBarSHP_loaded;
bool BackgroundSHP_loaded;
DWORD field_54;
DWORD field_58;
DWORD field_5C;
Surface * ProgressSurface;
};