Project

Profile

Help

HostedRedmine.com has moved to the Planio platform. All logins and passwords remained the same. All users will be able to login and use Redmine just as before. *Read more...*

Feature #823396 ยป 0031-Add-achievement-type-Killer.patch

Marko Lindqvist, 2021-03-23 05:41 AM

View differences:

common/achievements.c
free(seen);
return FALSE;
}
case ACHIEVEMENT_KILLER:
return pplayer->score.units_killed >= ach->value;
case ACHIEVEMENT_COUNT:
break;
}
common/fc_types.h
#define SPECENUM_VALUE8NAME "Literate"
#define SPECENUM_VALUE9 ACHIEVEMENT_LAND_AHOY
#define SPECENUM_VALUE9NAME "Land_Ahoy"
#define SPECENUM_VALUE10 ACHIEVEMENT_KILLER
#define SPECENUM_VALUE10NAME "Killer"
#define SPECENUM_COUNT ACHIEVEMENT_COUNT
#include "specenum_gen.h"
doc/README.achievements
Achievement is granted when player has seen <value> different
islands/continents. Home continent counts, so to give achievements
for finding first other continent, use value 2.
Killer
Achievement is granted when player has caused death of
<value> enemy units.
fc_version
# - No new mandatory capabilities can be added to the release branch; doing
# so would break network capability of supposedly "compatible" releases.
#
NETWORK_CAPSTRING="+Freeciv.Devel-3.2-2021.Mar.23b"
NETWORK_CAPSTRING="+Freeciv.Devel-3.2-2021.Mar.23c"
FREECIV_DISTRIBUTOR=""
    (1-1/1)