src/settings_gui.cpp
changeset 10409 0ad254441c0c
parent 10382 d1d4452acbfc
child 10429 1b99254f9607
equal deleted inserted replaced
10408:c9baa47d1342 10409:0ad254441c0c
   421 };
   421 };
   422 
   422 
   423 /*
   423 /*
   424  * A: competitors
   424  * A: competitors
   425  * B: start time in months / 3
   425  * B: start time in months / 3
   426  * C: town count (2 = high, 0 = very low)
   426  * C: town count (3 = high, 0 = very low)
   427  * D: industry count (4 = high, 0 = none)
   427  * D: industry count (4 = high, 0 = none)
   428  * E: inital loan / 1000 (in GBP)
   428  * E: inital loan / 1000 (in GBP)
   429  * F: interest rate
   429  * F: interest rate
   430  * G: running costs (0 = low, 2 = high)
   430  * G: running costs (0 = low, 2 = high)
   431  * H: construction speed of competitors (0 = very slow, 4 = very fast)
   431  * H: construction speed of competitors (0 = very slow, 4 = very fast)
   440  * Q: disasters
   440  * Q: disasters
   441  * R: area restructuring (0 = permissive, 2 = hostile)
   441  * R: area restructuring (0 = permissive, 2 = hostile)
   442  */
   442  */
   443 static const GDType _default_game_diff[3][GAME_DIFFICULTY_NUM] = { /*
   443 static const GDType _default_game_diff[3][GAME_DIFFICULTY_NUM] = { /*
   444 	 A, B, C, D,   E, F, G, H, I, J, K, L, M, N, O, P, Q, R*/
   444 	 A, B, C, D,   E, F, G, H, I, J, K, L, M, N, O, P, Q, R*/
   445 	{2, 2, 1, 4, 300, 2, 0, 2, 0, 1, 2, 0, 1, 0, 0, 0, 0, 0}, ///< easy
   445 	{2, 2, 2, 4, 300, 2, 0, 2, 0, 1, 2, 0, 1, 0, 0, 0, 0, 0}, ///< easy
   446 	{4, 1, 1, 3, 150, 3, 1, 3, 1, 2, 1, 1, 2, 1, 1, 1, 1, 1}, ///< medium
   446 	{4, 1, 2, 3, 150, 3, 1, 3, 1, 2, 1, 1, 2, 1, 1, 1, 1, 1}, ///< medium
   447 	{7, 0, 0, 2, 100, 4, 1, 3, 2, 2, 0, 2, 3, 2, 1, 1, 1, 2}, ///< hard
   447 	{7, 0, 3, 3, 100, 4, 1, 3, 2, 2, 0, 2, 3, 2, 1, 1, 1, 2}, ///< hard
   448 };
   448 };
   449 
   449 
   450 void SetDifficultyLevel(int mode, GameOptions *gm_opt)
   450 void SetDifficultyLevel(int mode, GameOptions *gm_opt)
   451 {
   451 {
   452 	int i;
   452 	int i;