Etterna 0.74.4
Loading...
Searching...
No Matches
Functions
GameLoop Namespace Reference

Main rendering and update loop. More...

Functions

bool hasUserQuit ()
 
void setUserQuit ()
 
void loadSavedLayout ()
 
void setGameFocused (bool bAppHasFocus)
 Called when the user attempted to quit the game.
 
bool isGameFocused ()
 
bool didFocusChange ()
 
void setToggleWindowed ()
 
bool GetAndClearToggleWindowed ()
 
void SetUpdateRate (float fUpdateRate)
 
float GetUpdateRate ()
 
void ChangeTheme (const std::string &sNewTheme)
 
void ChangeGame (const std::string &new_game, const std::string &new_theme)
 
void RunGameLoop ()
 

Detailed Description

Main rendering and update loop.

Function Documentation

◆ setUserQuit()

void GameLoop::setUserQuit ( )
Returns
Return true if the user has attempted to quit the game.