summaryrefslogtreecommitdiff
path: root/src/hud.h
diff options
context:
space:
mode:
authorsapier <Sapier at GMX dot net>2014-11-28 20:06:34 +0100
committersapier <Sapier at GMX dot net>2014-11-30 18:06:54 +0100
commit39162de15a2603f1282241aef412ef1b70162b27 (patch)
treeddcd0c42420093eaebdda13ed10101308af345dc /src/hud.h
parentd1d6a97b1cd05ec34358b6519fc232fc158cf521 (diff)
downloadminetest-39162de15a2603f1282241aef412ef1b70162b27.tar.gz
minetest-39162de15a2603f1282241aef412ef1b70162b27.tar.bz2
minetest-39162de15a2603f1282241aef412ef1b70162b27.zip
Make hud use fontengine too
Fix non coding style conforming glb_fontengine to g_fontengine Fix fonts never been deleted due to grabbed to often
Diffstat (limited to 'src/hud.h')
-rw-r--r--src/hud.h7
1 files changed, 2 insertions, 5 deletions
diff --git a/src/hud.h b/src/hud.h
index 9969fce73..2e6838eb1 100644
--- a/src/hud.h
+++ b/src/hud.h
@@ -103,8 +103,6 @@ public:
video::IVideoDriver *driver;
scene::ISceneManager* smgr;
gui::IGUIEnvironment *guienv;
- gui::IGUIFont *font;
- u32 text_height;
IGameDef *gamedef;
LocalPlayer *player;
Inventory *inventory;
@@ -120,9 +118,8 @@ public:
v3s16 camera_offset;
Hud(video::IVideoDriver *driver,scene::ISceneManager* smgr,
- gui::IGUIEnvironment* guienv, gui::IGUIFont *font,
- u32 text_height, IGameDef *gamedef,
- LocalPlayer *player, Inventory *inventory);
+ gui::IGUIEnvironment* guienv, IGameDef *gamedef, LocalPlayer *player,
+ Inventory *inventory);
void drawHotbar(u16 playeritem);
void resizeHotbar();