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 #776787 ยป 0013-Increase-max-number-of-ruleset-defined-advances-to-2.patch

Marko Lindqvist, 2018-09-30 09:45 AM

View differences:

common/fc_types.h
#define MAX_NUM_CONNECTIONS (2 * (MAX_NUM_PLAYER_SLOTS))
/* 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_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/networking/packets.def
UINT16 future_tech;
TECH researching;
UINT32 bulbs_researched;
BOOL inventions[A_LAST+1]; diff
BOOL inventions[A_LAST + 1]; diff
BOOL ai;
BOOL scenario_reserved;
common/tech.h
*/
#define A_NONE 0
#define A_FIRST 1
#define A_LAST MAX_NUM_ITEMS /* Used in the network protocol. */
#define A_LAST (MAX_NUM_ADVANCES + 1) /* Used in the network protocol. */
#define A_FUTURE (A_LAST + 1)
#define A_ARRAY_SIZE (A_FUTURE + 1)
#define A_UNSET (A_LAST + 2)
data/alien/techs.ruleset
; /* <-- avoid gettext warnings
;
; Below: The individual advances, one per section.
; The number can be variable, up to 199.
; The number can be variable, up to 250.
;
; The actual tag used (the * in [advance_*]) does not matter, except
; it must be unique within this file, and it may be used in debug
data/civ1/techs.ruleset
; /* <-- avoid gettext warnings
;
; Below: The individual advances, one per section.
; The number can be variable, up to 199.
; The number can be variable, up to 250.
;
; The actual tag used (the * in [advance_*]) does not matter, except
; it must be unique within this file, and it may be used in debug
data/civ2/techs.ruleset
; /* <-- avoid gettext warnings
;
; Below: The individual advances, one per section.
; The number can be variable, up to 199.
; The number can be variable, up to 250.
;
; The actual tag used (the * in [advance_*]) does not matter, except
; it must be unique within this file, and it may be used in debug
data/civ2civ3/techs.ruleset
; /* <-- avoid gettext warnings
;
; Below: The individual advances, one per section.
; The number can be variable, up to 199.
; The number can be variable, up to 250.
;
; The actual tag used (the * in [advance_*]) does not matter, except
; it must be unique within this file, and it may be used in debug
data/classic/techs.ruleset
; /* <-- avoid gettext warnings
;
; Below: The individual advances, one per section.
; The number can be variable, up to 199.
; The number can be variable, up to 250.
;
; The actual tag used (the * in [advance_*]) does not matter, except
; it must be unique within this file, and it may be used in debug
data/experimental/techs.ruleset
; /* <-- avoid gettext warnings
;
; Below: The individual advances, one per section.
; The number can be variable, up to 199.
; The number can be variable, up to 250.
;
; The actual tag used (the * in [advance_*]) does not matter, except
; it must be unique within this file, and it may be used in debug
data/multiplayer/techs.ruleset
; /* <-- avoid gettext warnings
;
; Below: The individual advances, one per section.
; The number can be variable, up to 199.
; The number can be variable, up to 250.
;
; The actual tag used (the * in [advance_*]) does not matter, except
; it must be unique within this file, and it may be used in debug
data/ruledit/comments.txt
; /* <-- avoid gettext warnings\n\
;\n\
; Below: The individual advances, one per section.\n\
; The number can be variable, up to 199.\n\
; The number can be variable, up to 250.\n\
;\n\
; The actual tag used (the * in [advance_*]) does not matter, except\n\
; it must be unique within this file, and it may be used in debug\n\
data/sandbox/techs.ruleset
; /* <-- avoid gettext warnings
;
; Below: The individual advances, one per section.
; The number can be variable, up to 199.
; The number can be variable, up to 250.
;
; The actual tag used (the * in [advance_*]) does not matter, except
; it must be unique within this file, and it may be used in debug
data/stub/techs.ruleset
; /* <-- avoid gettext warnings
;
; Below: The individual advances, one per section.
; The number can be variable, up to 199.
; The number can be variable, up to 250.
;
; The actual tag used (the * in [advance_*]) does not matter, except
; it must be unique within this file, and it may be used in debug
data/webperimental/techs.ruleset
; /* <-- avoid gettext warnings
;
; Below: The individual advances, one per section.
; The number can be variable, up to 199.
; The number can be variable, up to 250.
;
; The actual tag used (the * in [advance_*]) does not matter, except
; it must be unique within this file, and it may be used in debug
fc_version
# - Avoid adding a new mandatory capability to the development branch for
# as long as possible. We want to maintain network compatibility with
# the stable branch for as long as possible.
NETWORK_CAPSTRING_MANDATORY="+Freeciv.Devel-3.1-2018.Sep.29b"
NETWORK_CAPSTRING_MANDATORY="+Freeciv.Devel-3.1-2018.Sep.30"
NETWORK_CAPSTRING_OPTIONAL=""
FREECIV_DISTRIBUTOR=""
    (1-1/1)