Project

General

Profile

Bug #304 » 0022-Make-city-and-unit-ids-uint32-in-network-protocol.patch

S3_1 - Marko Lindqvist, 03/13/2024 02:13 AM

View differences:

common/networking/packets.def
type BASE = sint8(Base_type_id)
type COUNTER = UINT32
type ROAD = sint8(Road_type_id)
type CITY = UINT16
type CITY = UINT32
# city id, with space for special values
type CITYSPE = SINT32
type CONNECTION = SINT16
......
type TECH = UINT8
type TERRAIN = uint8(Terrain_type_id)
type TILE = SINT32
type UNIT = UINT16
type UNIT = UINT32
type UNIT_TYPE = uint8(Unit_type_id)
type GOODS = uint8(Goods_type_id)
(2-2/2)