Elaztek Developer Hub
Blamite Game Engine - Sapien (Stub Executable)  00411.04.21.24.0017.blamite
A small stub executable used to launch the Sapien editor.
Sapien::Modules::Keystone Namespace Reference

Namespace containing functions for the Keystone module. More...

Functions

SAPIEN bool SetupModule ()
 Initializes the Keystone module. More...
 
SAPIEN void ShutdownModule ()
 Shuts down the Keystone module. More...
 
SAPIEN HMODULE GetKeystoneModuleHandle ()
 Retrieves the Keystone module handle. More...
 
SAPIEN int ShowErrorDialog (bool allow_safemode, bool allow_continue, const char *text)
 Shows a Qt-driven error dialog. More...
 
SAPIEN int ShowSapienWindow ()
 Shows the main Sapien window. More...
 

Detailed Description

Namespace containing functions for the Keystone module.

Function Documentation

◆ GetKeystoneModuleHandle()

HMODULE Sapien::Modules::Keystone::GetKeystoneModuleHandle ( )

Retrieves the Keystone module handle.

Returns
The Keystone module handle.

◆ SetupModule()

bool Sapien::Modules::Keystone::SetupModule ( )

Initializes the Keystone module.

Returns
true if the module was loaded successfully, otherwise returns false.
+ Here is the caller graph for this function:

◆ ShowErrorDialog()

int Sapien::Modules::Keystone::ShowErrorDialog ( bool  allow_safemode,
bool  allow_continue,
const char *  text 
)

Shows a Qt-driven error dialog.

It is a reimplementation of the original Win32 error dialog.

Parameters
allow_safemode- Whether or not to enable the 'Continue in Safe Mode' option.
allow_continue- Wehther or not to enable the 'Continue' option.
text- The message to display to the user.
Returns
The return code of the error dialog.

◆ ShowSapienWindow()

int Sapien::Modules::Keystone::ShowSapienWindow ( )

Shows the main Sapien window.

Returns
The Qt application execution result.
+ Here is the caller graph for this function:

◆ ShutdownModule()

void Sapien::Modules::Keystone::ShutdownModule ( )

Shuts down the Keystone module.

+ Here is the caller graph for this function: