summaryrefslogtreecommitdiff
path: root/src/hud.h
diff options
context:
space:
mode:
authorkwolekr <kwolekr@minetest.net>2013-04-25 20:56:12 -0400
committerkwolekr <kwolekr@minetest.net>2013-04-25 20:56:12 -0400
commit0fb9567f1394646a71d42aa9bd7e6da8343c9784 (patch)
treeab6d75370d5d2cb6c6c66a5c49639e76c14b3420 /src/hud.h
parent43a388ec533220fcdb84fb3680bcb87a38fd010d (diff)
downloadminetest-0fb9567f1394646a71d42aa9bd7e6da8343c9784.tar.gz
minetest-0fb9567f1394646a71d42aa9bd7e6da8343c9784.tar.bz2
minetest-0fb9567f1394646a71d42aa9bd7e6da8343c9784.zip
Minor hud.cpp cleanup
Diffstat (limited to 'src/hud.h')
-rw-r--r--src/hud.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/hud.h b/src/hud.h
index 405e91176..00e44dd80 100644
--- a/src/hud.h
+++ b/src/hud.h
@@ -82,8 +82,6 @@ inline u32 hud_get_free_id(Player *player) {
#ifndef SERVER
-#include <deque>
-
#include <IGUIFont.h>
#include "gamedef.h"
@@ -99,6 +97,7 @@ public:
IGameDef *gamedef;
LocalPlayer *player;
Inventory *inventory;
+ ITextureSource *tsrc;
v2u32 screensize;
v2s32 displaycenter;
@@ -107,6 +106,7 @@ public:
video::SColor crosshair_argb;
video::SColor selectionbox_argb;
+ bool use_crosshair_image;
Hud(video::IVideoDriver *driver, gui::IGUIEnvironment* guienv,
gui::IGUIFont *font, u32 text_height, IGameDef *gamedef,