Go to the source code of this file.
Functions | |
void | draw_load_screen (const std::wstring &text, IrrlichtDevice *device, gui::IGUIEnvironment *guienv, ITextureSource *tsrc, float dtime=0, int percent=0, bool clouds=true) |
void | draw_scene (video::IVideoDriver *driver, scene::ISceneManager *smgr, Camera &camera, Client &client, LocalPlayer *player, Hud &hud, Minimap *mapper, gui::IGUIEnvironment *guienv, const v2u32 &screensize, const video::SColor &skycolor, bool show_hud, bool show_minimap) |
void draw_load_screen | ( | const std::wstring & | text, |
IrrlichtDevice * | device, | ||
gui::IGUIEnvironment * | guienv, | ||
ITextureSource * | tsrc, | ||
float | dtime = 0 , |
||
int | percent = 0 , |
||
bool | clouds = true |
||
) |
References porting::device, draw2DImageFilterScaled(), g_fontengine, g_menuclouds, g_menucloudsmgr, g_settings, Settings::getBool(), FontEngine::getLineHeight(), ITextureSource::getTexture(), FontEngine::getTextWidth(), porting::getWindowSize(), guienv, rangelim, Clouds::render(), and Clouds::step().
Referenced by Client::afterContentReceived(), Game::getServerContent(), Game::showOverlayMessage(), and texture_update_progress().
void draw_scene | ( | video::IVideoDriver * | driver, |
scene::ISceneManager * | smgr, | ||
Camera & | camera, | ||
Client & | client, | ||
LocalPlayer * | player, | ||
Hud & | hud, | ||
Minimap * | mapper, | ||
gui::IGUIEnvironment * | guienv, | ||
const v2u32 & | screensize, | ||
const video::SColor & | skycolor, | ||
bool | show_hud, | ||
bool | show_minimap | ||
) |
References CAMERA_MODE_THIRD, CAMERA_MODE_THIRD_FRONT, draw_anaglyph_3d_mode(), draw_interlaced_3d_mode(), draw_pageflip_3d_mode(), draw_plain(), draw_sidebyside_3d_mode(), draw_top_bottom_3d_mode(), Hud::drawCrosshair(), Hud::drawHotbar(), Hud::drawLuaElements(), Minimap::drawMinimap(), Camera::drawNametags(), g_settings, Settings::get(), Settings::getBool(), Camera::getCameraMode(), ClientEnvironment::getClientMap(), Client::getEnv(), Camera::getOffset(), Client::getPlayerItem(), guienv, HUD_FLAG_CROSSHAIR_VISIBLE, HUD_FLAG_WIELDITEM_VISIBLE, Player::hud_flags, ClientMap::renderPostFx(), and TimeTaker::stop().
Referenced by Game::updateFrame().