@@ -256,6 +256,7 @@ void CClientVariables::ValidateValues()
256256 ClampValue (" mtavolume" , 0 .0f , 1 .0f );
257257 ClampValue (" voicevolume" , 0 .0f , 1 .0f );
258258 ClampValue (" mapalpha" , 0 , 255 );
259+ ClampValue (" mapimage" , 0 , 1 );
259260}
260261
261262void CClientVariables::LoadDefaults ()
@@ -273,9 +274,6 @@ void CClientVariables::LoadDefaults()
273274 DEFAULT (" host" , _S (" 127.0.0.1" )); // hostname
274275 DEFAULT (" port" , 22003 ); // port
275276 DEFAULT (" password" , _S (" " )); // password
276- DEFAULT (" qc_host" , _S (" 127.0.0.1" )); // quick connect hostname
277- DEFAULT (" qc_port" , 22003 ); // quick connect port
278- DEFAULT (" qc_password" , _S (" " )); // quick connect password
279277 DEFAULT (" debugfile" , _S (" " )); // debug filename
280278 DEFAULT (" console_pos" , CVector2D (0 , 0 )); // console position
281279 DEFAULT (" console_size" , CVector2D (200 , 200 )); // console size
@@ -313,7 +311,8 @@ void CClientVariables::LoadDefaults()
313311 DEFAULT (" mastervolume" , 1 .0f ); // master volume
314312 DEFAULT (" mtavolume" , 1 .0f ); // custom sound's volume
315313 DEFAULT (" voicevolume" , 1 .0f ); // voice chat output volume
316- DEFAULT (" mapalpha" , 155 ); // map alpha
314+ DEFAULT (" mapalpha" , 155 ); // player map alpha
315+ DEFAULT (" mapimage" , 0 ); // player map image
317316 DEFAULT (" browser_speed" , 1 ); // Browser speed
318317 DEFAULT (" single_download" , 0 ); // Single connection for downloads
319318 DEFAULT (" packet_tag" , 0 ); // Tag network packets
@@ -357,7 +356,7 @@ void CClientVariables::LoadDefaults()
357356 DEFAULT (" allow_discord_rpc" , true ); // Enable Discord Rich Presence
358357 DEFAULT (" discord_rpc_share_data" , false ); // Consistent Rich Presence data sharing
359358 DEFAULT (" discord_rpc_share_data_firsttime" , false ); // Display the user data sharing consent dialog box - for the first time
360- DEFAULT (" _beta_qc_rightclick_command " , _S ( " reconnect " )) ; // Command to run when right clicking quick connect (beta - can be removed at any time )
359+ DEFAULT (" browser_enable_gpu " , true ) ; // Enable GPU in CEF? (allows stuff like WebGL to function )
361360
362361 if (!Exists (" locale" ))
363362 {
0 commit comments