307 }; |
307 }; |
308 |
308 |
309 static const GameSettingData _game_setting_info[] = { |
309 static const GameSettingData _game_setting_info[] = { |
310 { 0, 7, 1, STR_NULL}, |
310 { 0, 7, 1, STR_NULL}, |
311 { 0, 3, 1, STR_6830_IMMEDIATE}, |
311 { 0, 3, 1, STR_6830_IMMEDIATE}, |
312 { 0, 2, 1, STR_6816_LOW}, |
312 { 0, 3, 1, STR_NUM_VERY_LOW}, |
313 { 0, 3, 1, STR_26816_NONE}, |
313 { 0, 4, 1, STR_26816_NONE}, |
314 {100, 500, 50, STR_NULL}, |
314 {100, 500, 50, STR_NULL}, |
315 { 2, 4, 1, STR_NULL}, |
315 { 2, 4, 1, STR_NULL}, |
316 { 0, 2, 1, STR_6820_LOW}, |
316 { 0, 2, 1, STR_6820_LOW}, |
317 { 0, 4, 1, STR_681B_VERY_SLOW}, |
317 { 0, 4, 1, STR_681B_VERY_SLOW}, |
318 { 0, 2, 1, STR_6820_LOW}, |
318 { 0, 2, 1, STR_6820_LOW}, |
328 }; |
328 }; |
329 |
329 |
330 /* |
330 /* |
331 * A: competitors |
331 * A: competitors |
332 * B: start time in months / 3 |
332 * B: start time in months / 3 |
333 * C: town count (2 = high, 0 = low) |
333 * C: town count (2 = high, 0 = very low) |
334 * D: industry count (3 = high, 0 = none) |
334 * D: industry count (4 = high, 0 = none) |
335 * E: inital loan / 1000 (in GBP) |
335 * E: inital loan / 1000 (in GBP) |
336 * F: interest rate |
336 * F: interest rate |
337 * G: running costs (0 = low, 2 = high) |
337 * G: running costs (0 = low, 2 = high) |
338 * H: construction speed of competitors (0 = very slow, 4 = very fast) |
338 * H: construction speed of competitors (0 = very slow, 4 = very fast) |
339 * I: intelligence (0-2) |
339 * I: intelligence (0-2) |
347 * Q: disasters |
347 * Q: disasters |
348 * R: area restructuring (0 = permissive, 2 = hostile) |
348 * R: area restructuring (0 = permissive, 2 = hostile) |
349 */ |
349 */ |
350 static const int16 _default_game_diff[3][GAME_DIFFICULTY_NUM] = { /* |
350 static const int16 _default_game_diff[3][GAME_DIFFICULTY_NUM] = { /* |
351 A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R*/ |
351 A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R*/ |
352 {2, 2, 1, 3, 300, 2, 0, 2, 0, 1, 2, 0, 1, 0, 0, 0, 0, 0}, ///< easy |
352 {2, 2, 1, 4, 300, 2, 0, 2, 0, 1, 2, 0, 1, 0, 0, 0, 0, 0}, ///< easy |
353 {4, 1, 1, 2, 150, 3, 1, 3, 1, 2, 1, 1, 2, 1, 1, 1, 1, 1}, ///< medium |
353 {4, 1, 1, 3, 150, 3, 1, 3, 1, 2, 1, 1, 2, 1, 1, 1, 1, 1}, ///< medium |
354 {7, 0, 2, 2, 100, 4, 1, 3, 2, 2, 0, 2, 3, 2, 1, 1, 1, 2}, ///< hard |
354 {7, 0, 0, 2, 100, 4, 1, 3, 2, 2, 0, 2, 3, 2, 1, 1, 1, 2}, ///< hard |
355 }; |
355 }; |
356 |
356 |
357 void SetDifficultyLevel(int mode, GameOptions *gm_opt) |
357 void SetDifficultyLevel(int mode, GameOptions *gm_opt) |
358 { |
358 { |
359 int i; |
359 int i; |