#include <iostream>
#include <algorithm>
#include <sstream>
#include <cmath>
#include <IFileSystem.h>
#include "client.h"
#include "network/clientopcodes.h"
#include "network/connection.h"
#include "network/networkpacket.h"
#include "threading/mutex_auto_lock.h"
#include "client/clientevent.h"
#include "client/gameui.h"
#include "client/renderingengine.h"
#include "client/sound.h"
#include "client/tile.h"
#include "util/auth.h"
#include "util/directiontables.h"
#include "util/pointedthing.h"
#include "util/serialize.h"
#include "util/string.h"
#include "util/srp.h"
#include "filesys.h"
#include "mapblock_mesh.h"
#include "mapblock.h"
#include "minimap.h"
#include "modchannels.h"
#include "content/mods.h"
#include "profiler.h"
#include "shader.h"
#include "gettext.h"
#include "clientmap.h"
#include "clientmedia.h"
#include "version.h"
#include "database/database-sqlite3.h"
#include "serialization.h"
#include "guiscalingfilter.h"
#include "script/scripting_client.h"
#include "game.h"
#include "chatmessage.h"
#include "translation.h"
Classes | |
struct | TextureUpdateArgs |
Macros | |
#define | set_world_path(hostname) |
Typedefs | |
typedef struct TextureUpdateArgs | TextureUpdateArgs |
Functions | |
void | writePlayerPos (LocalPlayer *myplayer, ClientMap *clientMap, NetworkPacket *pkt) |
void | texture_update_progress (void *args, u32 progress, u32 max_progress) |
Variables | |
gui::IGUIEnvironment * | guienv |
#define set_world_path | ( | hostname | ) |
typedef struct TextureUpdateArgs TextureUpdateArgs |
void texture_update_progress | ( | void * | args, |
u32 | progress, | ||
u32 | max_progress | ||
) |
References RenderingEngine::draw_load_screen(), porting::getTimeMs(), TextureUpdateArgs::guienv, TextureUpdateArgs::last_percent, TextureUpdateArgs::last_time_ms, TextureUpdateArgs::text_base, and TextureUpdateArgs::tsrc.
Referenced by Client::afterContentReceived().
void writePlayerPos | ( | LocalPlayer * | myplayer, |
ClientMap * | clientMap, | ||
NetworkPacket * | pkt | ||
) |
References ClientMap::getCameraFov(), ClientMap::getControl(), LocalPlayer::getPitch(), LocalPlayer::getPosition(), Player::getSpeed(), LocalPlayer::getYaw(), Player::keyPressed, MAP_BLOCKSIZE, MYMIN, and MapDrawControl::wanted_range.
Referenced by Client::interact(), and Client::sendPlayerPos().
|
extern |
Referenced by GameUI::GameUI(), RenderingEngine::_draw_load_screen(), RenderingEngine::_draw_menu_scene(), Client::afterContentReceived(), Game::connectToServer(), Game::createClient(), RenderingEngine::draw_load_screen(), RenderingEngine::draw_menu_scene(), Game::getServerContent(), Game::handleCallbacks(), GameUI::init(), Game::initGui(), Game::processUserInput(), and Game::showOverlayMessage().