summaryrefslogtreecommitdiff
path: root/engine.h
diff options
context:
space:
mode:
authorbelugas <belugas@openttd.org>2006-05-18 02:43:23 +0000
committerbelugas <belugas@openttd.org>2006-05-18 02:43:23 +0000
commita102163239095d257f1dcd8bdc98864e1b08f5b6 (patch)
treef50ceeccb76f9dbc449f73b1d3f99335b55550b2 /engine.h
parent282b76a0b3683fda13eb8c413720aff957c74f8b (diff)
downloadopenttd-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 'engine.h')
-rw-r--r--engine.h40
1 files changed, 0 insertions, 40 deletions
diff --git a/engine.h b/engine.h
index 197220695..c7637f7f0 100644
--- a/engine.h
+++ b/engine.h
@@ -124,48 +124,8 @@ enum {
void AddTypeToEngines(void);
void StartupEngines(void);
-enum GlobalCargo {
- GC_PASSENGERS = 0,
- GC_COAL = 1,
- GC_MAIL = 2,
- GC_OIL = 3,
- GC_LIVESTOCK = 4,
- GC_GOODS = 5,
- GC_GRAIN = 6, // GC_WHEAT / GC_MAIZE
- GC_WOOD = 7,
- GC_IRON_ORE = 8,
- GC_STEEL = 9,
- GC_VALUABLES = 10, // GC_GOLD / GC_DIAMONDS
- GC_PAPER = 11,
- GC_FOOD = 12,
- GC_FRUIT = 13,
- GC_COPPER_ORE = 14,
- GC_WATER = 15,
- GC_RUBBER = 16,
- GC_SUGAR = 17,
- GC_TOYS = 18,
- GC_BATTERIES = 19,
- GC_CANDY = 20,
- GC_TOFFEE = 21,
- GC_COLA = 22,
- GC_COTTON_CANDY = 23,
- GC_BUBBLES = 24,
- GC_PLASTIC = 25,
- GC_FIZZY_DRINKS = 26,
- GC_PAPER_TEMP = 27,
- GC_UNDEFINED = 28, // undefined; unused slot in arctic climate
- GC_DEFAULT = 29,
- GC_PURCHASE = 30,
- GC_DEFAULT_NA = 31, // New stations only
- GC_INVALID = 255,
- NUM_GLOBAL_CID = 32
-};
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];
void DrawTrainEngine(int x, int y, EngineID engine, uint32 image_ormod);
void DrawRoadVehEngine(int x, int y, EngineID engine, uint32 image_ormod);