2006-02-24 04:48:15 +00:00
|
|
|
|
// Emacs style mode select -*- C++ -*-
|
|
|
|
|
//-----------------------------------------------------------------------------
|
|
|
|
|
//
|
|
|
|
|
// $Id:$
|
|
|
|
|
//
|
|
|
|
|
// Copyright (C) 1993-1996 by id Software, Inc.
|
|
|
|
|
//
|
|
|
|
|
// This source is available for distribution and/or modification
|
|
|
|
|
// only under the terms of the DOOM Source Code License as
|
|
|
|
|
// published by id Software. All rights reserved.
|
|
|
|
|
//
|
|
|
|
|
// The source is distributed in the hope that it will be useful,
|
|
|
|
|
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
|
// FITNESS FOR A PARTICULAR PURPOSE. See the DOOM Source Code License
|
|
|
|
|
// for more details.
|
|
|
|
|
//
|
|
|
|
|
// DESCRIPTION: Head up display
|
|
|
|
|
//
|
|
|
|
|
//-----------------------------------------------------------------------------
|
|
|
|
|
|
|
|
|
|
#ifndef __HU_STUFF_H__
|
|
|
|
|
#define __HU_STUFF_H__
|
|
|
|
|
|
2008-09-14 23:54:38 +00:00
|
|
|
|
struct event_t;
|
|
|
|
|
class player_t;
|
2006-02-24 04:48:15 +00:00
|
|
|
|
|
|
|
|
|
//
|
|
|
|
|
// Globally visible constants.
|
|
|
|
|
//
|
2006-12-21 04:34:43 +00:00
|
|
|
|
#define HU_FONTSTART BYTE('!') // the first font characters
|
|
|
|
|
#define HU_FONTEND BYTE('<27>') // the last font characters
|
2006-02-24 04:48:15 +00:00
|
|
|
|
|
|
|
|
|
// Calculate # of glyphs in font.
|
2006-12-21 04:34:43 +00:00
|
|
|
|
#define HU_FONTSIZE (HU_FONTEND - HU_FONTSTART + 1)
|
2006-02-24 04:48:15 +00:00
|
|
|
|
|
|
|
|
|
//
|
|
|
|
|
// Chat routines
|
|
|
|
|
//
|
|
|
|
|
|
|
|
|
|
void CT_Init (void);
|
2006-09-14 00:02:31 +00:00
|
|
|
|
bool CT_Responder (event_t* ev);
|
2006-02-24 04:48:15 +00:00
|
|
|
|
void CT_Drawer (void);
|
|
|
|
|
|
|
|
|
|
extern int chatmodeon;
|
|
|
|
|
|
|
|
|
|
// [RH] Draw deathmatch scores
|
|
|
|
|
|
2008-06-01 07:52:33 +00:00
|
|
|
|
void HU_DrawScores (player_t *me);
|
2006-02-24 04:48:15 +00:00
|
|
|
|
|
|
|
|
|
#endif
|