Elaztek Developer Hub
Blamite Game Engine - blam!  00398.09.22.23.2015.blamite
The core library for the Blamite Game Engine.
blam_api.h File Reference
#include <Windows.h>
#include <string>
#include <sdl2/SDL.h>
#include <blam/components/core/world/world.h>
#include <Strings/components/diagnostics/errors/errors.h>
+ Include dependency graph for blam_api.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 Blam
 Namespace surrounding all major engine components.
 
 Blam::InteropAPI
 Namespace containing functions relating to the Blamite C# Interoperability API.
 
 Blam::API
 Namespace containing the Blamite Engine API.
 

Macros

#define BLAM_EXT_API   __declspec(dllimport)
 
#define BLAM
 

Functions

BLAM bool Blam::GetEngineHookState ()
 Retrieves the engine's hook state. More...
 
BLAM_EXT_API bool Blam::InteropAPI::MainWindowProcedure (SDL_Event event)
 Window Procedure for the main application window. More...
 
BLAM_EXT_API int Blam::InteropAPI::StartEngine (int args_count, char *args[], SDL_Window *window)
 Entry point for the engine. More...
 
BLAM_EXT_API void Blam::InteropAPI::MainLoop ()
 Function for the engine's main loop. More...
 
BLAM_EXT_API int Blam::InteropAPI::EngineThreadInit ()
 Performs any additional engine initialization that needs to be called within the engine loop thread. More...
 
BLAM_EXT_API void Blam::InteropAPI::CleanupEngineResources ()
 Instructs the engine to clean up any resources. More...
 
BLAM_EXT_API void Blam::API::SetEngineHookState (bool hook_state)
 Sets whether or not the engine is hooked via Qt. More...
 
BLAM_EXT_API void Blam::API::ExecuteConsoleCommand (const char *command)
 Runs a command through the engine's console. More...
 
BLAM_EXT_API void Blam::API::ResizeViewport (int width, int height)
 Resizes the engine's viewport resolution. More...
 
BLAM_EXT_API BlamVector3 Blam::API::GetDirectorPosition ()
 Retrieves the current position of the debug director. More...
 
BLAM_EXT_API float Blam::API::GetDirectorSpeed ()
 Retrieves the current speed of the debug director. More...
 
BLAM_EXT_API BlamVector2 Blam::API::GetMousePosition2D ()
 Retrieves the 2D position of the mouse pointer. More...
 
BLAM_EXT_API BlamVector3 Blam::API::GetMousePosition3D ()
 Retrieves the 3D position of the mouse pointer. More...
 
BLAM_EXT_API void Blam::API::SetEngineViewportActive (bool viewport_active)
 API wrapper around ImGui_ImplSDL2_SetActiveWindowOverride. More...
 
BLAM_EXT_API bool Blam::API::IsMouseCapturedByDirector ()
 Checks if the mouse is currently captured by the debug director. More...
 
BLAM_EXT_API BlamVector2 Blam::API::GetGameResolution ()
 Retrieves the current render resolution for the engine. More...
 
BLAM_EXT_API BlamWorldStateBlam::API::GetWorldState ()
 Retrieves the current world state. More...
 
BLAM_EXT_API BlamResult Blam::API::LoadTagFromMemory (char *address, int size, const char *tag_path)
 

Macro Definition Documentation

◆ BLAM

#define BLAM

◆ BLAM_EXT_API

#define BLAM_EXT_API   __declspec(dllimport)