| Fling Engine 0.00.1 Fling Engine is a game engine written in Vulkan

PlatformWindows.h
Go to the documentation of this file.
1 #pragma once
2
3 #if FLING_WINDOWS
4
5 #if defined(_DEBUG)
6
7 # define FLING_DEBUG 1
8 //# define _CRTDBG_MAP_ALLOC
9
10 #include <stdlib.h>
11 #include <crtdbg.h>
12
13 #ifdef _MSC_VER
14 # define FLING_BREAK(...) __debugbreak()
15 #else
16 # define FLING_BREAK(...) asm("int $3")
17 #endif // _MSC_VER
18
19 #else // Not debug
20
21 # define FLING_DEBUG 0
22 # define FLING_BREAK(...)
23
24 #endif // _DEBUG
25
26
27 # define WIN32_LEAN_AND_MEAN
28
29 #include <Windows.h>
30 #include <direct.h>
31
32 # ifdef _MSC_VER
33
34 # pragma warning(disable:26495)
35 # pragma warning(disable:4267)
36 # pragma warning(disable:26451)
37 # pragma warning(disable:4996)
38
39 # endif // _MSC_VER
40
41 # define INLINE inline
42 # define FORCEINLINE __forceinline
43
44 #include "FlingWindowsExports.h"
45
46 #include "DesktopWindow.h"
47
48 #include "Input/WindowsKeycodes.h"
49 #include "Input/WindowsInput.h"
50
51 #endif // FLING_WINDOWS
WindowsInput.h
DesktopWindow.h
WindowsKeycodes.h
FlingWindowsExports.h