319 { 0, 3, 1, STR_VERY_LOW}, |
319 { 0, 3, 1, STR_VERY_LOW}, |
320 { 0, 1, 1, STR_682E_STEADY}, |
320 { 0, 1, 1, STR_682E_STEADY}, |
321 { 0, 1, 1, STR_6834_AT_END_OF_LINE_AND_AT_STATIONS}, |
321 { 0, 1, 1, STR_6834_AT_END_OF_LINE_AND_AT_STATIONS}, |
322 { 0, 1, 1, STR_6836_OFF}, |
322 { 0, 1, 1, STR_6836_OFF}, |
323 { 0, 2, 1, STR_6839_PERMISSIVE}, |
323 { 0, 2, 1, STR_6839_PERMISSIVE}, |
|
324 { 0, 2, 1, STR_6820_LOW}, |
324 }; |
325 }; |
325 |
326 |
326 static inline bool GetBitAndShift(uint32 *b) |
327 static inline bool GetBitAndShift(uint32 *b) |
327 { |
328 { |
328 uint32 x = *b; |
329 uint32 x = *b; |
347 * N: amount of water (0 = very low, 3 = high) |
348 * N: amount of water (0 = very low, 3 = high) |
348 * O: economy (0 = steady, 1 = fluctuating) |
349 * O: economy (0 = steady, 1 = fluctuating) |
349 * P: Train reversing (0 = end of line + stations, 1 = end of line) |
350 * P: Train reversing (0 = end of line + stations, 1 = end of line) |
350 * Q: disasters |
351 * Q: disasters |
351 * R: area restructuring (0 = permissive, 2 = hostile) |
352 * R: area restructuring (0 = permissive, 2 = hostile) |
|
353 * S: Economic Growth |
352 */ |
354 */ |
353 static const int16 _default_game_diff[3][GAME_DIFFICULTY_NUM] = { /* |
355 static const int16 _default_game_diff[3][GAME_DIFFICULTY_NUM] = { /* |
354 A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R*/ |
356 A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S*/ |
355 {2, 2, 1, 3, 300, 2, 0, 2, 0, 1, 2, 0, 1, 0, 0, 0, 0, 0}, //easy |
357 {2, 2, 1, 3, 300, 2, 0, 2, 0, 1, 2, 0, 1, 0, 0, 0, 0, 0, 2}, //easy |
356 {4, 1, 1, 2, 150, 3, 1, 3, 1, 2, 1, 1, 2, 1, 1, 1, 1, 1}, //medium |
358 {4, 1, 1, 2, 150, 3, 1, 3, 1, 2, 1, 1, 2, 1, 1, 1, 1, 1, 1}, //medium |
357 {7, 0, 2, 2, 100, 4, 1, 3, 2, 2, 0, 2, 3, 2, 1, 1, 1, 2}, //hard |
359 {7, 0, 2, 2, 100, 4, 1, 3, 2, 2, 0, 2, 3, 2, 1, 1, 1, 2, 0}, //hard |
358 }; |
360 }; |
359 |
361 |
360 void SetDifficultyLevel(int mode, GameOptions *gm_opt) |
362 void SetDifficultyLevel(int mode, GameOptions *gm_opt) |
361 { |
363 { |
362 int i; |
364 int i; |