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 #778026 ยป 0025-Increase-max-number-of-unit-types-to-250.patch

Marko Lindqvist, 2018-10-06 06:32 AM

View differences:

common/fc_types.h
/* e.g. unit_types. Used in the network protocol. */
#define MAX_NUM_ITEMS 200
#define MAX_NUM_ADVANCES 250 /* Used in the network protocol. */
#define MAX_NUM_UNITS 250 /* Used in the network protocol. */
#define MAX_NUM_TECH_LIST 10 /* Used in the network protocol. */
#define MAX_NUM_UNIT_LIST 10 /* Used in the network protocol. */
#define MAX_NUM_BUILDING_LIST 10 /* Used in the network protocol. */
common/unittype.h
* it can also be used for fixed allocations to ensure able
* to hold full number of unit types.
* Used in the network protocol. */
#define U_LAST MAX_NUM_ITEMS
#define U_LAST MAX_NUM_UNITS
/* The largest distance a ruleset can allow a unit to paradrop.
*
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_MANDATORY="+Freeciv.Devel-3.1-2018.Oct.05"
NETWORK_CAPSTRING_MANDATORY="+Freeciv.Devel-3.1-2018.Oct.06"
NETWORK_CAPSTRING_OPTIONAL=""
FREECIV_DISTRIBUTOR=""
    (1-1/1)