Axe NETWORK_[set/get]AchievementProgress()

These are unused.

Ethan originally added them in case Terry wanted achievement
percentages. But he didn't add them, and I don't think the achievements
are changing anytime soon, so it's safe to remove this dead code.
This commit is contained in:
Misa
2021-09-19 21:49:54 -07:00
parent e13d3af2eb
commit 4eb7f973ef
3 changed files with 2 additions and 80 deletions

View File

@@ -168,31 +168,4 @@ void STEAM_unlockAchievement(const char *name)
}
}
int32_t STEAM_getAchievementProgress(const char *name)
{
int32_t result = -1;
if (libHandle)
{
SteamAPI_ISteamUserStats_GetStat(
steamUserStats,
name,
&result
);
}
return result;
}
void STEAM_setAchievementProgress(const char *name, int32_t stat)
{
if (libHandle)
{
SteamAPI_ISteamUserStats_SetStat(
steamUserStats,
name,
stat
);
SteamAPI_ISteamUserStats_StoreStats(steamUserStats);
}
}
#endif /* MAKEANDPLAY */