Align equipment icons and stats on HUD

Among other things it fixes https://github.com/assaultcube/AC/issues/65 .
It betters also display for oldfashionedgunstats=1.
This commit is contained in:
aurhat
2015-03-07 12:17:44 +01:00
parent 6cdb2f88e1
commit 63bbd353fc
3 changed files with 18 additions and 9 deletions
+7
View File
@@ -595,6 +595,13 @@ extern void restoreeditundo(ucharbuf &q);
extern int backupeditundo(vector<uchar> &buf, int undolimit, int redolimit);
// renderhud
#define HUDPOS_ICONSPACING 235
#define HUDPOS_HEALTH 10
#define HUDPOS_ARMOUR (HUDPOS_HEALTH + HUDPOS_ICONSPACING)
#define HUDPOS_WEAPON (HUDPOS_ARMOUR + HUDPOS_ICONSPACING)
#define HUDPOS_GRENADE (HUDPOS_WEAPON + HUDPOS_ICONSPACING)
#define HUDPOS_NUMBERSPACING 70
enum
{
HUDMSG_INFO = 0,