-
- Hud(video::IVideoDriver *driver, gui::IGUIEnvironment* guienv,
- gui::IGUIFont *font, u32 text_height, IGameDef *gamedef,
- LocalPlayer *player, Inventory *inventory);
-
- void drawItem(v2s32 upperleftpos, s32 imgsize, s32 itemcount,
- InventoryList *mainlist, u16 selectitem, u16 direction);
- void drawLuaElements();
- void drawStatbar(v2s32 pos, u16 corner, u16 drawdir,
- std::string texture, s32 count, v2s32 offset);
-
- void drawHotbar(v2s32 centerlowerpos, s32 halfheartcount, u16 playeritem, s32 breath);
+ std::string hotbar_image;
+ bool use_hotbar_image;
+ std::string hotbar_selected_image;
+ bool use_hotbar_selected_image;
+ v3s16 camera_offset;
+
+ Hud(video::IVideoDriver *driver,scene::ISceneManager* smgr,
+ gui::IGUIEnvironment* guienv, IGameDef *gamedef, LocalPlayer *player,
+ Inventory *inventory);
+
+ void drawHotbar(u16 playeritem);