cl_hud.h

Go to the documentation of this file.
00001 
00006 /*
00007 Copyright (C) 2002-2010 UFO: Alien Invasion.
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.
00017 
00018 See the GNU General Public License for more details.
00019 
00020 You should have received a copy of the GNU General Public License
00021 along with this program; if not, write to the Free Software
00022 Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
00023 
00024 */
00025 
00026 #ifndef CL_HUD_H
00027 #define CL_HUD_H
00028 
00029 #define ACTOR_HAND_CHAR_RIGHT (char)'r'
00030 #define ACTOR_HAND_CHAR_LEFT (char)'l'
00031 
00033 #define ACTOR_GET_HAND_CHAR(hand) ((hand) == ACTOR_HAND_LEFT ? ACTOR_HAND_CHAR_LEFT : ACTOR_HAND_CHAR_RIGHT)
00034 
00035 #define ACTOR_GET_HAND_INDEX(hand) ((hand) == ACTOR_HAND_CHAR_LEFT ? ACTOR_HAND_LEFT : ACTOR_HAND_RIGHT)
00036 
00037 extern cvar_t *cl_worldlevel;
00038 
00040 void HUD_DisplayFiremodes(const le_t* actor, actorHands_t hand, qboolean firemodesChangeDisplay);
00041 void HUD_HideFiremodes(void);
00042 /* check above for removal */
00043 
00044 void HUD_InitStartup(void);
00045 void HUD_DisplayMessage(const char * text);
00046 void HUD_Update(void);
00047 void HUD_UpdateCursor(void);
00048 
00049 #endif

Generated by  doxygen 1.6.2