Luanti 5.15.0-dev
 
Loading...
Searching...
No Matches
game.cpp File Reference
#include "game_internal.h"
#include <cmath>
#include <csignal>
#include "client/gameui.h"
#include "client/inputhandler.h"
#include "client/texturepaths.h"
#include "client/keys.h"
#include "client/joystick_controller.h"
#include "client/mapblock_mesh.h"
#include "client/sound.h"
#include "clientmap.h"
#include "clientmedia.h"
#include "config.h"
#include "content_cao.h"
#include "content/subgames.h"
#include "client/event_manager.h"
#include "fontengine.h"
#include "itemdef.h"
#include "gameparams.h"
#include "gettext.h"
#include "gui/guiChatConsole.h"
#include "texturesource.h"
#include "gui/mainmenumanager.h"
#include "gui/profilergraph.h"
#include "localplayer.h"
#include "minimap.h"
#include "network/networkexceptions.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 "sound_maker.h"
#include "threading/lambda.h"
#include "translation.h"
#include "util/basic_macros.h"
#include "util/directiontables.h"
#include "util/quicktune_shortcutter.h"
#include "version.h"
#include "script/scripting_client.h"
#include "hud.h"
#include <AnimatedMeshSceneNode.h>
#include <ICameraSceneNode.h>
#include "util/tracy_wrapper.h"
#include "item_visuals_manager.h"
#include "client/sound/sound_openal.h"

Classes

class  GameGlobalShaderUniformSetter
 
class  GameGlobalShaderUniformSetterFactory
 
class  NodeShaderConstantSetter
 

Macros

#define PROVIDE(constant)   constants[ #constant ] = (int)constant
 
#define CASE_SET(statval, prop, dataprop)
 

Typedefs

typedef s32 SamplerLayer_t
 

Functions

static void pauseNodeAnimation (PausedNodesList &paused, scene::ISceneNode *node)
 
void the_game (volatile std::sig_atomic_t *kill, InputHandler *input, RenderingEngine *rendering_engine, const GameStartData &start_data, std::string &error_message, ChatBackend &chat_backend, bool *reconnect_requested)
 

Macro Definition Documentation

◆ CASE_SET

#define CASE_SET ( statval,
prop,
dataprop )
Value:
case statval: \
e->prop = event->hudchange->dataprop; \
break

Referenced by Game::handleClientEvent_HudChange().

◆ PROVIDE

#define PROVIDE ( constant)    constants[ #constant ] = (int)constant

Typedef Documentation

◆ SamplerLayer_t

typedef s32 SamplerLayer_t

Function Documentation

◆ pauseNodeAnimation()

static void pauseNodeAnimation ( PausedNodesList & paused,
scene::ISceneNode * node )
static

References pauseNodeAnimation().

Referenced by Game::pauseAnimation(), and pauseNodeAnimation().

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

◆ the_game()

void the_game ( volatile std::sig_atomic_t * 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: