cargo_type.h

Go to the documentation of this file.
00001 /* $Id: cargo_type.h 14491 2008-10-19 15:39:12Z rubidium $ */
00002 
00005 #ifndef CARGO_TYPE_H
00006 #define CARGO_TYPE_H
00007 
00008 typedef byte CargoID;
00009 
00011 enum CargoTypes {
00012   /* Temperate */
00013   CT_PASSENGERS   =  0,
00014   CT_COAL         =  1,
00015   CT_MAIL         =  2,
00016   CT_OIL          =  3,
00017   CT_LIVESTOCK    =  4,
00018   CT_GOODS        =  5,
00019   CT_GRAIN        =  6,
00020   CT_WOOD         =  7,
00021   CT_IRON_ORE     =  8,
00022   CT_STEEL        =  9,
00023   CT_VALUABLES    = 10,
00024 
00025   /* Arctic */
00026   CT_WHEAT        =  6,
00027   CT_HILLY_UNUSED =  8,
00028   CT_PAPER        =  9,
00029   CT_GOLD         = 10,
00030   CT_FOOD         = 11,
00031 
00032   /* Tropic */
00033   CT_RUBBER       =  1,
00034   CT_FRUIT        =  4,
00035   CT_MAIZE        =  6,
00036   CT_COPPER_ORE   =  8,
00037   CT_WATER        =  9,
00038   CT_DIAMONDS     = 10,
00039 
00040   /* Toyland */
00041   CT_SUGAR        =  1,
00042   CT_TOYS         =  3,
00043   CT_BATTERIES    =  4,
00044   CT_CANDY        =  5,
00045   CT_TOFFEE       =  6,
00046   CT_COLA         =  7,
00047   CT_COTTON_CANDY =  8,
00048   CT_BUBBLES      =  9,
00049   CT_PLASTIC      = 10,
00050   CT_FIZZY_DRINKS = 11,
00051 
00052   NUM_CARGO       = 32,
00053 
00054   CT_NO_REFIT     = 0xFE,
00055   CT_INVALID      = 0xFF
00056 };
00057 
00059 typedef uint AcceptedCargo[NUM_CARGO];
00060 
00061 #endif /* CARGO_TYPE_H */

Generated on Wed Apr 1 14:38:05 2009 for OpenTTD by  doxygen 1.5.6