author | tron |
Mon, 05 Jun 2006 16:08:06 +0000 | |
changeset 3968 | 3dbc765cc171 |
parent 3652 | e5454347ac30 |
child 5016 | abe2d67ce392 |
permissions | -rw-r--r-- |
2186 | 1 |
/* $Id$ */ |
2 |
||
3652
e5454347ac30
(svn r4564) CodeChange : Constify the sprites of _cargo_types_base_values
belugas
parents:
3616
diff
changeset
|
3 |
#include "sprites.h" |
e5454347ac30
(svn r4564) CodeChange : Constify the sprites of _cargo_types_base_values
belugas
parents:
3616
diff
changeset
|
4 |
|
3616
65f9ec8fe4fb
(svn r4513) Codechange : Assemble a bit the scattered parts of Cargo types.
belugas
parents:
3355
diff
changeset
|
5 |
typedef struct CargoTypesValues { |
65f9ec8fe4fb
(svn r4513) Codechange : Assemble a bit the scattered parts of Cargo types.
belugas
parents:
3355
diff
changeset
|
6 |
StringID names[NUM_CARGO]; |
65f9ec8fe4fb
(svn r4513) Codechange : Assemble a bit the scattered parts of Cargo types.
belugas
parents:
3355
diff
changeset
|
7 |
StringID units_volume[NUM_CARGO]; |
65f9ec8fe4fb
(svn r4513) Codechange : Assemble a bit the scattered parts of Cargo types.
belugas
parents:
3355
diff
changeset
|
8 |
byte weights[NUM_CARGO]; |
65f9ec8fe4fb
(svn r4513) Codechange : Assemble a bit the scattered parts of Cargo types.
belugas
parents:
3355
diff
changeset
|
9 |
SpriteID sprites[NUM_CARGO]; |
65f9ec8fe4fb
(svn r4513) Codechange : Assemble a bit the scattered parts of Cargo types.
belugas
parents:
3355
diff
changeset
|
10 |
|
65f9ec8fe4fb
(svn r4513) Codechange : Assemble a bit the scattered parts of Cargo types.
belugas
parents:
3355
diff
changeset
|
11 |
uint16 initial_cargo_payment[NUM_CARGO]; |
65f9ec8fe4fb
(svn r4513) Codechange : Assemble a bit the scattered parts of Cargo types.
belugas
parents:
3355
diff
changeset
|
12 |
byte transit_days_table_1[NUM_CARGO]; |
65f9ec8fe4fb
(svn r4513) Codechange : Assemble a bit the scattered parts of Cargo types.
belugas
parents:
3355
diff
changeset
|
13 |
byte transit_days_table_2[NUM_CARGO]; |
65f9ec8fe4fb
(svn r4513) Codechange : Assemble a bit the scattered parts of Cargo types.
belugas
parents:
3355
diff
changeset
|
14 |
|
65f9ec8fe4fb
(svn r4513) Codechange : Assemble a bit the scattered parts of Cargo types.
belugas
parents:
3355
diff
changeset
|
15 |
byte road_veh_by_cargo_start[NUM_CARGO]; |
65f9ec8fe4fb
(svn r4513) Codechange : Assemble a bit the scattered parts of Cargo types.
belugas
parents:
3355
diff
changeset
|
16 |
byte road_veh_by_cargo_count[NUM_CARGO]; |
65f9ec8fe4fb
(svn r4513) Codechange : Assemble a bit the scattered parts of Cargo types.
belugas
parents:
3355
diff
changeset
|
17 |
} CargoTypesValues; |
65f9ec8fe4fb
(svn r4513) Codechange : Assemble a bit the scattered parts of Cargo types.
belugas
parents:
3355
diff
changeset
|
18 |
|
65f9ec8fe4fb
(svn r4513) Codechange : Assemble a bit the scattered parts of Cargo types.
belugas
parents:
3355
diff
changeset
|
19 |
|
65f9ec8fe4fb
(svn r4513) Codechange : Assemble a bit the scattered parts of Cargo types.
belugas
parents:
3355
diff
changeset
|
20 |
static const CargoTypesValues _cargo_types_base_values[4] = { |
0 | 21 |
{ |
22 |
/* normal names */ |
|
23 |
{ |
|
24 |
STR_000F_PASSENGERS, |
|
25 |
STR_0010_COAL, |
|
26 |
STR_0011_MAIL, |
|
27 |
STR_0012_OIL, |
|
28 |
STR_0013_LIVESTOCK, |
|
29 |
STR_0014_GOODS, |
|
30 |
STR_0015_GRAIN, |
|
31 |
STR_0016_WOOD, |
|
32 |
STR_0017_IRON_ORE, |
|
33 |
STR_0018_STEEL, |
|
34 |
STR_0019_VALUABLES, |
|
35 |
STR_000E, |
|
36 |
}, |
|
3616
65f9ec8fe4fb
(svn r4513) Codechange : Assemble a bit the scattered parts of Cargo types.
belugas
parents:
3355
diff
changeset
|
37 |
|
65f9ec8fe4fb
(svn r4513) Codechange : Assemble a bit the scattered parts of Cargo types.
belugas
parents:
3355
diff
changeset
|
38 |
{ /* normal units of volume */ |
65f9ec8fe4fb
(svn r4513) Codechange : Assemble a bit the scattered parts of Cargo types.
belugas
parents:
3355
diff
changeset
|
39 |
STR_PASSENGERS, |
65f9ec8fe4fb
(svn r4513) Codechange : Assemble a bit the scattered parts of Cargo types.
belugas
parents:
3355
diff
changeset
|
40 |
STR_TONS, |
65f9ec8fe4fb
(svn r4513) Codechange : Assemble a bit the scattered parts of Cargo types.
belugas
parents:
3355
diff
changeset
|
41 |
STR_BAGS, |
65f9ec8fe4fb
(svn r4513) Codechange : Assemble a bit the scattered parts of Cargo types.
belugas
parents:
3355
diff
changeset
|
42 |
STR_LITERS, |
65f9ec8fe4fb
(svn r4513) Codechange : Assemble a bit the scattered parts of Cargo types.
belugas
parents:
3355
diff
changeset
|
43 |
STR_ITEMS, |
65f9ec8fe4fb
(svn r4513) Codechange : Assemble a bit the scattered parts of Cargo types.
belugas
parents:
3355
diff
changeset
|
44 |
STR_CRATES, |
65f9ec8fe4fb
(svn r4513) Codechange : Assemble a bit the scattered parts of Cargo types.
belugas
parents:
3355
diff
changeset
|
45 |
STR_TONS, |
65f9ec8fe4fb
(svn r4513) Codechange : Assemble a bit the scattered parts of Cargo types.
belugas
parents:
3355
diff
changeset
|
46 |
STR_TONS, |
65f9ec8fe4fb
(svn r4513) Codechange : Assemble a bit the scattered parts of Cargo types.
belugas
parents:
3355
diff
changeset
|
47 |
STR_TONS, |
65f9ec8fe4fb
(svn r4513) Codechange : Assemble a bit the scattered parts of Cargo types.
belugas
parents:
3355
diff
changeset
|
48 |
STR_TONS, |
65f9ec8fe4fb
(svn r4513) Codechange : Assemble a bit the scattered parts of Cargo types.
belugas
parents:
3355
diff
changeset
|
49 |
STR_BAGS, |
65f9ec8fe4fb
(svn r4513) Codechange : Assemble a bit the scattered parts of Cargo types.
belugas
parents:
3355
diff
changeset
|
50 |
STR_RES_OTHER |
65f9ec8fe4fb
(svn r4513) Codechange : Assemble a bit the scattered parts of Cargo types.
belugas
parents:
3355
diff
changeset
|
51 |
}, |
65f9ec8fe4fb
(svn r4513) Codechange : Assemble a bit the scattered parts of Cargo types.
belugas
parents:
3355
diff
changeset
|
52 |
|
0 | 53 |
/* normal weights */ |
54 |
{ |
|
55 |
1, 16, 4, 16, 3, 8, 16, 16, 16, 16, 2, 0, |
|
56 |
}, |
|
57 |
||
58 |
/* normal sprites */ |
|
59 |
{ |
|
3652
e5454347ac30
(svn r4564) CodeChange : Constify the sprites of _cargo_types_base_values
belugas
parents:
3616
diff
changeset
|
60 |
SPR_CARGO_PASSENGER, SPR_CARGO_COAL, SPR_CARGO_MAIL, SPR_CARGO_OIL, SPR_CARGO_LIVESTOCK, |
e5454347ac30
(svn r4564) CodeChange : Constify the sprites of _cargo_types_base_values
belugas
parents:
3616
diff
changeset
|
61 |
SPR_CARGO_GOODS, SPR_CARGO_GRAIN, SPR_CARGO_WOOD, SPR_CARGO_IRON_ORE, SPR_CARGO_STEEL, |
e5454347ac30
(svn r4564) CodeChange : Constify the sprites of _cargo_types_base_values
belugas
parents:
3616
diff
changeset
|
62 |
SPR_CARGO_VALUES_GOLD, SPR_ASCII_SPACE |
0 | 63 |
}, |
64 |
||
65 |
/* normal initial cargo payment */ |
|
66 |
{ |
|
67 |
3185, 5916, 4550, 4437, 4322, 6144, 4778, 5005, 5120, 5688, 7509, 5688 |
|
68 |
}, |
|
69 |
||
70 |
/* normal transit days table 1 */ |
|
71 |
{ |
|
72 |
0, 7, 20, 25, 4, 5, 4, 15, 9, 7, 1, 0, |
|
73 |
}, |
|
74 |
||
75 |
/* normal transit days table 2 */ |
|
76 |
{ |
|
77 |
24, 255, 90, 255, 18, 28, 40, 255, 255, 255, 32, 30, |
|
78 |
}, |
|
79 |
||
80 |
/* normal road veh by cargo start & count */ |
|
81 |
{116, 123, 126, 132, 135, 138, 141, 144, 147, 150, 153, 156}, |
|
82 |
{7, 3, 6, 3, 3, 3, 3, 3, 3, 3, 3, 3} |
|
83 |
}, |
|
84 |
||
85 |
{ |
|
86 |
/* hilly names */ |
|
87 |
{ |
|
88 |
STR_000F_PASSENGERS, |
|
89 |
STR_0010_COAL, |
|
90 |
STR_0011_MAIL, |
|
91 |
STR_0012_OIL, |
|
92 |
STR_0013_LIVESTOCK, |
|
93 |
STR_0014_GOODS, |
|
94 |
STR_0022_WHEAT, |
|
95 |
STR_0016_WOOD, |
|
96 |
STR_000E, |
|
97 |
STR_001F_PAPER, |
|
98 |
STR_0020_GOLD, |
|
222
b88456001397
(svn r223) -Fix: Const correctness and miscellaneous fixes. Thank you Tron for your diligent fixing of warnings (and some possibly bugs) (Tron)
darkvater
parents:
0
diff
changeset
|
99 |
STR_001E_FOOD, |
0 | 100 |
}, |
3616
65f9ec8fe4fb
(svn r4513) Codechange : Assemble a bit the scattered parts of Cargo types.
belugas
parents:
3355
diff
changeset
|
101 |
|
65f9ec8fe4fb
(svn r4513) Codechange : Assemble a bit the scattered parts of Cargo types.
belugas
parents:
3355
diff
changeset
|
102 |
{ /* hilly units of volume */ |
65f9ec8fe4fb
(svn r4513) Codechange : Assemble a bit the scattered parts of Cargo types.
belugas
parents:
3355
diff
changeset
|
103 |
STR_PASSENGERS, |
65f9ec8fe4fb
(svn r4513) Codechange : Assemble a bit the scattered parts of Cargo types.
belugas
parents:
3355
diff
changeset
|
104 |
STR_TONS, |
65f9ec8fe4fb
(svn r4513) Codechange : Assemble a bit the scattered parts of Cargo types.
belugas
parents:
3355
diff
changeset
|
105 |
STR_BAGS, |
65f9ec8fe4fb
(svn r4513) Codechange : Assemble a bit the scattered parts of Cargo types.
belugas
parents:
3355
diff
changeset
|
106 |
STR_LITERS, |
65f9ec8fe4fb
(svn r4513) Codechange : Assemble a bit the scattered parts of Cargo types.
belugas
parents:
3355
diff
changeset
|
107 |
STR_ITEMS, |
65f9ec8fe4fb
(svn r4513) Codechange : Assemble a bit the scattered parts of Cargo types.
belugas
parents:
3355
diff
changeset
|
108 |
STR_CRATES, |
65f9ec8fe4fb
(svn r4513) Codechange : Assemble a bit the scattered parts of Cargo types.
belugas
parents:
3355
diff
changeset
|
109 |
STR_TONS, |
65f9ec8fe4fb
(svn r4513) Codechange : Assemble a bit the scattered parts of Cargo types.
belugas
parents:
3355
diff
changeset
|
110 |
STR_TONS, |
65f9ec8fe4fb
(svn r4513) Codechange : Assemble a bit the scattered parts of Cargo types.
belugas
parents:
3355
diff
changeset
|
111 |
STR_RES_OTHER, |
65f9ec8fe4fb
(svn r4513) Codechange : Assemble a bit the scattered parts of Cargo types.
belugas
parents:
3355
diff
changeset
|
112 |
STR_TONS, |
65f9ec8fe4fb
(svn r4513) Codechange : Assemble a bit the scattered parts of Cargo types.
belugas
parents:
3355
diff
changeset
|
113 |
STR_BAGS, |
65f9ec8fe4fb
(svn r4513) Codechange : Assemble a bit the scattered parts of Cargo types.
belugas
parents:
3355
diff
changeset
|
114 |
STR_TONS |
65f9ec8fe4fb
(svn r4513) Codechange : Assemble a bit the scattered parts of Cargo types.
belugas
parents:
3355
diff
changeset
|
115 |
}, |
65f9ec8fe4fb
(svn r4513) Codechange : Assemble a bit the scattered parts of Cargo types.
belugas
parents:
3355
diff
changeset
|
116 |
|
0 | 117 |
/* hilly weights */ |
118 |
{ |
|
119 |
1, 16, 4, 16, 3, 8, 16, 16, 0, 16, 8, 16 |
|
120 |
}, |
|
121 |
||
122 |
/* hilly sprites */ |
|
123 |
{ |
|
3652
e5454347ac30
(svn r4564) CodeChange : Constify the sprites of _cargo_types_base_values
belugas
parents:
3616
diff
changeset
|
124 |
SPR_CARGO_PASSENGER, SPR_CARGO_COAL, SPR_CARGO_MAIL, SPR_CARGO_OIL, SPR_CARGO_LIVESTOCK, |
e5454347ac30
(svn r4564) CodeChange : Constify the sprites of _cargo_types_base_values
belugas
parents:
3616
diff
changeset
|
125 |
SPR_CARGO_GOODS, SPR_CARGO_GRAIN, SPR_CARGO_WOOD, SPR_ASCII_SPACE, SPR_CARGO_PAPER, |
e5454347ac30
(svn r4564) CodeChange : Constify the sprites of _cargo_types_base_values
belugas
parents:
3616
diff
changeset
|
126 |
SPR_CARGO_VALUES_GOLD, SPR_CARGO_FOOD |
0 | 127 |
}, |
128 |
||
129 |
/* hilly initial cargo payment */ |
|
130 |
{ |
|
131 |
3185, 5916, 4550, 4437, 4322, 6144, 4778, 5005, 5120, 5461, 5802, 5688 |
|
132 |
}, |
|
133 |
||
134 |
/* hilly transit days table 1 */ |
|
135 |
{ |
|
136 |
0, 7, 20, 25, 4, 5, 4, 15, 9, 7, 10, 0, |
|
137 |
}, |
|
138 |
||
139 |
/* hilly transit days table 2 */ |
|
140 |
{ |
|
141 |
24, 255, 90, 255, 18, 28, 40, 255, 255, 60, 40, 30 |
|
142 |
}, |
|
143 |
||
144 |
/* hilly road veh by cargo start & count */ |
|
145 |
{116, 123, 126, 132, 135, 138, 141, 144, 147, 159, 153, 156}, |
|
146 |
{7, 3, 6, 3, 3, 3, 3, 3, 3, 3, 3, 3}, |
|
147 |
}, |
|
148 |
||
149 |
{ |
|
150 |
/* desert names */ |
|
151 |
{ |
|
152 |
STR_000F_PASSENGERS, |
|
153 |
STR_0023_RUBBER, |
|
154 |
STR_0011_MAIL, |
|
155 |
STR_0012_OIL, |
|
156 |
STR_001C_FRUIT, |
|
157 |
STR_0014_GOODS, |
|
158 |
STR_001B_MAIZE, |
|
159 |
STR_0016_WOOD, |
|
160 |
STR_001A_COPPER_ORE, |
|
161 |
STR_0021_WATER, |
|
162 |
STR_001D_DIAMONDS, |
|
163 |
STR_001E_FOOD |
|
164 |
}, |
|
3616
65f9ec8fe4fb
(svn r4513) Codechange : Assemble a bit the scattered parts of Cargo types.
belugas
parents:
3355
diff
changeset
|
165 |
|
65f9ec8fe4fb
(svn r4513) Codechange : Assemble a bit the scattered parts of Cargo types.
belugas
parents:
3355
diff
changeset
|
166 |
{ /* desert units of volume */ |
65f9ec8fe4fb
(svn r4513) Codechange : Assemble a bit the scattered parts of Cargo types.
belugas
parents:
3355
diff
changeset
|
167 |
STR_PASSENGERS, |
65f9ec8fe4fb
(svn r4513) Codechange : Assemble a bit the scattered parts of Cargo types.
belugas
parents:
3355
diff
changeset
|
168 |
STR_LITERS, |
65f9ec8fe4fb
(svn r4513) Codechange : Assemble a bit the scattered parts of Cargo types.
belugas
parents:
3355
diff
changeset
|
169 |
STR_BAGS, |
65f9ec8fe4fb
(svn r4513) Codechange : Assemble a bit the scattered parts of Cargo types.
belugas
parents:
3355
diff
changeset
|
170 |
STR_LITERS, |
65f9ec8fe4fb
(svn r4513) Codechange : Assemble a bit the scattered parts of Cargo types.
belugas
parents:
3355
diff
changeset
|
171 |
STR_TONS, |
65f9ec8fe4fb
(svn r4513) Codechange : Assemble a bit the scattered parts of Cargo types.
belugas
parents:
3355
diff
changeset
|
172 |
STR_CRATES, |
65f9ec8fe4fb
(svn r4513) Codechange : Assemble a bit the scattered parts of Cargo types.
belugas
parents:
3355
diff
changeset
|
173 |
STR_TONS, |
65f9ec8fe4fb
(svn r4513) Codechange : Assemble a bit the scattered parts of Cargo types.
belugas
parents:
3355
diff
changeset
|
174 |
STR_TONS, |
65f9ec8fe4fb
(svn r4513) Codechange : Assemble a bit the scattered parts of Cargo types.
belugas
parents:
3355
diff
changeset
|
175 |
STR_TONS, |
65f9ec8fe4fb
(svn r4513) Codechange : Assemble a bit the scattered parts of Cargo types.
belugas
parents:
3355
diff
changeset
|
176 |
STR_LITERS, |
65f9ec8fe4fb
(svn r4513) Codechange : Assemble a bit the scattered parts of Cargo types.
belugas
parents:
3355
diff
changeset
|
177 |
STR_BAGS, |
65f9ec8fe4fb
(svn r4513) Codechange : Assemble a bit the scattered parts of Cargo types.
belugas
parents:
3355
diff
changeset
|
178 |
STR_TONS |
65f9ec8fe4fb
(svn r4513) Codechange : Assemble a bit the scattered parts of Cargo types.
belugas
parents:
3355
diff
changeset
|
179 |
}, |
65f9ec8fe4fb
(svn r4513) Codechange : Assemble a bit the scattered parts of Cargo types.
belugas
parents:
3355
diff
changeset
|
180 |
|
0 | 181 |
/* desert weights */ |
182 |
{ |
|
183 |
1, 16, 4, 16, 16, 8, 16, 16, 16, 16, 2, 16, |
|
184 |
}, |
|
185 |
||
186 |
/* desert sprites */ |
|
187 |
{ |
|
3652
e5454347ac30
(svn r4564) CodeChange : Constify the sprites of _cargo_types_base_values
belugas
parents:
3616
diff
changeset
|
188 |
SPR_CARGO_PASSENGER, SPR_CARGO_RUBBER, SPR_CARGO_MAIL, SPR_CARGO_OIL, SPR_CARGO_FRUIT, |
e5454347ac30
(svn r4564) CodeChange : Constify the sprites of _cargo_types_base_values
belugas
parents:
3616
diff
changeset
|
189 |
SPR_CARGO_GOODS, SPR_CARGO_GRAIN, SPR_CARGO_WOOD, SPR_CARGO_COPPER_ORE, SPR_CARGO_WATERCOLA, |
e5454347ac30
(svn r4564) CodeChange : Constify the sprites of _cargo_types_base_values
belugas
parents:
3616
diff
changeset
|
190 |
SPR_CARGO_DIAMONDS, SPR_CARGO_FOOD |
0 | 191 |
}, |
192 |
||
193 |
/* desert initial cargo payment */ |
|
194 |
{ |
|
195 |
3185, 4437, 4550, 4892, 4209, 6144, 4322, 7964, 4892, 4664, 5802, 5688 |
|
196 |
}, |
|
197 |
||
198 |
/* desert transit days table 1 */ |
|
199 |
{ |
|
200 |
0, 2, 20, 25, 0, 5, 4, 15, 12, 20, 10, 0 |
|
201 |
}, |
|
202 |
||
203 |
/* desert transit days table 2 */ |
|
204 |
{ |
|
205 |
24, 20, 90, 255, 15, 28, 40, 255, 255, 80, 255, 30 |
|
206 |
}, |
|
207 |
||
208 |
/* desert road veh by cargo start & count */ |
|
209 |
{116, 171, 126, 132, 168, 138, 141, 144, 162, 165, 153, 156}, |
|
210 |
{7, 3, 6, 3, 3, 3, 3, 3, 3, 3, 3, 3} |
|
211 |
}, |
|
212 |
||
213 |
{ |
|
214 |
/* candy names */ |
|
215 |
{ |
|
216 |
STR_000F_PASSENGERS, |
|
217 |
STR_0024_SUGAR, |
|
218 |
STR_0011_MAIL, |
|
219 |
STR_0025_TOYS, |
|
220 |
STR_002B_BATTERIES, |
|
221 |
STR_0026_CANDY, |
|
222 |
STR_002A_TOFFEE, |
|
223 |
STR_0027_COLA, |
|
224 |
STR_0028_COTTON_CANDY, |
|
225 |
STR_0029_BUBBLES, |
|
226 |
STR_002C_PLASTIC, |
|
227 |
STR_002D_FIZZY_DRINKS, |
|
228 |
}, |
|
3616
65f9ec8fe4fb
(svn r4513) Codechange : Assemble a bit the scattered parts of Cargo types.
belugas
parents:
3355
diff
changeset
|
229 |
|
65f9ec8fe4fb
(svn r4513) Codechange : Assemble a bit the scattered parts of Cargo types.
belugas
parents:
3355
diff
changeset
|
230 |
{ /* candy unitrs of volume */ |
65f9ec8fe4fb
(svn r4513) Codechange : Assemble a bit the scattered parts of Cargo types.
belugas
parents:
3355
diff
changeset
|
231 |
STR_PASSENGERS, |
65f9ec8fe4fb
(svn r4513) Codechange : Assemble a bit the scattered parts of Cargo types.
belugas
parents:
3355
diff
changeset
|
232 |
STR_TONS, |
65f9ec8fe4fb
(svn r4513) Codechange : Assemble a bit the scattered parts of Cargo types.
belugas
parents:
3355
diff
changeset
|
233 |
STR_BAGS, |
65f9ec8fe4fb
(svn r4513) Codechange : Assemble a bit the scattered parts of Cargo types.
belugas
parents:
3355
diff
changeset
|
234 |
STR_NOTHING, |
65f9ec8fe4fb
(svn r4513) Codechange : Assemble a bit the scattered parts of Cargo types.
belugas
parents:
3355
diff
changeset
|
235 |
STR_NOTHING, |
65f9ec8fe4fb
(svn r4513) Codechange : Assemble a bit the scattered parts of Cargo types.
belugas
parents:
3355
diff
changeset
|
236 |
STR_TONS, |
65f9ec8fe4fb
(svn r4513) Codechange : Assemble a bit the scattered parts of Cargo types.
belugas
parents:
3355
diff
changeset
|
237 |
STR_TONS, |
65f9ec8fe4fb
(svn r4513) Codechange : Assemble a bit the scattered parts of Cargo types.
belugas
parents:
3355
diff
changeset
|
238 |
STR_LITERS, |
65f9ec8fe4fb
(svn r4513) Codechange : Assemble a bit the scattered parts of Cargo types.
belugas
parents:
3355
diff
changeset
|
239 |
STR_TONS, |
65f9ec8fe4fb
(svn r4513) Codechange : Assemble a bit the scattered parts of Cargo types.
belugas
parents:
3355
diff
changeset
|
240 |
STR_NOTHING, |
65f9ec8fe4fb
(svn r4513) Codechange : Assemble a bit the scattered parts of Cargo types.
belugas
parents:
3355
diff
changeset
|
241 |
STR_LITERS, |
65f9ec8fe4fb
(svn r4513) Codechange : Assemble a bit the scattered parts of Cargo types.
belugas
parents:
3355
diff
changeset
|
242 |
STR_NOTHING |
65f9ec8fe4fb
(svn r4513) Codechange : Assemble a bit the scattered parts of Cargo types.
belugas
parents:
3355
diff
changeset
|
243 |
}, |
65f9ec8fe4fb
(svn r4513) Codechange : Assemble a bit the scattered parts of Cargo types.
belugas
parents:
3355
diff
changeset
|
244 |
|
0 | 245 |
/* candy weights */ |
246 |
{ |
|
247 |
1, 16, 4, 2, 4, 5, 16, 16, 16, 1, 16, 2 |
|
248 |
}, |
|
249 |
||
250 |
/* candy sprites */ |
|
251 |
{ |
|
3652
e5454347ac30
(svn r4564) CodeChange : Constify the sprites of _cargo_types_base_values
belugas
parents:
3616
diff
changeset
|
252 |
SPR_CARGO_PASSENGER, SPR_CARGO_SUGAR, SPR_CARGO_MAIL, SPR_CARGO_TOYS, SPR_CARGO_BATTERIES, |
e5454347ac30
(svn r4564) CodeChange : Constify the sprites of _cargo_types_base_values
belugas
parents:
3616
diff
changeset
|
253 |
SPR_CARGO_CANDY, SPR_CARGO_TOFFEE, SPR_CARGO_WATERCOLA, SPR_CARGO_COTTONCANDY, SPR_CARGO_BUBBLES, |
e5454347ac30
(svn r4564) CodeChange : Constify the sprites of _cargo_types_base_values
belugas
parents:
3616
diff
changeset
|
254 |
SPR_CARGO_PLASTIC, SPR_CARGO_FIZZYDRINK |
0 | 255 |
}, |
256 |
||
257 |
/* candy initial cargo payment */ |
|
258 |
{ |
|
259 |
3185, 4437, 4550, 5574, 4322, 6144, 4778, 4892, 5005, 5077, 4664, 6250 |
|
260 |
}, |
|
261 |
||
262 |
/* candy transit days table 1 */ |
|
263 |
{ |
|
264 |
0, 20, 20, 25, 2, 8, 14, 5, 10, 20, 30, 30, |
|
265 |
}, |
|
266 |
||
267 |
/* candy transit days table 2 */ |
|
268 |
{ |
|
269 |
24, 255, 90, 255, 30, 40, 60, 75, 25, 80, 255, 50 |
|
270 |
}, |
|
271 |
||
272 |
/* candy road veh by cargo start & count */ |
|
273 |
{116, 174, 126, 186, 192, 189, 183, 177, 180, 201, 198, 195}, |
|
274 |
{7, 3, 6, 3, 3, 3, 3, 3, 3, 3, 3, 3} |
|
275 |
} |
|
276 |
}; |