equal
deleted
inserted
replaced
54 |
54 |
55 static char **_langpack_offs; |
55 static char **_langpack_offs; |
56 static LanguagePack *_langpack; |
56 static LanguagePack *_langpack; |
57 static uint _langtab_num[32]; // Offset into langpack offs |
57 static uint _langtab_num[32]; // Offset into langpack offs |
58 static uint _langtab_start[32]; // Offset into langpack offs |
58 static uint _langtab_start[32]; // Offset into langpack offs |
59 |
|
60 static const StringID _cargo_string_list[NUM_LANDSCAPE][NUM_CARGO] = { |
|
61 { /* LT_NORMAL */ |
|
62 STR_PASSENGERS, |
|
63 STR_TONS, |
|
64 STR_BAGS, |
|
65 STR_LITERS, |
|
66 STR_ITEMS, |
|
67 STR_CRATES, |
|
68 STR_TONS, |
|
69 STR_TONS, |
|
70 STR_TONS, |
|
71 STR_TONS, |
|
72 STR_BAGS, |
|
73 STR_RES_OTHER |
|
74 }, |
|
75 |
|
76 { /* LT_HILLY */ |
|
77 STR_PASSENGERS, |
|
78 STR_TONS, |
|
79 STR_BAGS, |
|
80 STR_LITERS, |
|
81 STR_ITEMS, |
|
82 STR_CRATES, |
|
83 STR_TONS, |
|
84 STR_TONS, |
|
85 STR_RES_OTHER, |
|
86 STR_TONS, |
|
87 STR_BAGS, |
|
88 STR_TONS |
|
89 }, |
|
90 |
|
91 { /* LT_DESERT */ |
|
92 STR_PASSENGERS, |
|
93 STR_LITERS, |
|
94 STR_BAGS, |
|
95 STR_LITERS, |
|
96 STR_TONS, |
|
97 STR_CRATES, |
|
98 STR_TONS, |
|
99 STR_TONS, |
|
100 STR_TONS, |
|
101 STR_LITERS, |
|
102 STR_BAGS, |
|
103 STR_TONS |
|
104 }, |
|
105 |
|
106 { /* LT_CANDY */ |
|
107 STR_PASSENGERS, |
|
108 STR_TONS, |
|
109 STR_BAGS, |
|
110 STR_NOTHING, |
|
111 STR_NOTHING, |
|
112 STR_TONS, |
|
113 STR_TONS, |
|
114 STR_LITERS, |
|
115 STR_TONS, |
|
116 STR_NOTHING, |
|
117 STR_LITERS, |
|
118 STR_NOTHING |
|
119 } |
|
120 }; |
|
121 |
59 |
122 |
60 |
123 // Read an int64 from the argv array. |
61 // Read an int64 from the argv array. |
124 static inline int64 GetInt64(const int32 **argv) |
62 static inline int64 GetInt64(const int32 **argv) |
125 { |
63 { |