Ember
A C++ 20 'game engine' built with SDL3 with wide platform support.
imports.h
Go to the documentation of this file.
1 #pragma once
2 #include <cmath>
3 #include <chrono>
4 #include <queue>
5 #include <map>
6 #include <unordered_map>
7 #include <unordered_set>
8 #include "definitions.h"
9 #include <future>
10 
11 template <typename K, typename V>
12 using HashMap = std::unordered_map<K, V>;
13 
14 
15 
16 /* ENABLE MATH CONSTANTS*/
17 #define _USE_MATH_DEFINES 1
18 #include <array>
19 #include <math.h>
20 
21 #include <glad.h>
22 
23 #include <glm/glm.hpp>
24 #include <glm/gtc/matrix_transform.hpp>
25 #include <glm/gtc/type_ptr.hpp>
26 
27 #define GLM_ENABLE_EXPERIMENTAL
28 #include <glm/gtx/string_cast.hpp>
29 
30 #include <miniaudio.h>
31 #include <tinyxml2.h>
32 
33 // TODO: Disable imgui on builds
34 #if defined(WITH_EDITOR)
35  #include "imgui_impl_opengl3.h"
36  #include "imgui_impl_sdl3.h"
37  #include "imgui_internal.h"
38 #endif
39 
40 #include <mutex>
41 #include <condition_variable>
42 #include <atomic>
43 
44 #include <freetype/freetype.h>
45 
46 
47 #include "json.hpp"
48 
49 using Json = nlohmann::json;
50 
51 #include <box2d/box2d.h>
52 
std::unordered_map< K, V > HashMap
Definition: imports.h:12
nlohmann::json Json
Definition: imports.h:49