Elaztek Developer Hub
Blamite Game Engine - Guerilla (Stub Executable)  00326.06.27.21.0407.blamite
A small stub executable that is used to launch Guerilla.
keystone.cpp File Reference
#include "keystone.h"
#include <Strings/components/logger/logger.h>

Typedefs

typedef int(CALLBACK * _ShowErrorDialog) (bool classic, bool allow_safemode, bool allow_continue, const char *text)
 
typedef int(CALLBACK * _ShowGuerillaWindow) (BlamConfigurationFile *config)
 
typedef BlamResult(CALLBACK * _LoadResourceGroup) (std::string file_path)
 
typedef void(CALLBACK * _Initialize) ()
 
typedef void(CALLBACK * _SetLogger) (BlamBasicLogger *new_logger)
 

Functions

template<typename T >
bool load_keystone_function (T *function_callback, char *function_name)
 Loads a function from the Keystone library. More...
 

Variables

HMODULE keystone_handle
 The module handle of the Keystone library. More...
 
_ShowErrorDialog __Keystone_ShowErrorDialog
 
_ShowGuerillaWindow __Keystone_ShowGuerillaWindow
 
_LoadResourceGroup __Keystone_LoadResourceGroup
 
_Initialize __Keystone_Initialize
 

Typedef Documentation

◆ _Initialize

typedef void(CALLBACK* _Initialize) ()

◆ _LoadResourceGroup

typedef BlamResult(CALLBACK* _LoadResourceGroup) (std::string file_path)

◆ _SetLogger

typedef void(CALLBACK* _SetLogger) (BlamBasicLogger *new_logger)

◆ _ShowErrorDialog

typedef int(CALLBACK* _ShowErrorDialog) (bool classic, bool allow_safemode, bool allow_continue, const char *text)

◆ _ShowGuerillaWindow

typedef int(CALLBACK* _ShowGuerillaWindow) (BlamConfigurationFile *config)

Function Documentation

◆ load_keystone_function()

template<typename T >
bool load_keystone_function ( T *  function_callback,
char *  function_name 
)

Loads a function from the Keystone library.

Parameters
function_callback- Pointer to the callback type. If the function is loaded, this is set to the function address.
function_name- The name of the function within Keystone.
Returns
true if the function was loaded successfully, otherwise returns false.

Variable Documentation

◆ __Keystone_Initialize

_Initialize __Keystone_Initialize

◆ __Keystone_LoadResourceGroup

_LoadResourceGroup __Keystone_LoadResourceGroup

◆ __Keystone_ShowErrorDialog

_ShowErrorDialog __Keystone_ShowErrorDialog

◆ __Keystone_ShowGuerillaWindow

_ShowGuerillaWindow __Keystone_ShowGuerillaWindow

◆ keystone_handle

HMODULE keystone_handle

The module handle of the Keystone library.