Luanti 5.11.0-dev
 
Loading...
Searching...
No Matches
game.h File Reference
#include "irrlichttypes.h"
#include "config.h"
#include <string>
+ Include dependency graph for game.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  Jitter
 
struct  RunStats
 
struct  CameraOrientation
 

Macros

#define GAME_FALLBACK_TIMEOUT   1.8f
 
#define GAME_CONNECTION_TIMEOUT   10.0f
 

Functions

void the_game (bool *kill, InputHandler *input, RenderingEngine *rendering_engine, const GameStartData &start_data, std::string &error_message, ChatBackend &chat_backend, bool *reconnect_requested)
 

Macro Definition Documentation

◆ GAME_CONNECTION_TIMEOUT

#define GAME_CONNECTION_TIMEOUT   10.0f

Referenced by Game::connectToServer().

◆ GAME_FALLBACK_TIMEOUT

#define GAME_FALLBACK_TIMEOUT   1.8f

Referenced by Game::connectToServer().

Function Documentation

◆ the_game()

void the_game ( bool * kill,
InputHandler * input,
RenderingEngine * rendering_engine,
const GameStartData & start_data,
std::string & error_message,
ChatBackend & chat_backend,
bool * reconnect_requested )

References errorstream, fmtgettext(), Game::run(), Game::shutdown(), Game::startup(), strgettext(), and BaseException::what().

Referenced by ClientLauncher::run().

+ Here is the call graph for this function:
+ Here is the caller graph for this function: