diff options
author | peter1138 <peter1138@openttd.org> | 2007-03-22 23:19:40 +0000 |
---|---|---|
committer | peter1138 <peter1138@openttd.org> | 2007-03-22 23:19:40 +0000 |
commit | 4d81a464e2683b7374424357335e6d2107c7bb48 (patch) | |
tree | 6a5889d1da669a907cf785ed15397ef5c50d00a8 /src/cargotype.h | |
parent | ff9bbf6bc3b4b8502c747be87bff32490d06350e (diff) | |
download | openttd-4d81a464e2683b7374424357335e6d2107c7bb48.tar.xz |
(svn r9411) -Codechange: Add support for loading of newcargo data.
Diffstat (limited to 'src/cargotype.h')
-rw-r--r-- | src/cargotype.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/cargotype.h b/src/cargotype.h index e34c6980a..1bb157202 100644 --- a/src/cargotype.h +++ b/src/cargotype.h @@ -31,7 +31,7 @@ struct CargoSpec { bool is_freight; TownEffect town_effect; ///< The effect this cargo type has on towns uint16 multipliertowngrowth; - uint8 callbackflags; + uint8 callback_mask; StringID name; StringID name_plural; @@ -48,6 +48,7 @@ struct CargoSpec { extern uint32 _cargo_mask; +extern CargoSpec _cargo[NUM_CARGO]; /* Set up the default cargo types for the given landscape type */ |