Updated Source Generation Tools
This commit is contained in:
22
rcbasic_runtime/rc_steam_lib.h
Executable file
22
rcbasic_runtime/rc_steam_lib.h
Executable file
@@ -0,0 +1,22 @@
|
||||
#include <steam/steam_api.h>
|
||||
|
||||
// Defining our achievements
|
||||
enum EAchievements
|
||||
{
|
||||
ACH_WIN_ONE_GAME = 0,
|
||||
ACH_WIN_100_GAMES = 1,
|
||||
ACH_TRAVEL_FAR_ACCUM = 2,
|
||||
ACH_TRAVEL_FAR_SINGLE = 3,
|
||||
};
|
||||
|
||||
// Achievement array which will hold data about the achievements and their state
|
||||
Achievement_t g_Achievements[] =
|
||||
{
|
||||
_ACH_ID( ACH_WIN_ONE_GAME, "Winner" ),
|
||||
_ACH_ID( ACH_WIN_100_GAMES, "Champion" ),
|
||||
_ACH_ID( ACH_TRAVEL_FAR_ACCUM, "Interstellar" ),
|
||||
_ACH_ID( ACH_TRAVEL_FAR_SINGLE, "Orbiter" ),
|
||||
};
|
||||
|
||||
// Global access to Achievements object
|
||||
CSteamAchievements* g_SteamAchievements = NULL;
|
||||
Reference in New Issue
Block a user