2007-12-21 22:50:51 +00:00
|
|
|
/* $Id$ */
|
2007-12-26 23:04:26 +00:00
|
|
|
|
|
|
|
/** @file cargo_type.h Types related to cargos... */
|
2007-12-21 22:50:51 +00:00
|
|
|
|
|
|
|
#ifndef CARGO_TYPE_H
|
|
|
|
#define CARGO_TYPE_H
|
|
|
|
|
|
|
|
typedef byte CargoID;
|
|
|
|
|
2008-10-19 15:39:12 +00:00
|
|
|
/** Available types of cargo */
|
|
|
|
enum CargoTypes {
|
2008-10-19 09:51:19 +00:00
|
|
|
/* Temperate */
|
2007-12-21 22:50:51 +00:00
|
|
|
CT_PASSENGERS = 0,
|
|
|
|
CT_COAL = 1,
|
|
|
|
CT_MAIL = 2,
|
|
|
|
CT_OIL = 3,
|
|
|
|
CT_LIVESTOCK = 4,
|
|
|
|
CT_GOODS = 5,
|
|
|
|
CT_GRAIN = 6,
|
|
|
|
CT_WOOD = 7,
|
|
|
|
CT_IRON_ORE = 8,
|
|
|
|
CT_STEEL = 9,
|
|
|
|
CT_VALUABLES = 10,
|
|
|
|
|
2008-10-19 09:51:19 +00:00
|
|
|
/* Arctic */
|
2007-12-21 22:50:51 +00:00
|
|
|
CT_WHEAT = 6,
|
|
|
|
CT_HILLY_UNUSED = 8,
|
|
|
|
CT_PAPER = 9,
|
|
|
|
CT_GOLD = 10,
|
|
|
|
CT_FOOD = 11,
|
|
|
|
|
2008-10-19 09:51:19 +00:00
|
|
|
/* Tropic */
|
2007-12-21 22:50:51 +00:00
|
|
|
CT_RUBBER = 1,
|
|
|
|
CT_FRUIT = 4,
|
|
|
|
CT_MAIZE = 6,
|
|
|
|
CT_COPPER_ORE = 8,
|
|
|
|
CT_WATER = 9,
|
|
|
|
CT_DIAMONDS = 10,
|
|
|
|
|
2008-10-19 09:51:19 +00:00
|
|
|
/* Toyland */
|
2007-12-21 22:50:51 +00:00
|
|
|
CT_SUGAR = 1,
|
|
|
|
CT_TOYS = 3,
|
|
|
|
CT_BATTERIES = 4,
|
|
|
|
CT_CANDY = 5,
|
|
|
|
CT_TOFFEE = 6,
|
|
|
|
CT_COLA = 7,
|
|
|
|
CT_COTTON_CANDY = 8,
|
|
|
|
CT_BUBBLES = 9,
|
|
|
|
CT_PLASTIC = 10,
|
|
|
|
CT_FIZZY_DRINKS = 11,
|
|
|
|
|
|
|
|
NUM_CARGO = 32,
|
|
|
|
|
|
|
|
CT_NO_REFIT = 0xFE,
|
|
|
|
CT_INVALID = 0xFF
|
|
|
|
};
|
|
|
|
|
2008-10-19 15:39:12 +00:00
|
|
|
/** Array for storing amounts of accepted cargo */
|
2007-12-21 22:50:51 +00:00
|
|
|
typedef uint AcceptedCargo[NUM_CARGO];
|
|
|
|
|
2008-10-19 15:39:12 +00:00
|
|
|
#endif /* CARGO_TYPE_H */
|