 |
Blamite Game Engine - blam!
00357.06.18.22.0809.blamite
The core library for the Blamite Game Engine.
|
Go to the documentation of this file.
15 #define BLAM_EXT_API __declspec(dllexport)
17 #define BLAM_EXT_API __declspec(dllimport)
Namespace surrounding all major engine components.
Definition: blam_api.h:27
#define BLAM
Definition: blam_api.h:21
int width
Definition: bgfx.cpp:19
BLAM_EXT_API float GetDirectorSpeed()
Retrieves the current speed of the debug director.
Definition: blam_api.cpp:43
BLAM_EXT_API void SetEngineViewportActive(bool viewport_active)
API wrapper around ImGui_ImplSDL2_SetActiveWindowOverride.
Definition: blam_api.cpp:73
BLAM_EXT_API void ExecuteConsoleCommand(const char *command)
Runs a command through the engine's console.
Definition: blam_api.cpp:21
BLAM_EXT_API void ResizeViewport(int width, int height)
Resizes the engine's viewport resolution.
Definition: blam_api.cpp:26
BLAM_EXT_API void CleanupEngineResources()
Instructs the engine to clean up any resources.
Definition: main.cpp:651
BLAM_EXT_API int EngineThreadInit()
Performs any additional engine initialization that needs to be called within the engine loop thread.
Definition: main.cpp:605
BLAM_EXT_API BlamVector3 GetMousePosition3D()
Retrieves the 3D position of the mouse pointer.
Definition: blam_api.cpp:68
BLAM bool GetEngineHookState()
Retrieves the engine's hook state.
Definition: blam_api.cpp:16
BLAM_EXT_API BlamVector3 GetDirectorPosition()
Retrieves the current position of the debug director.
Definition: blam_api.cpp:31
BLAM_EXT_API void SetEngineHookState(bool hook_state)
Sets whether or not the engine is hooked via Qt.
Definition: blam_api.cpp:11
BLAM_EXT_API bool MainWindowProcedure(SDL_Event event)
Window Procedure for the main application window.
Definition: main.cpp:96
BLAM_EXT_API BlamVector2 GetGameResolution()
Retrieves the current render resolution for the engine.
Definition: blam_api.cpp:88
BLAM_EXT_API BlamWorldState * GetWorldState()
Retrieves the current world state.
Definition: blam_api.cpp:99
#define BLAM_EXT_API
Definition: blam_api.h:17
BLAM_EXT_API BlamVector2 GetMousePosition2D()
Retrieves the 2D position of the mouse pointer.
Definition: blam_api.cpp:55
BLAM_EXT_API bool IsMouseCapturedByDirector()
Checks if the mouse is currently captured by the debug director.
Definition: blam_api.cpp:78
int height
Definition: bgfx.cpp:20
BLAM_EXT_API void MainLoop()
Function for the engine's main loop.
Definition: main.cpp:626
BLAM_EXT_API int StartEngine(int args_count, char *args[], SDL_Window *window)
Entry point for the engine.
Definition: main.cpp:343
Definition: SdlEmulationLayer.h:735
Class representing a world state.
Definition: world.h:128