void Achievement_IndicateProgress(string strName, int iCurrent, int iMax)
Requests an overlay to be drawn.
Definition: achievements.qc:52
string Achievement_GetIcon(string strName)
Get the icon of an achievement.
Definition: achievements.qc:38
void Achievement_Clear(string strName)
Clear an achievement (development purposes mainly).
Definition: achievements.qc:25
void Achievement_Set(string strName)
Unlock an achievement.
Definition: achievements.qc:19
bool Achievement_Get(string strName)
Returns whether or not an achievement has been achieved.
Definition: achievements.qc:31
bool Achievement_RequestStats(achievement_t *ptr, int count)
Updates the achievement_t pointer with what's been achieved and what's not been achieved from a remot...
Definition: achievements.qc:58
float Achievement_GetPercentage(string strName)
STUB, returns how many other users achieved this.
Definition: achievements.qc:45
Data for an achievement definition.
Definition: achievements.h:31
int m_iID
Unique numeric ID of an achievement.
Definition: achievements.h:32
int m_iAchieved
Indicator if it's been achieved or not.
Definition: achievements.h:35
string m_strMaterial
An image or icon depicting the achivement.
Definition: achievements.h:36
string m_strDescription
Description of the achivement.
Definition: achievements.h:34
string m_strName
Name of the achivement.
Definition: achievements.h:33