summaryrefslogtreecommitdiff
path: root/src/hud.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/hud.h')
-rw-r--r--src/hud.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/hud.h b/src/hud.h
index 54b7e7f36..fa9d33f8b 100644
--- a/src/hud.h
+++ b/src/hud.h
@@ -36,6 +36,11 @@ with this program; if not, write to the Free Software Foundation, Inc.,
#define HUD_FLAG_CROSSHAIR_VISIBLE (1 << 2)
#define HUD_FLAG_WIELDITEM_VISIBLE (1 << 3)
+#define HUD_PARAM_HOTBAR_ITEMCOUNT 1
+
+#define HUD_HOTBAR_ITEMCOUNT_DEFAULT 8
+#define HUD_HOTBAR_ITEMCOUNT_MAX 23
+
class Player;
enum HudElementType {
@@ -102,7 +107,6 @@ public:
v2u32 screensize;
v2s32 displaycenter;
s32 hotbar_imagesize;
- s32 hotbar_itemcount;
video::SColor crosshair_argb;
video::SColor selectionbox_argb;