Elaztek Developer Hub
Blamite Game Engine - Sapien (Stub Executable)  00386.06.16.23.0646.blamite
A small stub executable used to launch the Sapien editor.
keystone.cpp File Reference
#include "keystone.h"
#include <string>
+ Include dependency graph for keystone.cpp:

Typedefs

typedef int(CALLBACK * _ShowErrorDialog) (bool allow_safemode, bool allow_continue, const char *text)
 
typedef int(CALLBACK * _ShowSapienWindow) ()
 
typedef void(CALLBACK * _Initialize) ()
 
typedef void(CALLBACK * _Shutdown) ()
 

Functions

template<typename T >
bool load_keystone_function (T *function_callback, const 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
 
_ShowSapienWindow __Keystone_ShowSapienWindow
 
_Initialize __Keystone_Initialize
 
_Shutdown __Keystone_Shutdown
 

Typedef Documentation

◆ _Initialize

typedef void(CALLBACK* _Initialize) ()

◆ _ShowErrorDialog

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

◆ _ShowSapienWindow

typedef int(CALLBACK* _ShowSapienWindow) ()

◆ _Shutdown

typedef void(CALLBACK* _Shutdown) ()

Function Documentation

◆ load_keystone_function()

template<typename T >
bool load_keystone_function ( T *  function_callback,
const 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_ShowErrorDialog

_ShowErrorDialog __Keystone_ShowErrorDialog

◆ __Keystone_ShowSapienWindow

_ShowSapienWindow __Keystone_ShowSapienWindow

◆ __Keystone_Shutdown

_Shutdown __Keystone_Shutdown

◆ keystone_handle

HMODULE keystone_handle

The module handle of the Keystone library.