forked from Ares-Developers/YRpp
-
Notifications
You must be signed in to change notification settings - Fork 31
/
Copy pathProgressScreenClass.h
50 lines (42 loc) · 984 Bytes
/
ProgressScreenClass.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
#pragma once
#include <GeneralDefinitions.h>
#include <LoadProgressManager.h>
#include <FileFormats/SHP.h>
#include <Helpers/CompileTime.h>
class ProgressScreenClass {
public:
DEFINE_REFERENCE(ProgressScreenClass, Instance, 0xAC4F58u)
void SetSide(int idx)
{ JMP_THIS(0x642B10); }
int GetSide()
{ JMP_THIS(0x642B20); }
int field_0;
LoadProgressManager *LoadManager;
double PlayerProgresses[8];
int MainProgress;
int field_4C;
void *PlayerStartSpot; // bah, I have multiple definitions of this in my IDB, can't be bothered to fix it now
SHPStruct *someSHP;
char field_58;
char field_59;
char field_5A;
char field_5B;
int field_5C;
char field_60;
byte TotalPlayers;
char field_62;
char field_63;
HWND hWnd;
int field_68;
int field_6C;
char field_70;
char field_71;
char field_72;
char field_73;
int field_74;
int field_78;
int field_7C;
int PlayerSide; // !! this is set to campaign -> CD for singleplay
protected:
ProgressScreenClass(){};
};