Elaztek Developer Hub
Blamite Game Engine - Guerilla  00306.01.24.21.1348.blamite
The tag editor for the Blamite Game Engine.
keystone.h
Go to the documentation of this file.
1 #pragma once
2 
3 #include <Windows.h>
4 #include <Strings/components/settings/config/config.h>
5 
6 #include "../keystone/shared/callbacks.h"
7 
8 #ifndef GUERILLA
9 #define GUERILLA
10 #endif
11 
17 {
23  GUERILLA bool SetupModule();
24 
28  GUERILLA void ShutdownModule();
29 
36 
49  GUERILLA int ShowErrorDialog(bool classic, bool allow_safemode, bool allow_continue, const char* text);
50 
58  GUERILLA int ShowGuerillaWindow(BlamConfigurationFile* config);
59 
67  GUERILLA BlamResult LoadResourceGroup(std::string file_path);
68 }
Guerilla::Modules::Keystone::LoadResourceGroup
GUERILLA BlamResult LoadResourceGroup(std::string file_path)
Loads a resource group for use with Keystone's UI.
Definition: keystone.cpp:81
GUERILLA
#define GUERILLA
Definition: keystone.h:9
Guerilla::Modules::Keystone::ShowGuerillaWindow
GUERILLA int ShowGuerillaWindow(BlamConfigurationFile *config)
Shows the main Guerilla window.
Definition: keystone.cpp:76
Guerilla::Modules::Keystone::ShowErrorDialog
GUERILLA int ShowErrorDialog(bool classic, bool allow_safemode, bool allow_continue, const char *text)
Shows a Qt-driven error dialog.
Definition: keystone.cpp:71
Guerilla::Modules::Keystone::ShutdownModule
GUERILLA void ShutdownModule()
Shuts down the Keystone module.
Definition: keystone.cpp:61
Guerilla::Modules::Keystone
Namespace containing functions related to the Keystone module, as well as any imported functions from...
Definition: keystone.h:16
Guerilla::Modules::Keystone::GetKeystoneModuleHandle
GUERILLA HMODULE GetKeystoneModuleHandle()
Retrieves the module handle for Keystone.
Definition: keystone.cpp:66
Guerilla::Modules::Keystone::SetupModule
GUERILLA bool SetupModule()
Attempts to initialize the Keystone module and import any needed functions.
Definition: keystone.cpp:37