 |
Gorgon Game Engine
|
void Initialize()
Starts audio subsystem with the default device.
Definition: Filesystem.cpp:14
void Animate()
Definition: Animation.cpp:31
void Initialize()
Initializes window manager system.
Definition: WindowManager.cpp:40
void Initialize()
Definition: Resource.cpp:18
contains filesystem functions.
unsigned long framestart
Definition: Time.cpp:406
unsigned long GetTime()
Returns current time in milliseconds.
Definition: Linux.cpp:34
This class provides event mechanism.
Definition: Event.h:134
contains operating system functionality.
void Render()
This function calls the starts the rendering pipeline.
Definition: Main.cpp:109
void Initialize(const std::string &systemname)
Initializes the entire system except for graphics and UI.
Definition: Main.cpp:72
std::string systemname
Definition: Main.cpp:65
Event BeforeFrameEvent
Definition: Main.cpp:58
unsigned long deltatime
Definition: Time.cpp:407
void NextFrame()
This function marks the end of current frame and starts the next one.
Definition: Main.cpp:115
Defines the abstract class of Runner.
Definition: Main.h:21
void Initialize()
Initializes the scripting system.
Definition: Scripting.h:85
Root namespace for Gorgon Game Engine.
Definition: Any.h:19
virtual void Run()=0
Takes the control of the execution until Quit is called.
contains window manager dependent functionality.
std::string GetSystemName()
Returns the name of the current system.
Definition: Main.h:38
virtual void Quit()=0
Should quit after the current frame is completed for a graceful exit.
constexpr Type Animation
Definition: GID.h:187
contains event distribution mechanism
static const Containers::Collection< Window > & Windows
List of currently created windows.
Definition: Window.h:401
void Tick()
Performs various operations that are vital to system execution.
Definition: Main.cpp:87
void UpdateFrame()
This method works similar to next frame, however, no delay is done.
Definition: Main.cpp:132
void processmessages()
This method will notify the system should process any messages that coming from the operating system.
Definition: Linux.cpp:281
contains time related functions and classes
bool exiting
Definition: Main.cpp:62
void Initialize()
Initializes the filesystem module.
Definition: Filesystem.cpp:14
void RegisterOnce(std::function< void()> fn)
Registers a function to be run at the start of the next frame.
Definition: Main.cpp:142
unsigned long FrameStart()
Returns start time of the current frame in milliseconds.
Definition: Time.h:252
std::vector< std::function< void()> > once
Definition: Main.cpp:60
virtual void Step()=0
Runs a single frame.