![]() |
Blamite Game Engine - Blam (Core)
|
#include "core.h"
#include "api/blam_api.h"
#include <thread>
#include <Uxtheme.h>
#include <signal.h>
#include "components/content/fonts/fonts.h"
#include "components/core/blam_ui/blam_ui.h"
#include "components/core/cache/cache.h"
#include "components/core/config/config.h"
#include "components/core/debug_ui/debug_colors.h"
#include "components/core/debug_ui/debug_ui.h"
#include "components/core/dialogs/dialogs.h"
#include "components/core/engine_definitions/engine_definitions.h"
#include "components/core/error/error.h"
#include "components/core/logger/logger.h"
#include "components/core/placeholders/placeholders.h"
#include "components/core/switches/switches.h"
#include "components/core/utils/converters/converters.h"
#include "components/core/utils/io/io.h"
#include "components/core/utils/res/res.h"
#include "components/core/utils/utilities.h"
#include "components/discord/m_discord.h"
#include "components/haloscript/haloscript.h"
#include "components/input/keyboard.h"
#include "components/networking/messages.h"
#include "components/networking/socket.h"
#include "components/rendering/directx11/render_stack/render_stack.h"
#include "components/rendering/directx11/render_stack/stack_types/blam_ui/console.hpp"
#include "components/rendering/directx11/render_stack/stack_types/blam_ui/debug_menu.hpp"
#include "components/rendering/directx11/render_stack/stack_types/blam_ui/fpscounter.hpp"
#include "components/rendering/directx11/render_stack/stack_types/blam_ui/tick_counter.hpp"
#include "components/rendering/rendering.h"
#include "components/core/crash/crash.h"
#include "version_data.h"
#include "components/3rdparty/imgui/formats/imgui_impl_win32.h"
#include "components/3rdparty/imgui/formats/dx11/imgui_impl_dx11.h"
#include "components/tick/tick.h"
#include "components/content/tags/tags.h"
#include "components/content/tags/classes/bitmap.h"
Macros | |
#define | ENGINE_VERSION "00204.05.29.20.0001.blamite" |
Functions | |
LRESULT | ImGui_ImplWin32_WndProcHandler (HWND hWnd, UINT msg, WPARAM wParam, LPARAM lParam) |
BOOL APIENTRY | DllMain (HMODULE module_handle, DWORD reason, LPVOID reserved) |
Variables | |
HWND | engine_window |
Pointer to the window handle that the engine is utilizing. More... | |
HMODULE | dll_handle |
The module handle of the Engine library. More... | |
BlamRendering::RenderStack::ImGUIObject * | imgui |
Pointer to ImGUI render stack object. This should probably be moved at some point. More... | |
bool | imgui_initialized = false |
Whether or not ImGUI has been initialized. More... | |
HINSTANCE | hInst |
Application instance handle. More... | |
HCURSOR | cursor |
Main window cursor. More... | |
const wchar_t * | window_name |
Main window name (replaces what used to be called 'ver_conv'). More... | |
UINT8 * | socketBuffer |
– TO BE FILLED IN BY VERTIGO – More... | |
Blam::Network::Socket | sock |
– TO BE FILLED IN BY VERTIGO – More... | |
Blam::LinearAllocator | allocator |
– TO BE FILLED IN BY VERTIGO – More... | |
UINT32 | bytesReceived |
– TO BE FILLED IN BY VERTIGO – More... | |
Blam::Endpoint | from |
– TO BE FILLED IN BY VERTIGO – More... | |
bool | isConnected |
Whether or not the socket is currently connected. More... | |
std::thread | render_thread |
The thread used for rendering. More... | |
bool | use_separate_render_thread = false |
Whether or not to perform rendering tasks on a separate thread. More... | |
std::thread | tick_thread |
The thread used to handle game tick. More... | |
bool | debug = false |
Stores value of debugMode config option, probably should be removed at some point. More... | |
#define ENGINE_VERSION "00204.05.29.20.0001.blamite" |
BOOL APIENTRY DllMain | ( | HMODULE | module_handle, |
DWORD | reason, | ||
LPVOID | reserved | ||
) |
LRESULT ImGui_ImplWin32_WndProcHandler | ( | HWND | hWnd, |
UINT | msg, | ||
WPARAM | wParam, | ||
LPARAM | lParam | ||
) |
Blam::LinearAllocator allocator |
– TO BE FILLED IN BY VERTIGO –
UINT32 bytesReceived |
– TO BE FILLED IN BY VERTIGO –
HCURSOR cursor |
Main window cursor.
bool debug = false |
Stores value of debugMode config option, probably should be removed at some point.
HMODULE dll_handle |
The module handle of the Engine library.
HWND engine_window |
Pointer to the window handle that the engine is utilizing.
Blam::Endpoint from |
– TO BE FILLED IN BY VERTIGO –
HINSTANCE hInst |
Application instance handle.
Pointer to ImGUI render stack object. This should probably be moved at some point.
bool imgui_initialized = false |
Whether or not ImGUI has been initialized.
bool isConnected |
Whether or not the socket is currently connected.
std::thread render_thread |
The thread used for rendering.
– TO BE FILLED IN BY VERTIGO –
UINT8* socketBuffer |
– TO BE FILLED IN BY VERTIGO –
std::thread tick_thread |
The thread used to handle game tick.
bool use_separate_render_thread = false |
Whether or not to perform rendering tasks on a separate thread.
const wchar_t* window_name |
Main window name (replaces what used to be called 'ver_conv').