Extra House ID's

Use an extra unused bit in m3 to boost the max number of house types from 512 to 1024. So-far everything works, construction stages and animations appear unaffacted by my hubris.
This commit is contained in:
reldred
2021-04-10 21:16:09 +09:30
parent fcded2aff7
commit 51c0b222cc
2 changed files with 3 additions and 3 deletions

View File

@@ -26,7 +26,7 @@ static const HouseID NUM_HOUSES_PER_GRF = 255; ///< Number of supported house
static const uint HOUSE_NO_CLASS = 0;
static const HouseID NEW_HOUSE_OFFSET = 110; ///< Offset for new houses.
static const HouseID NUM_HOUSES = 512; ///< Total number of houses.
static const HouseID NUM_HOUSES = 1024; ///< Total number of houses.
static const HouseID INVALID_HOUSE_ID = 0xFFFF;
static const uint HOUSE_NUM_ACCEPTS = 16; ///< Max number of cargoes accepted by a tile