-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathTMStuffConfig.h
More file actions
61 lines (54 loc) · 2.05 KB
/
TMStuffConfig.h
File metadata and controls
61 lines (54 loc) · 2.05 KB
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
59
60
61
#ifndef TMSTUFFCONFIG_H_INCLUDED
#define TMSTUFFCONFIG_H_INCLUDED
#include "GameBox/include/GbxTools.h"
#include "TMStuffImGuiStyle.h"
class TMStuff::CTMStuffImGuiStyle;
namespace TMStuff
{
class CTMStuffConfig : public CMwNod
{
public:
static CMwClassInfo m_MwClassInfo_TMStuffConfig;
static void Init();
static CTMStuffConfig * MwNewCTMStuffConfig();
static CTMStuffConfig* __thiscall vDelete(CTMStuffConfig* nod, byte purge);
static CMwClassInfo * vMwGetClassInfo() {return &m_MwClassInfo_TMStuffConfig;};
static int vGetMwClassId(void) {return 0x48001000;};
static int __stdcall vMwIsKindOf(int classId) {
if(classId==0x48001000) {
return 1;
}
return (classId == 0x01001000);
};
static int __stdcall vGetUidParamFromIndex(int index) {
if(index == 0) {
return 0x01001000;
}
return index - 1 | 0x48001000;
};
static char __stdcall vGetParamCount(void) {
return 7; // param count + 1
};
static void __thiscall vChunk(TMStuff::CTMStuffConfig* nod, CClassicArchive* pA, int chunkId);
static int __stdcall vGetChunkInfo(int chunkId);
static int __stdcall vGetUidChunkFromIndex(int index) {
if(index == 0) {
return 0x01001000;
}
return index - 1 | 0x48001000;
};
static char __stdcall vGetChunkCount(void) {
return 4; // chunk count + 1
};
static void __thiscall vOnNodLoaded(TMStuff::CTMStuffConfig* nod);
// members
CTMStuffImGuiStyle* m_ImGuiStyle;
Bool m_ShowUi;
Bool m_ShowTrackManiaNod;
Bool m_ShowResave;
Bool m_ShowPicker;
Bool m_ShowConfig;
Bool m_ShowScreenShot;
};
}
#endif // TMSTUFFCONFIG_H_INCLUDED