ddnet/src/engine/e_config_variables.h

68 lines
2.3 KiB
C
Raw Normal View History

2007-11-25 19:42:40 +00:00
/* copyright (c) 2007 magnus auvinen, see licence.txt for more info */
2007-12-15 10:24:49 +00:00
#include "../game/g_variables.h"
2007-06-01 12:18:43 +00:00
2007-07-13 13:40:04 +00:00
MACRO_CONFIG_STR(player_name, 32, "nameless tee")
MACRO_CONFIG_STR(clan_name, 32, "")
MACRO_CONFIG_STR(password, 32, "")
2008-03-10 00:48:45 +00:00
MACRO_CONFIG_STR(logfile, 128, "")
2007-12-11 23:10:07 +00:00
MACRO_CONFIG_INT(cl_cpu_throttle, 0, 0, 1)
2007-11-08 09:11:32 +00:00
MACRO_CONFIG_INT(cl_editor, 0, 0, 1)
2007-09-30 11:55:42 +00:00
MACRO_CONFIG_STR(b_filter_string, 64, "")
2007-11-08 20:35:05 +00:00
MACRO_CONFIG_INT(b_filter_full, 0, 0, 1)
MACRO_CONFIG_INT(b_filter_empty, 0, 0, 1)
MACRO_CONFIG_INT(b_filter_pw, 0, 0, 1)
2008-01-12 12:08:26 +00:00
MACRO_CONFIG_INT(b_filter_ping, 999, 0, 999)
MACRO_CONFIG_INT(b_filter_gametype, 0xf, 0, 0xf)
MACRO_CONFIG_INT(b_filter_compatversion, 1, 0, 1)
2008-01-12 12:08:26 +00:00
2007-11-08 20:35:05 +00:00
MACRO_CONFIG_INT(b_sort, 0, 0, 256)
2007-12-16 23:09:36 +00:00
MACRO_CONFIG_INT(b_sort_order, 0, 0, 1)
2007-11-08 20:35:05 +00:00
MACRO_CONFIG_INT(b_max_requests, 10, 0, 1000)
2007-10-08 20:34:11 +00:00
MACRO_CONFIG_INT(snd_rate, 48000, 0, 0)
2007-11-04 21:36:03 +00:00
MACRO_CONFIG_INT(snd_enable, 1, 0, 1)
2007-12-10 19:13:00 +00:00
MACRO_CONFIG_INT(snd_volume, 100, 0, 100)
MACRO_CONFIG_INT(snd_device, -1, 0, 0)
2007-10-08 20:34:11 +00:00
2008-01-12 12:08:26 +00:00
MACRO_CONFIG_INT(snd_nonactive_mute, 0, 0, 1)
MACRO_CONFIG_INT(gfx_screen_width, 800, 0, 0)
MACRO_CONFIG_INT(gfx_screen_height, 600, 0, 0)
MACRO_CONFIG_INT(gfx_fullscreen, 1, 0, 1)
MACRO_CONFIG_INT(gfx_color_depth, 24, 16, 24)
2008-03-29 11:44:03 +00:00
MACRO_CONFIG_INT(gfx_clear, 0, 0, 1)
MACRO_CONFIG_INT(gfx_vsync, 1, 0, 1)
MACRO_CONFIG_INT(gfx_display_all_modes, 0, 0, 1)
MACRO_CONFIG_INT(gfx_texture_compression, 0, 0, 1)
2007-07-29 15:21:25 +00:00
MACRO_CONFIG_INT(gfx_high_detail, 1, 0, 1)
MACRO_CONFIG_INT(gfx_texture_quality, 1, 0, 1)
MACRO_CONFIG_INT(gfx_fsaa_samples, 0, 0, 16)
MACRO_CONFIG_INT(gfx_refresh_rate, 0, 0, 0)
2008-01-11 16:48:34 +00:00
MACRO_CONFIG_INT(gfx_debug_resizable, 0, 0, 0)
2007-07-29 15:21:25 +00:00
2007-12-09 14:15:57 +00:00
MACRO_CONFIG_INT(inp_mousesens, 100, 5, 100000)
2007-07-26 19:09:31 +00:00
MACRO_CONFIG_STR(sv_name, 128, "unnamed server")
MACRO_CONFIG_STR(sv_bindaddr, 128, "")
2007-07-13 13:40:04 +00:00
MACRO_CONFIG_INT(sv_port, 8303, 0, 0)
MACRO_CONFIG_INT(sv_external_port, 0, 0, 0)
MACRO_CONFIG_STR(sv_map, 128, "dm1")
MACRO_CONFIG_INT(sv_max_clients, 8, 1, 12)
2007-12-18 22:07:57 +00:00
MACRO_CONFIG_INT(sv_high_bandwidth, 0, 0, 1)
MACRO_CONFIG_INT(sv_register, 1, 0, 1)
MACRO_CONFIG_STR(sv_rcon_password, 32, "")
2007-12-11 23:10:07 +00:00
MACRO_CONFIG_INT(debug, 0, 0, 1)
MACRO_CONFIG_INT(dbg_stress, 0, 0, 0)
2008-03-18 01:30:47 +00:00
MACRO_CONFIG_INT(dbg_stress_network, 0, 0, 0)
MACRO_CONFIG_INT(dbg_pref, 0, 0, 1)
MACRO_CONFIG_INT(dbg_graphs, 0, 0, 1)
MACRO_CONFIG_INT(dbg_hitch, 0, 0, 0)
2007-12-11 23:10:07 +00:00
MACRO_CONFIG_STR(dbg_stress_server, 32, "localhost")
2008-03-11 08:48:48 +00:00
MACRO_CONFIG_INT(sv_map_reload, 0, 0, 1)