 |
Blamite Game Engine - blam!
00406.12.10.23.1457.blamite
The core library for the Blamite Game Engine.
|
Go to the documentation of this file.
5 #include <Strings/components/diagnostics/errors/errors.h>
8 #define BLAM_EXT_API __declspec(dllexport)
10 #define BLAM_EXT_API __declspec(dllimport)
123 void Abort(std::string confirm =
"");
126 void Crash(std::string confirm);
129 void Drop(std::string tag_name);
131 void Explore(std::string mode, std::string path);
133 void H2Help(std::string command);
134 void H2Print(std::string message);
140 void MapName(std::string scenario_name);
144 void Print(std::string message);
void MapName(std::string scenario_name)
Definition: hs.cpp:99
BLAM_EXT_API BlamVector2 GetGameResolution()
Retrieves the current render resolution for the engine.
Definition: api.cpp:131
void Classify(std::string command)
Definition: hs.cpp:19
BLAM_EXT_API int EngineThreadInit()
Performs any additional engine initialization that needs to be called within the engine loop thread.
Definition: hooking.cpp:34
const wchar_t * window_name
Main window name (replaces what used to be called 'ver_conv').
Definition: main.cpp:64
void Win32DialogTest()
Definition: hs.cpp:179
void ToggleImguiWindow(std::string window_name)
Definition: hs.cpp:169
void Cls()
Definition: hs.cpp:24
void H2Print(std::string message)
Definition: hs.cpp:69
BLAM_EXT_API BlamVector3 GetMousePosition3D()
Retrieves the 3D position of the mouse pointer.
Definition: api.cpp:111
void NoU()
Definition: hs.cpp:104
void Drop(std::string tag_name)
Definition: hs.cpp:44
BLAM_EXT_API BlamVector3 GetDirectorPosition()
Retrieves the current position of the debug director.
Definition: api.cpp:74
void OpenGameDir()
Definition: hs.cpp:109
BLAM_EXT_API bool IsMouseCapturedByDirector()
Checks if the mouse is currently captured by the debug director.
Definition: api.cpp:121
void SentryTest()
Definition: hs.cpp:149
void Quit()
Definition: hs.cpp:124
BLAM_EXT_API void CleanupEngineResources()
Instructs the engine to clean up any resources.
Definition: hooking.cpp:39
void GeneratePlugins()
Definition: hs.cpp:59
void Crash(std::string confirm)
Definition: hs.cpp:29
void ListLevels()
Definition: hs.cpp:89
BLAM_EXT_API void MainLoop()
Function for the engine's main loop.
Definition: hooking.cpp:29
void ScreenRes(std::string resolution)
Definition: hs.cpp:134
BLAM_EXT_API std::vector< std::string > GetPrimitiveTypeStringList()
Creates a list of primitive types, represented as strings.
Definition: api.cpp:59
BLAM_EXT_API bool MainWindowProcedure(SDL_Event event)
Window Procedure for the main application window.
Definition: hooking.cpp:19
void TagFieldSizes()
Definition: hs.cpp:159
BLAM_EXT_API Blam3DPrimitiveType ConvertStringToPrimitiveType(std::string text)
Converts a string representation of a primitive type to the equivalent Blam3DPrimitiveType value.
Definition: api.cpp:49
@ Tags
The engine will load all content from tags.
BLAM_EXT_API float GetDirectorSpeed()
Retrieves the current speed of the debug director.
Definition: api.cpp:86
void ListColors()
Definition: hs.cpp:84
BLAM_EXT_API BlamVector2 GetMousePosition2D()
Retrieves the 2D position of the mouse pointer.
Definition: api.cpp:98
void DebugMenuRebuild()
Definition: hs.cpp:39
void ScriptDoc(bool quiet=false)
Definition: hs.cpp:144
void Version()
Definition: hs.cpp:174
void Explore(std::string mode, std::string path)
Definition: hs.cpp:54
Namespace for version 1 of the Blamite Game Engine API.
Definition: api.h:20
BLAM_EXT_API BlamWorldState * GetWorldState()
Retrieves the current world state.
Definition: api.cpp:44
void Abort(std::string confirm="")
Definition: hs.cpp:5
BLAM_EXT_API int StartEngine(int args_count, char *args[], SDL_Window *window)
Entry point for the engine.
Definition: hooking.cpp:24
BLAM_EXT_API void SetEngineViewportActive(bool viewport_active)
API wrapper around ImGui_ImplSDL2_SetActiveWindowOverride.
Definition: api.cpp:116
BLAM_EXT_API bool GetEngineHookState()
Retrieves the engine's hook state.
Definition: hooking.cpp:14
void H2Help(std::string command)
Definition: hs.cpp:64
BLAM_EXT_API void ExecuteConsoleCommand(const char *command)
Runs a command through the engine's console.
Definition: api.cpp:64
void OpenWebURL(std::string url)
Definition: hs.cpp:114
void Help()
Definition: hs.cpp:74
void CreateCmdObj()
Definition: hs.cpp:34
BLAM_EXT_API void LogEvent(std::string message)
Writes a message to the game engine log.
Definition: api.cpp:14
void ReloadMaterialDatablocks()
Definition: hs.cpp:129
void ShowStats()
Definition: hs.cpp:154
#define BLAM_EXT_API
Definition: api.h:10
void TagLoadForce(std::string tag_path)
Definition: hs.cpp:164
BLAM_EXT_API void ResizeViewport(int width, int height)
Resizes the engine's viewport resolution.
Definition: api.cpp:69
Class used to contain and access tag data.
Definition: tags.h:125
Definition: SdlEmulationLayer.h:735
void Print(std::string message)
Definition: hs.cpp:119
BLAM_EXT_API void SetEngineHookState(bool hook_state)
Sets whether or not the engine is hooked via Qt.
Definition: hooking.cpp:9
void Screenshot(std::string filename="")
Definition: hs.cpp:139
Blam3DPrimitiveType
Definition: world_objects.h:34
void ListenerBugCheck()
Definition: hs.cpp:94
void History()
Definition: hs.cpp:79
Class representing a world state.
Definition: world_objects.h:156
BLAM_EXT_API std::string ConvertPrimitiveTypeToString(Blam3DPrimitiveType type)
Converts a Blam3DPrimitiveType to a string representation.
Definition: api.cpp:54
Class representing a tag class.
Definition: tags.h:188
void DxRenderTargetClear(bool enable)
Definition: hs.cpp:49