|
Odamex
Setting the Standard in Multiplayer Doom
|
00001 // Emacs style mode select -*- C++ -*- 00002 //----------------------------------------------------------------------------- 00003 // 00004 // $Id: hu_stuff.h 1788 2010-08-24 04:42:57Z russellrice $ 00005 // 00006 // Copyright (C) 1993-1996 by id Software, Inc. 00007 // Copyright (C) 2006-2010 by The Odamex Team. 00008 // 00009 // This program is free software; you can redistribute it and/or 00010 // modify it under the terms of the GNU General Public License 00011 // as published by the Free Software Foundation; either version 2 00012 // of the License, or (at your option) any later version. 00013 // 00014 // This program is distributed in the hope that it will be useful, 00015 // but WITHOUT ANY WARRANTY; without even the implied warranty of 00016 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00017 // GNU General Public License for more details. 00018 // 00019 // DESCRIPTION: 00020 // Head up display 00021 // 00022 //----------------------------------------------------------------------------- 00023 00024 00025 #ifndef __HU_STUFF_H__ 00026 #define __HU_STUFF_H__ 00027 00028 #include "d_event.h" 00029 00030 00031 // 00032 // Globally visible constants. 00033 // 00034 #define HU_FONTSTART '!' // the first font characters 00035 #define HU_FONTEND '_' // the last font characters 00036 00037 // Calculate # of glyphs in font. 00038 #define HU_FONTSIZE (HU_FONTEND - HU_FONTSTART + 1) 00039 00040 // Chat routines 00041 void HU_Init (void); 00042 BOOL HU_Responder (event_t* ev); 00043 void HU_Drawer (void); 00044 00045 00046 void OdamexEffect (int xa, int ya, int xb, int yb); 00047 00048 extern int headsupactive; 00049 00050 // [RH] Draw deathmatch scores 00051 00052 class player_s; 00053 void HU_DrawScores (player_s *me); 00054 00055 // GhostlyDeath -- Target Names Stuff 00056 /*EXTERN_CVAR(hud_targetnames) 00057 EXTERN_CVAR(hud_targetdead) 00058 EXTERN_CVAR(hud_targetenemies) 00059 EXTERN_CVAR(hud_targetallies)*/ 00060 00061 #endif 00062 00063