Nuclide
Software Development Kit for id Tech
achievements.h File Reference

Go to the source code of this file.

Classes

struct  achievement_t
 Data for an achievement definition. More...
 

Functions

void Achievement_Set (string strName)
 Unlock an achievement. More...
 
void Achievement_Clear (string strName)
 Clear an achievement (development purposes mainly). More...
 
bool Achievement_Get (string strName)
 Returns whether or not an achievement has been achieved. More...
 
string Achievement_GetIcon (string strName)
 Get the icon of an achievement. More...
 
float Achievement_GetPercentage (string strName)
 STUB, returns how many other users achieved this. More...
 
void Achievement_IndicateProgress (string strName, int iCurrent, int iMax)
 Requests an overlay to be drawn. More...
 
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 remote location. More...