 |
Blamite Game Engine - Keystone
00455.08.09.26.2217.blamite
A library that enables the use of Qt in Blamite's editing tools.
|
Go to the documentation of this file.
3 #include <QtWidgets/QApplication>
15 #ifdef KEYSTONE_EXPORTS
16 #define KEYSTONE_API extern "C" __declspec(dllexport)
18 #define KEYSTONE_API extern "C" __declspec(dllimport)
KEYSTONE QApplication * GetQApplication()
Retrieves the pointer to the current Qt application.
Definition: keystone_main.cpp:128
HMODULE dll_handle
Handle for the keystone library.
Definition: keystone_main.cpp:22
Namespace for anything within the Keystone library.
Definition: BlamEditorDocument.h:178
BLAM void PrepareTick()
Prepares required data for the tick loop.
Definition: tick.cpp:34
bool ShouldExit()
Definition: SelectProjectDialog.cpp:26
@ Ok
Dialog is shown with an [OK] button.
@ Error
Dialog icon will be a red circle with an X.
KEYSTONE void UnloadDocumentConfigurations()
Unloads all document type configurations.
Definition: document_config.cpp:92
KEYSTONE HMODULE GetKeystoneDLLHandle()
Retrieves the handle for the Keystone library.
Definition: keystone_main.cpp:123
#define KEYSTONE_API
Definition: keystone_main.h:18
KEYSTONE int StartEngine()
Initializes the game engine and starts the main loop thread.
Definition: engine.cpp:48
KEYSTONE KeystoneDialogResult ShowMessageBox(std::string message)
Definition: utils.cpp:294
Definition: SelectProjectDialog.h:9
KEYSTONE void ShutdownEngine()
Shuts down the engine.
Definition: engine.cpp:95
KEYSTONE bool LoadThemes()
Loads all themes from Qt and the keystone theme folders.
Definition: themes.cpp:259
KEYSTONE void UnloadToolWindows()
Unoads all registered tool windows.
Definition: editor_data.cpp:68
BLAM void EndTickLoop()
Terminates the tick loop.
Definition: tick.cpp:148
KEYSTONE void SetupCustomTagEditors()
Definition: custom_tag_editor.cpp:15
#define KEYSTONE
Macro to prevent name collisions for anything within the Keystone library.
Definition: keystone_main.h:12
KEYSTONE_API bool Initialize()
Initialize any data needed for Keystone/Qt.
Definition: keystone_main.cpp:26
BOOL APIENTRY DllMain(HMODULE module_handle, DWORD reason, LPVOID reserved)
Entry point for keystone.dll.
Definition: keystone_main.cpp:113
QApplication * qt_application
Pointer to the current Qt application.
Definition: keystone_main.cpp:21
KEYSTONE_API void Shutdown()
Definition: keystone_main.cpp:94
BLAM void TickThread()
Function containing the tick loop.
Definition: tick.cpp:94
std::thread tick_thread
Definition: keystone_main.cpp:24