Project

General

Profile

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

main, S3_2 - Marko Lindqvist, 03/12/2024 10:14 PM

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)
(1-1/2)