Subversion Repositories Kolibri OS

Rev

Go to most recent revision | Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
325 serge 1
// Emacs style mode select   -*- C++ -*-
2
//-----------------------------------------------------------------------------
3
//
4
// $Id:$
5
//
6
// Copyright (C) 1993-1996 by id Software, Inc.
7
//
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.
11
//
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
15
// for more details.
16
//
17
// DESCRIPTION:  Head up display
18
//
19
//-----------------------------------------------------------------------------
20
 
21
#ifndef __HU_STUFF_H__
22
#define __HU_STUFF_H__
23
 
24
#include "d_event.h"
25
 
26
 
27
//
28
// Globally visible constants.
29
//
30
#define HU_FONTSTART	'!'	// the first font characters
31
#define HU_FONTEND	'_'	// the last font characters
32
 
33
// Calculate # of glyphs in font.
34
#define HU_FONTSIZE	(HU_FONTEND - HU_FONTSTART + 1)
35
 
36
#define HU_BROADCAST	5
37
 
38
#define HU_MSGREFRESH	KEY_ENTER
39
#define HU_MSGX		0
40
#define HU_MSGY		0
41
#define HU_MSGWIDTH	64	// in characters
42
#define HU_MSGHEIGHT	1	// in lines
43
 
44
#define HU_MSGTIMEOUT	(4*TICRATE)
45
 
46
//
47
// HEADS UP TEXT
48
//
49
 
50
void HU_Init(void);
51
void HU_Start(void);
52
 
53
boolean HU_Responder(event_t* ev);
54
 
55
void HU_Ticker(void);
56
void HU_Drawer(void);
57
char HU_dequeueChatChar(void);
58
void HU_Erase(void);
59
 
60
 
61
#endif
62
//-----------------------------------------------------------------------------
63
//
64
// $Log:$
65
//
66
//-----------------------------------------------------------------------------