diff options
author | Niels Martin Hansen <nielsm@indvikleren.dk> | 2019-10-04 21:26:44 +0200 |
---|---|---|
committer | Charles Pigott <charlespigott@googlemail.com> | 2019-10-19 17:16:25 +0100 |
commit | 53f8d0b815a7be57fb6489d95e67b9002ade14d7 (patch) | |
tree | 0b712b7ddfb763497414d03475839b5185227acb /src/newgrf_industries.h | |
parent | e5f175562907efed0c958db76ca61145b838dc63 (diff) | |
download | openttd-53f8d0b815a7be57fb6489d95e67b9002ade14d7.tar.xz |
Codechange: Use std::vector for industry tile layouts
Diffstat (limited to 'src/newgrf_industries.h')
-rw-r--r-- | src/newgrf_industries.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/newgrf_industries.h b/src/newgrf_industries.h index b0c1e3bdd..d66ab319b 100644 --- a/src/newgrf_industries.h +++ b/src/newgrf_industries.h @@ -89,7 +89,7 @@ enum IndustryAvailabilityCallType { uint16 GetIndustryCallback(CallbackID callback, uint32 param1, uint32 param2, Industry *industry, IndustryType type, TileIndex tile); uint32 GetIndustryIDAtOffset(TileIndex new_tile, const Industry *i, uint32 cur_grfid); void IndustryProductionCallback(Industry *ind, int reason); -CommandCost CheckIfCallBackAllowsCreation(TileIndex tile, IndustryType type, uint layout, uint32 seed, uint16 initial_random_bits, Owner founder, IndustryAvailabilityCallType creation_type); +CommandCost CheckIfCallBackAllowsCreation(TileIndex tile, IndustryType type, size_t layout, uint32 seed, uint16 initial_random_bits, Owner founder, IndustryAvailabilityCallType creation_type); uint32 GetIndustryProbabilityCallback(IndustryType type, IndustryAvailabilityCallType creation_type, uint32 default_prob); bool IndustryTemporarilyRefusesCargo(Industry *ind, CargoID cargo_type); |