![]() |
Blamite Game Engine - blam!
00453.06.08.26.0624.blamite
The core library for the Blamite Game Engine.
|
#include "core.h"#include <thread>#include <Uxtheme.h>#include <signal.h>#include <sdl2/SDL_syswm.h>#include <Strings/components/utils/converters/converters.h>#include <Strings/components/utils/io/io.h>#include <Strings/components/settings/switches/switches.h>#include <Strings/components/classes/events/game_engine_events/NewFrame/NewFrameEvent.h>#include "components/3rdparty/imgui/formats/imgui_impl_sdl.h"#include "components/3rdparty/imgui/formats/imgui_impl_win32.h"#include "components/3rdparty/imgui/formats/dx11/imgui_impl_dx11.h"#include "components/3rdparty/imgui/formats/opengl3/imgui_impl_opengl3.h"#include "components/content/blamscript/blamscript.h"#include "components/content/fonts/fonts.h"#include "components/content/tags/tags.h"#include "components/content/tags/tagclass.h"#include "components/content/tags/tag_io.h"#include "components/content/project/project.h"#include "api/v1/types/tags/classes/bitmap.h"#include "components/core/input/keyboard.h"#include "components/core/tick/tick.h"#include "components/core/utils/utilities.h"#include "components/core/world/world.h"#include "components/core/extensions/extensions.h"#include "components/diagnostics/errors/errors.h"#include "components/diagnostics/logger/logger.h"#include "components/diagnostics/crash/crash.h"#include "components/modules/modules.h"#include "components/networking/discord/discord.h"#include "components/networking/messages.h"#include "components/networking/socket.h"#include "components/rendering/rendering.h"#include "components/resources/debug_menu/debug_menu.h"#include "components/resources/cache/cache.h"#include "components/resources/engine_definitions/engine_definitions.h"#include "components/resources/engine_text/engine_text.h"#include "components/resources/console/console.h"#include "components/settings/config/config.h"#include "components/settings/menubar/menubar.h"#include "components/ui/win32/dialogs.h"#include "components/ui/imgui/imgui.h"#include "components/ui/blam/ui.h"#include "res/strings.h"#include "res/resource.h"#include "version_data.h"
Include dependency graph for main.cpp:Macros | |
| #define | STR_ERROR_VULKAN_FAIL "Vulkan failed to initialize during early setup. Please verify that your graphics card drivers are installed and up-to-date. If the error persists, submit a bug report and be sure to include all files in the engine's Reports folder (default is /reports). \r\n\r\nVulkan init result: {0}" |
| #define | ENGINE_VERSION "00453.06.08.26.0624.blamite" |
Functions | |
| BOOL APIENTRY | DllMain (HMODULE module_handle, DWORD reason, LPVOID reserved) |
Variables | |
| SDL_Window * | engine_window |
| Pointer to the window handle that the engine is utilizing. More... | |
| HMODULE | dll_handle |
| The module handle of the Engine library. 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... | |
| std::thread | log_flush_thread |
| The thread used for flusing log contents to disk. More... | |
| bool | using_bgfx_render = false |
| #define ENGINE_VERSION "00453.06.08.26.0624.blamite" |
| #define STR_ERROR_VULKAN_FAIL "Vulkan failed to initialize during early setup. Please verify that your graphics card drivers are installed and up-to-date. If the error persists, submit a bug report and be sure to include all files in the engine's Reports folder (default is /reports). \r\n\r\nVulkan init result: {0}" |
| BOOL APIENTRY DllMain | ( | HMODULE | module_handle, |
| DWORD | reason, | ||
| LPVOID | reserved | ||
| ) |
| Blam::LinearAllocator allocator |
– TO BE FILLED IN BY VERTIGO –
| UINT32 bytesReceived |
– TO BE FILLED IN BY VERTIGO –
| HCURSOR cursor |
Main window cursor.
| HMODULE dll_handle |
The module handle of the Engine library.
| SDL_Window* 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.
| bool isConnected |
Whether or not the socket is currently connected.
| std::thread log_flush_thread |
The thread used for flusing log contents to disk.
| 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.
| bool using_bgfx_render = false |
| const wchar_t* window_name |
Main window name (replaces what used to be called 'ver_conv').