-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathxGameController.h
More file actions
39 lines (27 loc) · 882 Bytes
/
Copy pathxGameController.h
File metadata and controls
39 lines (27 loc) · 882 Bytes
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
// Supported with union (c) 2020 Union team
// Union HEADER file
namespace GOTHIC_ENGINE {
class xGameController
{
public:
xGameController(const xGameController&) = delete;
xGameController& operator=(xGameController&) = delete;
static xGameController& GetInstance() { return oInstance; }
void Init();
void Process();
void ProcessBuffsUI();
void DefineExternals();
void AddBuffArch(string type, string name, string startFX = "NULL", string tickFX = "NULL", string endFX = "NULL");
BuffArch* GetBuffArch(string type);
void AddHeavyArmor(string instance);
bool IsArmorHeavy(string instance);
oCViewStatusBar* invBar = nullptr;
oCViewStatusBar* toxicBar = nullptr;
private:
xGameController() = default;
static xGameController oInstance;
int timerSecs = 0;
std::map<string, BuffArch*> vBuffTypes;
std::vector<string> vHeavyArmor;
};
}