 |
Blamite Game Engine - Keystone
00390.07.02.23.1947.blamite
A library that enables the use of Qt in Blamite's editing tools.
|
LARGE_INTEGER editor_clock_frequency
The frequency of the CPU clock. Used in calculations for tick rate.
Definition: tick.cpp:26
Class representing a Tag document.
Definition: tag.h:15
BlamEditorDocumentType GetDocumentType()
Retrieves the type of this document.
Definition: BlamEditorDocument.cpp:17
#define BLAM
Definition: tick.h:7
KEYSTONE std::string ConvertDocumentTypeToString(BlamEditorDocumentType document_type)
Definition: workspace.cpp:73
BlamEditorDocument * GetActiveDocument()
Get the current active document.
Definition: BlamEditorWindow.cpp:343
@ GameWindow
Special document type used for the Game Viewport window.
float editor_seconds_per_tick
The number of seconds within a single tick. Usually much less than 1 second.
Definition: tick.cpp:27
BLAM bool IsTickLoopRunning()
Determines whether or not the tick loop is currently running - NOT whether it is paused.
Definition: tick.cpp:172
KEYSTONE Qt::DockWidgetArea ConvertStringToDockWidgetArea(std::string value)
Definition: workspace.cpp:49
BLAM bool HasTickStopped()
Determines whether or not the tick loop has finished terminating.
Definition: tick.cpp:167
Font Awesome Free License Font Awesome Free is free
Definition: LICENSE.txt:4
uint64_t editor_total_runtime_ticks
Number of game ticks that have been run during entire program execution.
Definition: tick.cpp:23
BLAM void PrepareTick()
Prepares required data for the tick loop.
Definition: tick.cpp:34
BlamEditorDocumentType
Enumerator containing all possible editor document types.
Definition: BlamEditorDocument.h:23
KEYSTONE BlamEngineViewportWidget * GetViewportWidget()
Retrieves the engine viewport widget.
Definition: engine.cpp:92
float editor_total_elapsed_time
The total amount of time elapsed this second. Used to determine how many ticks have run this second.
Definition: tick.cpp:28
BLAM int MaxTicksPerSecond()
Retrieves the maximum number of ticks per second.
Definition: tick.cpp:177
BLAM void SetCurrentTickRate(int tickrate)
Stops the editor tick, updates the tick rate, and re-starts the editor tick.
Definition: tick.cpp:182
bool editor_pause_tick
Whether or not to temporarily pause the game tick.
Definition: tick.cpp:31
void doTick()
Fires a #Blam::Events::TickEvent event to inform all listeners to update based on the game tick.
Definition: tick.cpp:62
KEYSTONE BlamEditorToolWindowType ConvertStringToToolWindowType(std::string value)
Definition: workspace.cpp:21
BLAM void ResumeTickLoop()
Resumes the tick loop if it has been paused.
Definition: tick.cpp:152
KEYSTONE std::string ConvertToolWindowTypeToString(BlamEditorToolWindowType window_type)
Definition: workspace.cpp:91
@ Tag
Indicates the document represents a tag file.
BLAM void PauseTickLoop()
Temporarily pauses the tick loop.
Definition: tick.cpp:157
int editor_max_tickrate
Maximum number of times doTick() should be run per second.
Definition: tick.cpp:21
KEYSTONE BlamEditorDocumentType ConvertStringToDocumentType(std::string value)
Definition: workspace.cpp:5
KEYSTONE BlamEditorWindow * GetMainEditorWindow()
Retrieves the main editor window.
Definition: editor_data.cpp:32
bool editor_has_tick_stopped
Whether or not the game tick loop has terminated.
Definition: tick.cpp:32
BLAM uint64_t GetCurrentTickRate()
Retrieves the current tick rate.
Definition: tick.cpp:42
float checkElapsedTime()
Definition: tick.cpp:50
int editor_ticks_this_second
Number of game ticks that have been run this second.
Definition: tick.cpp:22
Interface class that any types of editor documents inherit from.
Definition: BlamEditorDocument.h:37
BLAM void EndTickLoop()
Terminates the tick loop.
Definition: tick.cpp:162
bool needs_update
Whether or not this tag needs to be updated in-engine. Ignored if live_update is false.
Definition: tag.h:24
KEYSTONE std::string ConvertDockWidgetAreaToString(Qt::DockWidgetArea dock_position)
Definition: workspace.cpp:121
@ Unspecified
Indicates the document type is unspecified or invalid.
BlamTag * tag
The tag associated with this document.
Definition: tag.h:19
LARGE_INTEGER editor_last_second_time
Timestamp of previous second/tick counter reset.
Definition: tick.cpp:25
KEYSTONE bool GetEngineActiveState()
Checks whether or not the engine is currently running.
Definition: engine.cpp:102
Namespace containing components relating to the editor tick.
Definition: tick.h:15
bool editor_run_tick_loop
Whether or not to continue running the game tick loop.
Definition: tick.cpp:30
BLAM void TickThread()
Function containing the tick loop.
Definition: tick.cpp:108
bool live_update
Whether or not this tag should be continuously updated ingame for realtime editing.
Definition: tag.h:23