From a102163239095d257f1dcd8bdc98864e1b08f5b6 Mon Sep 17 00:00:00 2001 From: belugas Date: Thu, 18 May 2006 02:43:23 +0000 Subject: (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. --- newgrf_engine.h | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'newgrf_engine.h') 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); -- cgit v1.2.3-70-g09d2