1 // Emacs style mode select -*- C++ -*-
2 //-----------------------------------------------------------------------------
6 // Copyright (C) 1993-1996 by id Software, Inc.
8 // This source is available for distribution and/or modification
9 // only under the terms of the DOOM Source Code License as
10 // published by id Software. All rights reserved.
12 // The source is distributed in the hope that it will be useful,
13 // but WITHOUT ANY WARRANTY; without even the implied warranty of
14 // FITNESS FOR A PARTICULAR PURPOSE. See the DOOM Source Code License
17 // DESCRIPTION: Head up display
19 //-----------------------------------------------------------------------------
21 #ifndef __HU_STUFF_H__
22 #define __HU_STUFF_H__
28 // Globally visible constants.
30 #define HU_FONTSTART '!' // the first font characters
31 #define HU_FONTEND '_' // the last font characters
33 // Calculate # of glyphs in font.
34 #define HU_FONTSIZE (HU_FONTEND - HU_FONTSTART + 1)
36 #define HU_BROADCAST 5
38 #define HU_MSGREFRESH KEY_ENTER
41 #define HU_MSGWIDTH 64 // in characters
42 #define HU_MSGHEIGHT 1 // in lines
44 #define HU_MSGTIMEOUT (4*TICRATE)
53 boolean HU_Responder(event_t* ev);
57 char HU_dequeueChatChar(void);
62 //-----------------------------------------------------------------------------
66 //-----------------------------------------------------------------------------