Blamite Game Engine - blam!  00296.01.12.21.0102.blamite
The core library for the Blamite Game Engine.
core.h
Go to the documentation of this file.
1 // Blamite Engine - Core header file //
3 // (c) Elaztek Studios 2016 - 2020 //
5 
6 #pragma once
7 
8 #pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='*' publicKeyToken='6595b64144ccf1df' language='*'\"")
9 #pragma comment(lib, "gdi32.lib")
10 #pragma comment(lib, "d3d11.lib")
11 #pragma comment(lib, "d3dcompiler.lib")
12 #pragma comment(lib, "dxgi.lib")
13 #pragma comment(lib, "Dwrite.lib")
14 #pragma comment(lib, "d2d1.lib")
15 #pragma comment(lib, "UxTheme.lib")
16 #pragma comment(lib, "Ws2_32.lib")
17 #pragma comment(lib, "Strings.lib")
18 #pragma comment(lib, "windowscodecs.lib")
19 
20 #include <cstdint>
21 #include <Windows.h>
22 #include <sdl2/SDL.h>
23 
24 #ifndef BLAM
25 
35 #define BLAM
36 #endif
37 
38 #ifndef HALO
39 
43 #define HALO
44 #endif
45 
46 #ifndef UI_API
47 #define UI_API
48 #endif
49 
50 #ifndef TAG_CLASS
51 #define TAG_CLASS
52 #endif
53 
54 #ifndef BLAM_CFG
55 #define BLAM_CFG
56 #endif
57 
58 #ifndef HSC
59 #define HSC
60 #endif
61 
65 namespace Blam
66 {
77 
81  BLAM HMODULE GetEngineDLLHandle();
82 
86  BLAM SDL_Window* GetMainWindowHandle();
87 }
88 
89 //BlamExt namespace was here
Blam
Namespace surrounding all major engine components.
Definition: blam_api.h:18
Blam::GetEngineDLLHandle
BLAM HMODULE GetEngineDLLHandle()
Retrieves the module handle for the engine.
Definition: main.cpp:754
Blam::GetWin32MainWindowHandle
BLAM HWND GetWin32MainWindowHandle()
Retrieves the main window handle of the application.
Definition: main.cpp:745
BLAM
#define BLAM
Macro to help prevent name collisions between the engine and 3rd-party libraries/headers.
Definition: core.h:35
Blam::GetMainWindowHandle
BLAM SDL_Window * GetMainWindowHandle()
Retrieves the main window handle of the application, when using SDL.
Definition: main.cpp:740