mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
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
This commit is contained in:
parent
d1d6a97b1c
commit
39162de15a
12 changed files with 41 additions and 47 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();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue