@@ -152,15 +152,15 @@ class MapUserConfigParam : public UserConfigParam
152152 }
153153 std::map<T, U>& operator =(const std::map<T,U>& v)
154154 {
155- m_elements = std::map<T, U>(v);
155+ m_elements = std::map<T, U>(v);
156156 return m_elements;
157157 }
158158 std::map<T, U>& operator =(const MapUserConfigParam& v)
159159 {
160- m_elements = std::map<T,U>(v);
160+ m_elements = std::map<T,U>(v);
161161 return m_elements;
162162 }
163- U& operator [] (const T key)
163+ U& operator [] (const T key)
164164 {
165165 return m_elements[key];
166166 }
@@ -443,7 +443,7 @@ namespace UserConfigParams
443443 PARAM_PREFIX StringUserConfigParam m_last_used_kart_group
444444 PARAM_DEFAULT ( StringUserConfigParam(" all" , " last_kart_group" ,
445445 " Last selected kart group" ) );
446-
446+
447447 // ---- Wiimote data
448448 PARAM_PREFIX GroupUserConfigParam m_wiimote_group
449449 PARAM_DEFAULT ( GroupUserConfigParam(" WiiMote" ,
@@ -482,7 +482,7 @@ namespace UserConfigParams
482482 PARAM_DEFAULT ( BoolUserConfigParam(false , " multitouch_enabled" ,
483483 &m_multitouch_group,
484484 " Enable multitouch support." ) );
485-
485+
486486 PARAM_PREFIX IntUserConfigParam m_multitouch_mode
487487 PARAM_DEFAULT ( IntUserConfigParam(1 , " multitouch_mode" ,
488488 &m_multitouch_group,
@@ -508,12 +508,12 @@ namespace UserConfigParams
508508 PARAM_DEFAULT ( FloatUserConfigParam(0 .2f , " multitouch_sensitivity_x" ,
509509 &m_multitouch_group,
510510 " A parameter in range [0, 1.0] that determines the sensitivity for x axis." ));
511-
511+
512512 PARAM_PREFIX FloatUserConfigParam m_multitouch_sensitivity_y
513513 PARAM_DEFAULT ( FloatUserConfigParam(0 .65f , " multitouch_sensitivity_y" ,
514514 &m_multitouch_group,
515515 " A parameter in range [0, 1.0] that determines the sensitivity for y axis." ));
516-
516+
517517 PARAM_PREFIX FloatUserConfigParam m_multitouch_tilt_factor
518518 PARAM_DEFAULT ( FloatUserConfigParam(4 .0f , " multitouch_tilt_factor" ,
519519 &m_multitouch_group,
@@ -530,7 +530,7 @@ namespace UserConfigParams
530530 &m_multitouch_group,
531531 " Screen keyboard mode: 0 = disabled, 1 = enabled if no hardware "
532532 " keyboard, 2 = always enabled, 3 = android keyboard (experimental)" ) );
533-
533+
534534 PARAM_PREFIX BoolUserConfigParam m_hidpi_enabled
535535 PARAM_DEFAULT ( BoolUserConfigParam(false , " hidpi_enabled" ,
536536 &m_multitouch_group,
@@ -728,7 +728,7 @@ namespace UserConfigParams
728728 PARAM_PREFIX bool m_race_now PARAM_DEFAULT ( false );
729729
730730 PARAM_PREFIX bool m_enforce_current_player PARAM_DEFAULT ( false );
731-
731+
732732 PARAM_PREFIX bool m_enable_sound PARAM_DEFAULT ( true );
733733
734734 /* * True to test funky ambient/diffuse/specularity in RGB &
@@ -953,9 +953,8 @@ namespace UserConfigParams
953953 PARAM_DEFAULT ( IntUserConfigParam(0 , " random-identifier" , &m_hw_report_group,
954954 " A random number to avoid duplicated reports." ) );
955955
956- // TODO change new-stats to stats before release
957956 PARAM_PREFIX StringUserConfigParam m_server_hw_report
958- PARAM_DEFAULT ( StringUserConfigParam( " https ://new-stats .supertuxkart.net" ,
957+ PARAM_DEFAULT ( StringUserConfigParam( " http ://addons .supertuxkart.net:8080 " ,
959958 " hw-report-server" ,
960959 &m_hw_report_group,
961960 " The server used for reporting statistics to." ));
@@ -979,7 +978,7 @@ namespace UserConfigParams
979978 " Everything related to online play." ) );
980979
981980 PARAM_PREFIX StringUserConfigParam m_server_multiplayer
982- PARAM_DEFAULT ( StringUserConfigParam( " https://online .supertuxkart.net/api/" ,
981+ PARAM_DEFAULT ( StringUserConfigParam( " https://addons .supertuxkart.net/api/" ,
983982 " server_multiplayer" ,
984983 &m_online_group,
985984 " The server used for online multiplayer." ));
@@ -997,7 +996,7 @@ namespace UserConfigParams
997996 " Addon and news related settings" ) );
998997
999998 PARAM_PREFIX StringUserConfigParam m_server_addons
1000- PARAM_DEFAULT ( StringUserConfigParam(" https ://online .supertuxkart.net/dl/xml" ,
999+ PARAM_DEFAULT ( StringUserConfigParam(" http ://addons .supertuxkart.net/dl/xml" ,
10011000 " server_addons" ,
10021001 &m_addon_group,
10031002 " The server used for addon." ));
@@ -1045,7 +1044,7 @@ namespace UserConfigParams
10451044 PARAM_DEFAULT ( IntUserConfigParam(0 , " unlock_everything" ,
10461045 " Enable all karts and tracks: 0 = disabled, "
10471046 " 1 = everything except final race, 2 = everything" ) );
1048-
1047+
10491048 PARAM_PREFIX StringUserConfigParam m_commandline
10501049 PARAM_DEFAULT ( StringUserConfigParam(" " , " commandline" ,
10511050 " Allows to set commandline args in config file" ) );
0 commit comments