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:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user