Elaztek Developer Hub
Blamite Game Engine - Guerilla (Stub Executable)  00402.09.29.23.0627.blamite
A small stub executable that is used to launch Guerilla.
Guerilla::Modules::Keystone Namespace Reference

Namespace containing functions related to the Keystone module, as well as any imported functions from Keystone. More...

Functions

GUERILLA bool SetupModule ()
 Attempts to initialize the Keystone module and import any needed functions. More...
 
GUERILLA void ShutdownModule ()
 Shuts down the Keystone module. More...
 
GUERILLA HMODULE GetKeystoneModuleHandle ()
 Retrieves the module handle for Keystone. More...
 
GUERILLA int ShowErrorDialog (bool allow_safemode, bool allow_continue, const char *text)
 Shows a Qt-driven error dialog. More...
 
GUERILLA int ShowGuerillaWindow ()
 Shows the main Guerilla window. More...
 

Detailed Description

Namespace containing functions related to the Keystone module, as well as any imported functions from Keystone.

Function Documentation

◆ GetKeystoneModuleHandle()

HMODULE Guerilla::Modules::Keystone::GetKeystoneModuleHandle ( )

Retrieves the module handle for Keystone.

Returns
The module handle for Keystone.

◆ SetupModule()

bool Guerilla::Modules::Keystone::SetupModule ( )

Attempts to initialize the Keystone module and import any needed functions.

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

◆ ShowErrorDialog()

int Guerilla::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
classic- Whether or not to display the dialog with a classic appearance.
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.
Todo:
Have return value changed over to use #KeystoneDialogResult instead.
+ Here is the caller graph for this function:

◆ ShowGuerillaWindow()

int Guerilla::Modules::Keystone::ShowGuerillaWindow ( )

Shows the main Guerilla window.

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

◆ ShutdownModule()

void Guerilla::Modules::Keystone::ShutdownModule ( )

Shuts down the Keystone module.

+ Here is the caller graph for this function: