home *** CD-ROM | disk | FTP | other *** search
/ GameStar 2006 March / Gamestar_82_2006-03_dvd.iso / DVDStar / Editace / quake4_sdkv10.exe / source / game / IconManager.h < prev    next >
C/C++ Source or Header  |  2005-11-14  |  701b  |  31 lines

  1. //----------------------------------------------------------------
  2. // IconManager.h
  3. //
  4. // Copyright 2002-2004 Raven Software
  5. //----------------------------------------------------------------
  6.  
  7. #ifndef __ICONMANAGER_H__
  8. #define __ICONMANAGER_H__
  9.  
  10. #include "Icon.h"
  11.  
  12. const int ICON_STAY_TIME = 2000;
  13.  
  14. class rvIconManager {
  15. public:
  16.     void                AddIcon( int clientNum, const char* iconName );
  17.     void                UpdateIcons( void );
  18.     void                UpdateTeamIcons( void );
  19.     void                UpdateChatIcons( void );
  20.     void                Shutdown( void );
  21.  
  22. private:
  23.     idList<rvPair<rvIcon*, int> >    icons[ MAX_CLIENTS ];
  24.     rvIcon                            teamIcons[ MAX_CLIENTS ];
  25.     rvIcon                            chatIcons[ MAX_CLIENTS ];
  26. };
  27.  
  28. extern rvIconManager*    iconManager;
  29.  
  30. #endif
  31.