!F (Profiling) (DEV-7030) Rewrite of the profiling system to have a unified interface...
[CRYENGINE.git] / Code / CryEngine / CrySystem / StdAfx.h
blobdb0ac401c523598e7fa086a6fd32f0498d73bd93
1 // Copyright 2001-2018 Crytek GmbH / Crytek Group. All rights reserved.
3 #pragma once
5 //#define DEFINE_MODULE_NAME "CrySystem"
7 #include <CryCore/Project/CryModuleDefs.h>
8 #define eCryModule eCryM_System
10 #define CRYSYSTEM_EXPORTS
12 #include <CryCore/Platform/platform.h>
13 #include <CryCore/Assert/CryAssert.h>
15 #ifdef USE_PCH
17 // Ensure included first to prevent windows.h from being included by certain standard library headers, e.g. <future> on Durango
18 #include <CryCore/Platform/CryWindows.h>
20 #include <algorithm>
21 #include <array>
22 #include <atomic>
23 #include <bitset>
24 #include <cassert>
25 #include <cctype>
26 #include <cerrno>
27 #include <cfenv>
28 #include <cfloat>
29 #include <chrono>
30 #include <cinttypes>
31 #include <climits>
32 #include <clocale>
33 #include <cmath>
34 #include <codecvt>
35 #include <complex>
36 #include <condition_variable>
37 #include <csetjmp>
38 #include <csignal>
39 #include <cstdarg>
40 #include <cstddef>
41 #include <cstdint>
42 #include <cstdio>
43 #include <cstdlib>
44 #include <cstring>
45 #include <ctime>
46 #include <cwchar>
47 #include <cwctype>
48 #include <deque>
49 #include <exception>
50 #include <forward_list>
51 #include <fstream>
52 #include <functional>
53 #include <future>
54 #include <initializer_list>
55 #include <iomanip>
56 #include <ios>
57 #include <iosfwd>
58 #include <iostream>
59 #include <istream>
60 #include <iterator>
61 #include <limits>
62 #include <list>
63 #include <locale>
64 #include <map>
65 #include <memory>
66 #include <mutex>
67 #include <new>
68 #include <numeric>
69 #include <ostream>
70 #include <queue>
71 #include <random>
72 #include <ratio>
73 #include <regex>
74 #include <scoped_allocator>
75 #include <set>
76 #include <sstream>
77 #include <stack>
78 #include <stdexcept>
79 #include <streambuf>
80 #include <string>
81 #include <system_error>
82 #include <thread>
83 #include <tuple>
84 #include <type_traits>
85 #include <typeindex>
86 #include <typeinfo>
87 #include <unordered_map>
88 #include <unordered_set>
89 #include <utility>
90 #include <valarray>
91 #include <vector>
93 //////////////////////////////////////////////////////////////////////////
94 // CRT
95 //////////////////////////////////////////////////////////////////////////
97 #include <string.h>
98 #include <stdio.h>
99 #include <stdarg.h>
101 #if !CRY_PLATFORM_LINUX && !CRY_PLATFORM_ANDROID && !CRY_PLATFORM_APPLE && !CRY_PLATFORM_ORBIS
102 #include <memory.h>
103 #include <malloc.h>
104 #endif
105 #include <fcntl.h>
107 #if !CRY_PLATFORM_ORBIS && !CRY_PLATFORM_APPLE && !CRY_PLATFORM_ANDROID
108 #if CRY_PLATFORM_LINUX
109 #include <sys/io.h>
110 #else
111 #include <io.h>
112 #endif
113 #endif
114 #include <cmath>
116 #if CRY_PLATFORM_WINDOWS
117 #include <winsock2.h>
118 #include <shlobj.h>
119 #endif
121 /////////////////////////////////////////////////////////////////////////////
122 // CRY Stuff ////////////////////////////////////////////////////////////////
123 /////////////////////////////////////////////////////////////////////////////
124 #include <CryMath/Cry_Math.h>
125 #include <CryMath/Cry_Camera.h>
126 #include <CryMath/Random.h>
127 #include <CryMath/Range.h>
128 #include <CryMath/Angle.h>
129 #include <CryMath/ISplines.h>
130 #include <CryMath/Rotation.h>
131 #include <CryMath/Transform.h>
133 #include <CryMemory/CrySizer.h>
134 #include <CryMemory/AddressHelpers.h>
135 #include <CryMemory/HeapAllocator.h>
136 #include <CryMemory/BucketAllocator.h>
137 #include <CryMemory/STLGlobalAllocator.h>
139 #include <CryCore/BoostHelpers.h>
141 #include <CryCore/smartptr.h>
142 #include <CryCore/CryEnumMacro.h>
143 #include <CryCore/StlUtils.h>
144 #include <CryCore/stridedptr.h>
145 #include <CryCore/functor.h>
146 #include <CryCore/RingBuffer.h>
147 #include <CryCore/SmallFunction.h>
148 #include <CryCore/BitMask.h>
149 #include <CryCore/CryVariant.h>
150 #include <CryCore/optional.h>
151 #include <CryCore/CountedValue.h>
152 #include <CryCore/CryCustomTypes.h>
153 #include <CryCore/CryTypeInfo.h>
154 #include <CryCore/Containers/CryArray.h>
155 #include <CryCore/Containers/CryFixedArray.h>
156 #include <CryCore/Containers/CryListenerSet.h>
157 #include <CryCore/Containers/MiniQueue.h>
158 #include <CryCore/Containers/VectorSet.h>
159 #include <CryCore/Containers/VectorMap.h>
160 #include <CryCore/ToolsHelpers/ResourceCompilerHelper.h>
161 #include <CryCore/ToolsHelpers/SettingsManagerHelpers.h>
162 #include <CryCore/TypeInfo_impl.h>
164 #include <CryString/CryString.h>
165 #include <CryString/CryFixedString.h>
166 #include <CryString/CryName.h>
167 #include <CryString/CryPath.h>
169 #include <CrySerialization/STL.h>
170 #include <CrySerialization/DynArray.h>
171 #include <CrySerialization/Color.h>
172 #include <CrySerialization/ColorImpl.h>
173 #include <CrySerialization/Math.h>
174 #include <CrySerialization/MathImpl.h>
176 #include <CryExtension/ClassWeaver.h>
177 #include <CryExtension/Conversion.h>
178 #include <CryExtension/RegFactoryNode.h>
180 #include <CryThreading/CryThreadSafeRendererContainer.h>
182 #include <CryRenderer/IScaleform.h> // expensive header
183 #include <CryRenderer/IRenderer.h> // expensive header
185 #ifdef INCLUDE_SCALEFORM_SDK
186 #include <GRefCount.h>
187 #include <GMemory.h>
188 #include <GMemoryHeap.h>
189 #include <GAtomic.h>
190 #include <GStats.h>
191 #include <GTimer.h>
192 #include <GList.h>
193 #include <GSysAllocMalloc.h>
194 #include <GArray.h>
195 #include <GAllocator.h>
196 #include <GMath.h>
197 #include <GFxPlayerStats.h>
198 #include <GColor.h>
199 #include <GColorMacros.h>
200 #include <GMatrix2D.h>
201 #include <GTypes2DF.h>
202 #include <GMatrix3D.h>
203 #include <GPoint3.h>
204 #include <GImage.h>
205 #include <GRendererEventHandler.h>
206 #endif
208 #endif // USE_PCH