diff options
Diffstat (limited to 'src/cargotype.h')
-rw-r--r-- | src/cargotype.h | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/src/cargotype.h b/src/cargotype.h index 03ccf421e..e2574a080 100644 --- a/src/cargotype.h +++ b/src/cargotype.h @@ -8,6 +8,15 @@ typedef uint32 CargoLabel; +enum TownEffect { + TE_NONE, + TE_PASSENGERS, + TE_MAIL, + TE_GOODS, + TE_WATER, + TE_FOOD, +}; + struct CargoSpec { uint8 bitnum; @@ -20,7 +29,7 @@ struct CargoSpec { uint8 transit_days[2]; bool is_freight; - uint8 substitutetowngrowth; + TownEffect town_effect; ///< The effect this cargo type has on towns uint16 multipliertowngrowth; uint8 callbackflags; |