src/table/cargo_const.h
changeset 8794 ccb35d65645b
parent 8691 5e0b83e9cfb8
child 9204 62d30853a48f
equal deleted inserted replaced
8793:b6c63a092c8f 8794:ccb35d65645b
     1 /* $Id$ */
     1 /* $Id$ */
     2 
     2 
     3 /* Table of all default cargo types */
     3 /* Table of all default cargo types */
     4 
     4 
     5 #define MK(bt, label, c, e, f, g, h, fr, te, ks1, ks2, ks3, ks4, ks5, l, m) \
     5 #define MK(bt, label, c, e, f, g, h, fr, te, ks1, ks2, ks3, ks4, ks5, l, m) \
     6           {bt, label, 0, c, c, e, f, {g, h}, fr, te, 0, 0, ks1, ks2, ks3, ks4, ks5, l, m, NULL}
     6           {bt, label, 0, c, c, e, f, {g, h}, fr, te, 0, 0, GRFMappedStringID(ks1, 0), GRFMappedStringID(ks2, 0), GRFMappedStringID(ks3, 0), GRFMappedStringID(ks4, 0), GRFMappedStringID(ks5, 0), l, m, NULL}
     7 static const CargoSpec _default_cargo[] = {
     7 static const CargoSpec _default_cargo[] = {
     8 	MK(  0, 'PASS', 152,  1, 3185,  0,  24, false, TE_PASSENGERS,
     8 	MK(  0, 'PASS', 152,  1, 3185,  0,  24, false, TE_PASSENGERS,
     9 		STR_000F_PASSENGERS,     STR_002F_PASSENGER,      STR_PASSENGERS, STR_QUANTITY_PASSENGERS,   STR_ABBREV_PASSENGERS,
     9 		STR_000F_PASSENGERS,     STR_002F_PASSENGER,      STR_PASSENGERS, STR_QUANTITY_PASSENGERS,   STR_ABBREV_PASSENGERS,
    10 		SPR_CARGO_PASSENGER,     CC_PASSENGERS  ),
    10 		SPR_CARGO_PASSENGER,     CC_PASSENGERS  ),
    11 
    11