Minetest  0.4.16
drawscene.h File Reference
#include "camera.h"
#include "hud.h"
#include "minimap.h"
#include "irrlichttypes_extrabloated.h"
+ Include dependency graph for drawscene.h:
+ This graph shows which files directly or indirectly include this file:

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)
 

Function Documentation

◆ draw_load_screen()

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().

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

◆ draw_scene()

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 
)