File diff r784:05311646947a → r785:98d70fb62afe
settings.c
Show inline comments
 
@@ -757,24 +757,25 @@ static const SettingDesc network_setting
 
	{"server_bind_ip",	SDT_STRINGBUF | (lengthof(_network_server_bind_ip_host) << 16),	"0.0.0.0",	&_network_server_bind_ip_host,	NULL},
 
	{"server_port",			SDT_UINT,	(void*)NETWORK_DEFAULT_PORT,	&_network_server_port,	NULL},
 
	{"server_advertise",SDT_BOOL, (void*)false, &_network_advertise, NULL},
 
	{"lan_internet",		SDT_UINT8, (void*)0, &_network_lan_internet, NULL},
 
	{"player_name",			SDT_STRINGBUF | (lengthof(_network_player_name) << 16), NULL, &_network_player_name, NULL},
 
	{"server_password",	SDT_STRINGBUF | (lengthof(_network_game_info.server_password) << 16), NULL, &_network_game_info.server_password, NULL},
 
	{"server_name",			SDT_STRINGBUF | (lengthof(_network_server_name) << 16), NULL, &_network_server_name, NULL},
 
	{"connect_to_ip",		SDT_STRINGBUF | (lengthof(_network_default_ip) << 16), NULL, &_network_default_ip, NULL},
 
	{"network_id",			SDT_STRINGBUF | (lengthof(_network_unique_id) << 16), NULL, &_network_unique_id, NULL},
 
	{"autoclean_companies", SDT_BOOL, (void*)false, &_network_autoclean_companies, NULL},
 
	{"autoclean_unprotected", SDT_UINT8, (void*)12, &_network_autoclean_unprotected, NULL},
 
	{"autoclean_protected", SDT_UINT8, (void*)36, &_network_autoclean_protected, NULL},
 
	{"restart_game_date", SDT_UINT16, (void*)0, &_network_restart_game_date, NULL},
 
	{NULL,							0,											NULL,					NULL,										NULL}
 
};
 
#endif /* ENABLE_NETWORK */
 

	
 
static const SettingDesc debug_settings[] = {
 
	{"savedump_path",		SDT_STRINGBUF | (lengthof(_savedump_path)<<16) | SDT_NOSAVE, NULL, _savedump_path, NULL},
 
	{"savedump_first",	SDT_UINT | SDT_NOSAVE,	0,				&_savedump_first, NULL},
 
	{"savedump_freq",		SDT_UINT | SDT_NOSAVE,	(void*)1, &_savedump_freq,	NULL},
 
	{"savedump_last",		SDT_UINT | SDT_NOSAVE,	0,				&_savedump_last,	NULL},
 
	{NULL,							0,											NULL,			NULL,							NULL}
 
};