diff options
author | sapier <Sapier at GMX dot net> | 2014-11-28 20:06:34 +0100 |
---|---|---|
committer | sapier <Sapier at GMX dot net> | 2014-11-30 18:06:54 +0100 |
commit | 39162de15a2603f1282241aef412ef1b70162b27 (patch) | |
tree | ddcd0c42420093eaebdda13ed10101308af345dc /src/hud.h | |
parent | d1d6a97b1cd05ec34358b6519fc232fc158cf521 (diff) | |
download | minetest-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.h | 7 |
1 files changed, 2 insertions, 5 deletions
@@ -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(); |