diff options
author | belugas <belugas@openttd.org> | 2006-05-18 02:43:23 +0000 |
---|---|---|
committer | belugas <belugas@openttd.org> | 2006-05-18 02:43:23 +0000 |
commit | a102163239095d257f1dcd8bdc98864e1b08f5b6 (patch) | |
tree | f50ceeccb76f9dbc449f73b1d3f99335b55550b2 /newgrf_engine.h | |
parent | 282b76a0b3683fda13eb8c413720aff957c74f8b (diff) | |
download | openttd-a102163239095d257f1dcd8bdc98864e1b08f5b6.tar.xz |
(svn r4902) Newgrf : Introduction of the newgrf_cargo files.
Clearing engine and newgrf_engine from cargo related structures.
Apart from moving stuff cargo related, there is nothing really newcargo for now.
Diffstat (limited to 'newgrf_engine.h')
-rw-r--r-- | newgrf_engine.h | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/newgrf_engine.h b/newgrf_engine.h index f41aad6c2..0e3d37697 100644 --- a/newgrf_engine.h +++ b/newgrf_engine.h @@ -4,6 +4,7 @@ #define NEWGRF_ENGINE_H #include "direction.h" +#include "newgrf_cargo.h" /** @file newgrf_engine.h */ @@ -12,10 +13,10 @@ extern int _traininfo_vehicle_pitch; extern int _traininfo_vehicle_width; VARDEF const uint32 _default_refitmasks[NUM_VEHICLE_TYPES]; -VARDEF const CargoID _global_cargo_id[NUM_LANDSCAPE][NUM_CARGO]; -VARDEF const uint32 _landscape_global_cargo_mask[NUM_LANDSCAPE]; -VARDEF const CargoID _local_cargo_id_ctype[NUM_GLOBAL_CID]; -VARDEF const uint32 cargo_classes[16]; +extern const CargoID _global_cargo_id[NUM_LANDSCAPE][NUM_CARGO]; +extern const uint32 _landscape_global_cargo_mask[NUM_LANDSCAPE]; +extern const CargoID _local_cargo_id_ctype[NUM_GLOBAL_CID]; +extern const uint32 cargo_classes[16]; void SetWagonOverrideSprites(EngineID engine, const struct SpriteGroup *group, byte *train_id, int trains); void SetCustomEngineSprites(EngineID engine, byte cargo, const struct SpriteGroup *group); |