-
Notifications
You must be signed in to change notification settings - Fork 0
/
UnionAfx.h
78 lines (53 loc) · 1.51 KB
/
UnionAfx.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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
// Supported with union (c) 2018-2021 Union team
#ifndef __UNION_AFX_H__
#define __UNION_AFX_H__
// 1.0f+ disabled as default
#define UNION_NO_WARNINGS
#include ".build_settings.inl"
extern "C" {
#include <Windows.h>
#include <stdlib.h>
#include <stdio.h>
#include <math.h>
#include <Psapi.h>
#include <time.h>
}
#pragma comment (lib, "Psapi.lib")
#pragma comment (lib, "Shw32.lib")
#pragma comment (lib, "Vdfs32g.lib")
#define SHWAPI __declspec (dllimport)
#define ASTAPI __declspec (dllimport)
#define VDFAPI __declspec (dllimport)
// memory operations
#include "Memory\Shw32.h"
// base classes of Union: arrays, strings, options and etc
#include "Common\Common.h"
#ifndef DONT_USE_UNION_NAMES_AS_DEFAULT
using namespace Common;
#endif
// include temporary Union names
#ifdef DONT_USE_UNION_NAMES_AS_DEFAULT
#include "Temporary\Include.h"
#endif
// functional classes of union: hooks, applications, plugins . . .
#include "Core\Core.h"
#ifndef DONT_USE_UNION_NAMES_AS_DEFAULT
using namespace UnionCore;
#endif
// operations with virtual file system
#include "Vdfs\Vdfs.h"
#ifndef DONT_USE_UNION_NAMES_AS_DEFAULT
using namespace Vdfs32;
#endif
// systempack patch classes
#include "SystemPack\Union.Patch\CPatchFile.h"
#ifndef DONT_USE_UNION_NAMES_AS_DEFAULT
using namespace SystemPack;
#endif
// gothic engine classes for g1, g1a, g2 and g2a
#include "ZenGin\zGothicAPI.h"
// exclude temporary Union names
#ifdef DONT_USE_UNION_NAMES_AS_DEFAULT
#include "Temporary\Exclude.h"
#endif
#endif // __UNION_AFX_H__