-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathEngineCommon.h
More file actions
162 lines (135 loc) · 4.14 KB
/
EngineCommon.h
File metadata and controls
162 lines (135 loc) · 4.14 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
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
#pragma once
#ifndef _X_ENGINE_COMMON_INCLUDES_H
#define _X_ENGINE_COMMON_INCLUDES_H
#include "Core\Configuration.h"
#include "Core\Compiler.h"
#include "Core\Platform.h"
#include "Platform\Types.h"
X_DISABLE_WARNING(4714) // __forceinline not inlined.
// some std includes.
#include <limits>
#include <array>
#include <charconv> // TODO: try remove? (used by stringUtil)
#include <algorithm>
// Telem
#define TTELEMETRY_ENABLED 0
#include <Telemetry.h>
// Util
#include "Util\UserLiterals.h"
#include "Util\ClassMacros.h"
#include "Util\NamespaceMacros.h"
#include "Util\GenericUtil.h"
#include "Util\HelperMacros.h"
#include "Util\SourceInfo.h"
#include "Util\SourceInfoMacros.h"
#include "Util\Flags.h"
#include "Util\FlagsMacros.h"
#include "Util\EnumMacros.h"
#include "Util\BitUtil.h"
#include "Util\PointerUtil.h"
#include "Util\EndianUtil.h"
#include "Util\SmartPointer.h"
// preprocessor
#include "Prepro\PreproCommaIf.h"
#include "Prepro\PreproDecrement.h"
#include "Prepro\PreproExpandArgs.h"
#include "Prepro\PreproHasComma.h"
#include "Prepro\PreproIf.h"
#include "Prepro\PreproIncrement.h"
#include "Prepro\PreproIsEmpty.h"
#include "Prepro\PreproJoin.h"
#include "Prepro\PreproList.h"
#include "Prepro\PreproNumArgs.h"
#include "Prepro\PreproPassArgs.h"
#include "Prepro\PreproRepeat.h"
#include "Prepro\PreproStringize.h"
#include "Prepro\PreproToBool.h"
#include "Prepro\PreproUniqueName.h"
// compile time
#include "CompileTime\ExtractCount.h"
#include "CompileTime\ExtractType.h"
#include "CompileTime\IntToType.h"
#include "CompileTime\IsPOD.h"
#include "CompileTime\IsPointer.h"
#include "CompileTime\ClassInfo.h"
// debugging
#include "Debugging\DebuggerConnection.h"
#include "Debugging\DebuggerBreakpoint.h"
#include "Debugging\DebuggerBreakpointMacros.h"
#include "Debugging\Assert.h"
#include "Debugging\AssertMacros.h"
// traits
#include "Traits\FunctionTraits.h"
#include "Traits\MemberFunctionTraits.h"
// casts
#include "Casts\safe_static_cast.h"
#include "Casts\union_cast.h"
// Common used interface
#include "IProfile.h"
#include "IEngineSysBase.h"
#include "ICore.h"
// Profiler
#include "Profile\Telem.h"
// threading
#include "Threading\Atomic.h"
#include "Threading\AtomicInt.h"
#include "Threading\CriticalSection.h"
#include "Threading\ConditionVariable.h"
#include "Threading\Semaphore.h"
#include "Threading\Spinlock.h"
#include "Threading\ThreadLocalStorage.h"
#include "Threading\Thread.h"
// Memory
#include "Memory\NewAndDelete.h"
#include "Memory\NewAndDeleteMacros.h"
#include "Memory\HeapArea.h"
#include "Memory\MemoryArena.h"
#include "Memory\MemUtil.h"
// defaults.
#include "Memory\AllocationPolicies\MallocFreeAllocator.h"
#include "Memory\BoundsCheckingPolicies\SimpleBoundsChecking.h"
#include "Memory\BoundsCheckingPolicies\NoBoundsChecking.h"
#include "Memory\MemoryTaggingPolicies\SimpleMemoryTagging.h"
#include "Memory\MemoryTaggingPolicies\NoMemoryTagging.h"
#include "Memory\MemoryTrackingPolicies\SimpleMemoryTracking.h"
#include "Memory\MemoryTrackingPolicies\NoMemoryTracking.h"
#include "Memory\ThreadPolicies\SingleThreadPolicy.h"
// Conatiners
#include "Containers\BitStream.h"
#include "Containers\ByteStream.h"
#include "Containers\Stack.h"
#include "Containers\FixedStack.h"
#include "Containers\Freelist.h"
#include "Containers\FixedRingBuffer.h"
#include "Containers\FixedArray.h"
// #include "Containers\LinkedList.h"
// #include "Containers\LinkedListIntrusive.h"
// string
#include "String\FormatMacros.h"
#include "String\StrRef.h"
#include "String\StringUtil.h"
#include "String\Path.h"
#include "String\StackString.h"
// #include "String\Xml.h"
#include "String\Json.h"
#include "String\StringView.h"
// Math
#include "Math\XMath.h"
#include "Math\XVector.h"
#include "Math\XMatrix.h"
#include "Math\XColor.h"
#include "Math\XRay.h"
#include "Math\XRect.h"
#include "Math\XPlane.h"
#include "Math\XSphere.h"
#include "Math\XFrustum.h"
#include "Math\XCamera.h"
#include "Math\XQuat.h"
#include "Math\XTransform.h"
#include "Math\XHalf.h"
#include "Random\MultiplyWithCarry.h"
#include "Random\XorShift.h"
#include "Profile\ProfilerTypes.h"
#define _STDINT // fuck standard types!
#include <memory>
#endif // _X_ENGINE_COMMON_INCLUDES_H