Elaztek Developer Hub
Blamite Game Engine - blam!  00346.12.11.21.0529.blamite
The core library for the Blamite Game Engine.
blam_api.h File Reference
#include <Windows.h>
#include <string>
#include <sdl2/SDL.h>

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::InteropAPI::DotNETHelpers
 Old namespace used for interacting with C#/.NET.
 
 Blam::API
 Namespace containing the Blamite Engine API.
 

Macros

#define BLAM_EXT_API   __declspec(dllimport)
 

Functions

BLAM_EXT_API LPARAM Blam::InteropAPI::DotNETHelpers::CreateLParam (int low, int high)
 
BLAM_EXT_API WPARAM Blam::InteropAPI::DotNETHelpers::CreateWParam (int low, int high)
 
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::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...
 

Macro Definition Documentation

◆ BLAM_EXT_API

#define BLAM_EXT_API   __declspec(dllimport)