Minetest  5.4.0
game.cpp File Reference
#include "game.h"
#include <iomanip>
#include <cmath>
#include "client/renderingengine.h"
#include "camera.h"
#include "client.h"
#include "client/clientevent.h"
#include "client/gameui.h"
#include "client/inputhandler.h"
#include "client/tile.h"
#include "client/keys.h"
#include "client/joystick_controller.h"
#include "clientmap.h"
#include "clouds.h"
#include "config.h"
#include "content_cao.h"
#include "content/subgames.h"
#include "client/event_manager.h"
#include "fontengine.h"
#include "itemdef.h"
#include "log.h"
#include "filesys.h"
#include "gameparams.h"
#include "gettext.h"
#include "gui/guiChatConsole.h"
#include "gui/guiConfirmRegistration.h"
#include "gui/guiFormSpecMenu.h"
#include "gui/guiKeyChangeMenu.h"
#include "gui/guiPasswordChange.h"
#include "gui/guiVolumeChange.h"
#include "gui/mainmenumanager.h"
#include "gui/profilergraph.h"
#include "mapblock.h"
#include "minimap.h"
#include "nodedef.h"
#include "nodemetadata.h"
#include "particles.h"
#include "porting.h"
#include "profiler.h"
#include "raycast.h"
#include "server.h"
#include "settings.h"
#include "shader.h"
#include "sky.h"
#include "translation.h"
#include "util/basic_macros.h"
#include "util/directiontables.h"
#include "util/pointedthing.h"
#include "util/quicktune_shortcutter.h"
#include "irrlicht_changes/static_text.h"
#include "version.h"
#include "script/scripting_client.h"
#include "hud.h"
#include "client/sound_openal.h"

Classes

struct  TextDestNodeMetadata
 
struct  TextDestPlayerInventory
 
struct  LocalFormspecHandler
 
class  NodeMetadataFormSource
 
class  PlayerInventoryFormSource
 
class  NodeDugEvent
 
class  SoundMaker
 
class  GameOnDemandSoundFetcher
 
class  GameGlobalShaderConstantSetter
 
class  GameGlobalShaderConstantSetterFactory
 
struct  FpsControl
 
struct  GameRunData
 
struct  ClientEventHandler
 
class  Game
 
struct  Game::Flags
 

Macros

#define SIZE_TAG   "size[11,5.5,true]"
 
#define GET_KEY_NAME(KEY)   gettext(getKeySetting(#KEY).name())
 

Typedefs

typedef s32 SamplerLayer_t
 

Functions

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

Variables

const float object_hit_delay = 0.2
 

Macro Definition Documentation

◆ GET_KEY_NAME

#define GET_KEY_NAME (   KEY)    gettext(getKeySetting(#KEY).name())

◆ SIZE_TAG

#define SIZE_TAG   "size[11,5.5,true]"

Typedef Documentation

◆ SamplerLayer_t

typedef s32 SamplerLayer_t

Function Documentation

◆ the_game()

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

References errorstream, PROJECT_NAME_C, 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:

Variable Documentation

◆ object_hit_delay

const float object_hit_delay = 0.2