00001 00025 #include "render.h" 00026 #include "text.h" 00027 00040 enum NOTICE_TYPE { 00044 NOTICE_KILL, 00048 NOTICE_LOCALKILL, 00052 NOTICE_TEAMKILL, 00056 NOTICE_LOCALTEAMKILL, 00060 NOTICE_REDFLAGHELD, 00064 NOTICE_BLUEFLAGHELD, 00068 NOTICE_REDFLAGCAP, 00072 NOTICE_BLUEFLAGCAP, 00073 NOTICE_MAXTYPE 00074 }; 00075 00080 #define NOTICE_NOEXPIRATION 0xFFFFFFFF 00081 00097 void AddNotice(Uint32 expiryTime, Uint8 type, rtsa_char *format, ...); 00098 00108 void AddScoreNotice(int killerId, int killedId, int score); 00109 00117 void RemoveNotice(Uint8 type); 00118 00123 void RemoveAllNotices(); 00124 00132 void UpdateNotices(Uint32 time); 00133