equal
deleted
inserted
replaced
|
1 /* $Id$ */ |
|
2 /** @file openttd.h */ |
|
3 |
|
4 #ifndef CARGO_TYPE_H |
|
5 #define CARGO_TYPE_H |
|
6 |
|
7 typedef byte CargoID; |
|
8 |
|
9 enum { |
|
10 // Temperate |
|
11 CT_PASSENGERS = 0, |
|
12 CT_COAL = 1, |
|
13 CT_MAIL = 2, |
|
14 CT_OIL = 3, |
|
15 CT_LIVESTOCK = 4, |
|
16 CT_GOODS = 5, |
|
17 CT_GRAIN = 6, |
|
18 CT_WOOD = 7, |
|
19 CT_IRON_ORE = 8, |
|
20 CT_STEEL = 9, |
|
21 CT_VALUABLES = 10, |
|
22 |
|
23 // Arctic |
|
24 CT_WHEAT = 6, |
|
25 CT_HILLY_UNUSED = 8, |
|
26 CT_PAPER = 9, |
|
27 CT_GOLD = 10, |
|
28 CT_FOOD = 11, |
|
29 |
|
30 // Tropic |
|
31 CT_RUBBER = 1, |
|
32 CT_FRUIT = 4, |
|
33 CT_MAIZE = 6, |
|
34 CT_COPPER_ORE = 8, |
|
35 CT_WATER = 9, |
|
36 CT_DIAMONDS = 10, |
|
37 |
|
38 // Toyland |
|
39 CT_SUGAR = 1, |
|
40 CT_TOYS = 3, |
|
41 CT_BATTERIES = 4, |
|
42 CT_CANDY = 5, |
|
43 CT_TOFFEE = 6, |
|
44 CT_COLA = 7, |
|
45 CT_COTTON_CANDY = 8, |
|
46 CT_BUBBLES = 9, |
|
47 CT_PLASTIC = 10, |
|
48 CT_FIZZY_DRINKS = 11, |
|
49 |
|
50 NUM_CARGO = 32, |
|
51 |
|
52 CT_NO_REFIT = 0xFE, |
|
53 CT_INVALID = 0xFF |
|
54 }; |
|
55 |
|
56 typedef uint AcceptedCargo[NUM_CARGO]; |
|
57 |
|
58 #endif /* OPENTTD_H */ |