Added mines destroyed stat.

This commit is contained in:
Steve 2016-04-03 08:37:09 +01:00
parent 86ed4678e2
commit f9d02696fd
3 changed files with 3 additions and 0 deletions

View File

@ -342,6 +342,7 @@ enum
STAT_EPIC_KILL_STREAK, STAT_EPIC_KILL_STREAK,
STAT_CAPITAL_SHIPS_DESTROYED, STAT_CAPITAL_SHIPS_DESTROYED,
STAT_CAPITAL_SHIPS_LOST, STAT_CAPITAL_SHIPS_LOST,
STAT_MINES_DESTROYED,
/* add stats before here, so as not to mess up the stats screen */ /* add stats before here, so as not to mess up the stats screen */
STAT_TIME, STAT_TIME,
STAT_MAX STAT_MAX

View File

@ -68,6 +68,7 @@ void initStats(void)
statDescription[STAT_WAYPOINTS_VISITED] = _("Waypoints Visited"); statDescription[STAT_WAYPOINTS_VISITED] = _("Waypoints Visited");
statDescription[STAT_CAPITAL_SHIPS_DESTROYED] = _("Capital Ships Destroyed"); statDescription[STAT_CAPITAL_SHIPS_DESTROYED] = _("Capital Ships Destroyed");
statDescription[STAT_CAPITAL_SHIPS_LOST] = _("Capital Ships Lost"); statDescription[STAT_CAPITAL_SHIPS_LOST] = _("Capital Ships Lost");
statDescription[STAT_MINES_DESTROYED] = _("Mines Destroyed");
statDescription[STAT_TIME] = _("Time Played"); statDescription[STAT_TIME] = _("Time Played");
} }

View File

@ -175,6 +175,7 @@ void initLookups(void)
addLookup("STAT_EPIC_KILL_STREAK", STAT_EPIC_KILL_STREAK); addLookup("STAT_EPIC_KILL_STREAK", STAT_EPIC_KILL_STREAK);
addLookup("STAT_CAPITAL_SHIPS_DESTROYED", STAT_CAPITAL_SHIPS_DESTROYED); addLookup("STAT_CAPITAL_SHIPS_DESTROYED", STAT_CAPITAL_SHIPS_DESTROYED);
addLookup("STAT_CAPITAL_SHIPS_LOST", STAT_CAPITAL_SHIPS_LOST); addLookup("STAT_CAPITAL_SHIPS_LOST", STAT_CAPITAL_SHIPS_LOST);
addLookup("STAT_MINES_DESTROYED", STAT_MINES_DESTROYED);
addLookup("STAT_TIME", STAT_TIME); addLookup("STAT_TIME", STAT_TIME);
} }