mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-14 16:40:56 +00:00
57 lines
1.7 KiB
C++
57 lines
1.7 KiB
C++
//-----------------------------------------------------------------------------
|
|
//
|
|
// Copyright 1993-1996 id Software
|
|
// Copyright 1994-1996 Raven Software
|
|
// Copyright 1999-2016 Randy Heit
|
|
// Copyright 2002-2016 Christoph Oelckers
|
|
//
|
|
// This program is free software: you can redistribute it and/or modify
|
|
// it under the terms of the GNU General Public License as published by
|
|
// the Free Software Foundation, either version 3 of the License, or
|
|
// (at your option) any later version.
|
|
//
|
|
// This program is distributed in the hope that it will be useful,
|
|
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
// GNU General Public License for more details.
|
|
//
|
|
// You should have received a copy of the GNU General Public License
|
|
// along with this program. If not, see http://www.gnu.org/licenses/
|
|
//
|
|
//-----------------------------------------------------------------------------
|
|
//
|
|
// DESCRIPTION: Head up display
|
|
//
|
|
//-----------------------------------------------------------------------------
|
|
|
|
#ifndef __HU_STUFF_H__
|
|
#define __HU_STUFF_H__
|
|
|
|
#include "doomtype.h"
|
|
|
|
struct event_t;
|
|
class player_t;
|
|
|
|
//
|
|
// Chat routines
|
|
//
|
|
|
|
void CT_Init (void);
|
|
bool CT_Responder (event_t* ev);
|
|
void CT_Drawer (void);
|
|
|
|
// [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);
|
|
|
|
extern bool SB_ForceActive;
|
|
|
|
// Sorting routines
|
|
|
|
int comparepoints(const void *arg1, const void *arg2);
|
|
int compareteams(const void *arg1, const void *arg2);
|
|
|
|
#endif
|