1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-08-06 17:41:04 +00:00

Minor hud.cpp cleanup

This commit is contained in:
kwolekr 2013-04-25 20:56:12 -04:00
parent 43a388ec53
commit 0fb9567f13
2 changed files with 10 additions and 9 deletions

View file

@ -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,