mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2024-12-01 08:31:14 +00:00
5c702e66e2
player bars on the scoreboard. - Fixed: Having +showscores down during the intermission would draw both the regular intermission scoreboard plus the HUD scoreboard. - Fixed: hu_scores used the player icon's unscaled width when calculating sizes. SVN r3815 (trunk)
53 lines
1.5 KiB
C++
53 lines
1.5 KiB
C++
// 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__
|
|
|
|
struct event_t;
|
|
class player_t;
|
|
|
|
//
|
|
// Globally visible constants.
|
|
//
|
|
#define HU_FONTSTART BYTE('!') // the first font characters
|
|
#define HU_FONTEND BYTE('\377') // the last font characters
|
|
|
|
// Calculate # of glyphs in font.
|
|
#define HU_FONTSIZE (HU_FONTEND - HU_FONTSTART + 1)
|
|
|
|
//
|
|
// Chat routines
|
|
//
|
|
|
|
void CT_Init (void);
|
|
bool CT_Responder (event_t* ev);
|
|
void CT_Drawer (void);
|
|
|
|
extern int chatmodeon;
|
|
|
|
// [RH] Draw deathmatch scores
|
|
|
|
void HU_DrawScores (player_t *me);
|
|
void HU_GetPlayerWidths(int &maxnamewidth, int &maxscorewidth, int &maxiconheight);
|
|
void HU_DrawColorBar(int x, int y, int height, int playernum);
|
|
int HU_GetRowColor(player_t *player, bool hightlight);
|
|
|
|
#endif
|