mirror of
https://github.com/jmarshall23/DoomRTX.git
synced 2026-08-21 13:10:37 +02:00
Quake 4 integrated with DoomRTX
This commit is contained in:
@@ -0,0 +1,30 @@
|
||||
//----------------------------------------------------------------
|
||||
// IconManager.h
|
||||
//
|
||||
// Copyright 2002-2004 Raven Software
|
||||
//----------------------------------------------------------------
|
||||
|
||||
#ifndef __ICONMANAGER_H__
|
||||
#define __ICONMANAGER_H__
|
||||
|
||||
#include "Icon.h"
|
||||
|
||||
const int ICON_STAY_TIME = 2000;
|
||||
|
||||
class rvIconManager {
|
||||
public:
|
||||
void AddIcon( int clientNum, const char* iconName );
|
||||
void UpdateIcons( void );
|
||||
void UpdateTeamIcons( void );
|
||||
void UpdateChatIcons( void );
|
||||
void Shutdown( void );
|
||||
|
||||
private:
|
||||
idList<rvPair<rvIcon*, int> > icons[ MAX_CLIENTS ];
|
||||
rvIcon teamIcons[ MAX_CLIENTS ];
|
||||
rvIcon chatIcons[ MAX_CLIENTS ];
|
||||
};
|
||||
|
||||
extern rvIconManager* iconManager;
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user