cl_hud.h
Go to the documentation of this file.00001
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
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
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