diff options
author | James Haley | 2010-09-19 03:39:59 +0000 |
---|---|---|
committer | James Haley | 2010-09-19 03:39:59 +0000 |
commit | 9e82bacdd27648d9494b8d1e13c3c7e7245ece8f (patch) | |
tree | d6a4a51cec11c7f8e8706dd2dbb58f29af067e52 /src/strife/hu_stuff.h | |
parent | 0c880455f09096938c08fd232bc417c87d388f8a (diff) | |
download | chocolate-doom-9e82bacdd27648d9494b8d1e13c3c7e7245ece8f.tar.gz chocolate-doom-9e82bacdd27648d9494b8d1e13c3c7e7245ece8f.tar.bz2 chocolate-doom-9e82bacdd27648d9494b8d1e13c3c7e7245ece8f.zip |
Massive work on the HUD. Multiline messages now work properly and are
wrapped at or near the screen boundary.
Subversion-branch: /branches/strife-branch
Subversion-revision: 2113
Diffstat (limited to 'src/strife/hu_stuff.h')
-rw-r--r-- | src/strife/hu_stuff.h | 21 |
1 files changed, 11 insertions, 10 deletions
diff --git a/src/strife/hu_stuff.h b/src/strife/hu_stuff.h index f5a0e53b..6986a143 100644 --- a/src/strife/hu_stuff.h +++ b/src/strife/hu_stuff.h @@ -31,20 +31,21 @@ // // Globally visible constants. // -#define HU_FONTSTART '!' // the first font characters -#define HU_FONTEND '_' // the last font characters +#define HU_FONTSTART '!' // the first font characters +#define HU_FONTEND '_' // the last font characters // Calculate # of glyphs in font. -#define HU_FONTSIZE (HU_FONTEND - HU_FONTSTART + 1) +#define HU_FONTSIZE (HU_FONTEND - HU_FONTSTART + 1) -#define HU_BROADCAST 5 +#define HU_BROADCAST 9 // haleyjd [STRIFE] Changed 5 -> 9 -#define HU_MSGX 0 -#define HU_MSGY 0 -#define HU_MSGWIDTH 64 // in characters -#define HU_MSGHEIGHT 1 // in lines +#define HU_MSGX 0 +#define HU_MSGY (SHORT(hu_font[0]->height) + 1) // [STRIFE]: DOOM bug fix +#define HU_MSGWIDTH 64 // in characters +#define HU_MSGHEIGHT 2 // in lines + +#define HU_MSGTIMEOUT (8*TICRATE) // haleyjd [STRIFE] Doubled message timeout -#define HU_MSGTIMEOUT (4*TICRATE) // // HEADS UP TEXT @@ -61,7 +62,7 @@ char HU_dequeueChatChar(void); void HU_Erase(void); extern char *chat_macros[10]; -extern char* pnameprefixes[][16]; // villsa [STRIFE] +extern char pnameprefixes[8][16]; // villsa [STRIFE] // haleyjd [STRIFE] externalized: extern char *mapnames[]; |