Project

General

Profile

Feature #375 » 0044-Increase-max-number-of-unit-types-to-300.patch

Marko Lindqvist, 03/29/2024 06:32 PM

View differences:

common/fc_types.h
/* e.g. unit_types. Used in the network protocol. */
#define MAX_NUM_ITEMS 200
#define MAX_NUM_ADVANCES 400 /* Used in the network protocol. */
#define MAX_NUM_UNITS 250 /* Used in the network protocol. */
#define MAX_NUM_UNITS 300 /* Used in the network protocol. */
#define MAX_NUM_BUILDINGS 200 /* 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. */
common/networking/packets.def
type TERRAIN = uint8(Terrain_type_id)
type TILE = SINT32
type UNIT = UINT32
type UNIT_TYPE = uint8(Unit_type_id)
type UNIT_TYPE = uint16(Unit_type_id)
type GOODS = uint8(Goods_type_id)
# other typedefs
(1-1/2)