2017-10-20 20:27:53 +00:00
2010-11-20 10:37:14 +00:00
/* If you are missing that file, acquire a complete release at teeworlds.com. */
2010-05-29 07:25:38 +00:00
# ifndef GAME_VARIABLES_H
# define GAME_VARIABLES_H
# undef GAME_VARIABLES_H // this file will be included several times
// client
2011-08-13 00:11:06 +00:00
MACRO_CONFIG_INT ( ClPredict , cl_predict , 1 , 0 , 1 , CFGFLAG_CLIENT | CFGFLAG_SAVE , " Predict client movements " )
2015-06-21 16:00:09 +00:00
MACRO_CONFIG_INT ( ClAntiPingLimit , cl_antiping_limit , 0 , 0 , 200 , CFGFLAG_CLIENT | CFGFLAG_SAVE , " Antiping limit (0 to disable) " )
2015-09-10 11:29:58 +00:00
MACRO_CONFIG_INT ( ClAntiPing , cl_antiping , 0 , 0 , 1 , CFGFLAG_CLIENT | CFGFLAG_SAVE , " Enable antiping, i. e. more aggressive prediction. " )
2015-10-08 08:46:07 +00:00
MACRO_CONFIG_INT ( ClAntiPingPlayers , cl_antiping_players , 1 , 0 , 1 , CFGFLAG_CLIENT | CFGFLAG_SAVE , " Predict other player's movement more aggressively (only enabled if cl_antiping is set to 1) " )
MACRO_CONFIG_INT ( ClAntiPingGrenade , cl_antiping_grenade , 1 , 0 , 1 , CFGFLAG_CLIENT | CFGFLAG_SAVE , " Predict grenades (only enabled if cl_antiping is set to 1) " )
MACRO_CONFIG_INT ( ClAntiPingWeapons , cl_antiping_weapons , 1 , 0 , 1 , CFGFLAG_CLIENT | CFGFLAG_SAVE , " Predict weapon projectiles (only enabled if cl_antiping is set to 1) " )
2019-04-11 22:46:54 +00:00
MACRO_CONFIG_INT ( ClAntiPingSmooth , cl_antiping_smooth , 0 , 0 , 1 , CFGFLAG_CLIENT | CFGFLAG_SAVE , " Make the prediction of other player's movement smoother " )
2019-06-19 00:12:57 +00:00
MACRO_CONFIG_INT ( ClAntiPingGunfire , cl_antiping_gunfire , 1 , 0 , 1 , CFGFLAG_CLIENT | CFGFLAG_SAVE , " Predict gunfire and show predicted weapon physics (with cl_antiping_grenade 1 and cl_antiping_weapons 1) " )
2019-04-11 22:46:54 +00:00
2011-08-13 00:11:06 +00:00
MACRO_CONFIG_INT ( ClNameplates , cl_nameplates , 1 , 0 , 1 , CFGFLAG_CLIENT | CFGFLAG_SAVE , " Show name plates " )
2019-07-30 18:19:46 +00:00
MACRO_CONFIG_INT ( ClAfkEmote , cl_afk_emote , 1 , 0 , 1 , CFGFLAG_CLIENT | CFGFLAG_SAVE , " Show zzz emote next to afk players " )
2011-08-13 00:11:06 +00:00
MACRO_CONFIG_INT ( ClNameplatesAlways , cl_nameplates_always , 1 , 0 , 1 , CFGFLAG_CLIENT | CFGFLAG_SAVE , " Always show name plates disregarding of distance " )
MACRO_CONFIG_INT ( ClNameplatesTeamcolors , cl_nameplates_teamcolors , 1 , 0 , 1 , CFGFLAG_CLIENT | CFGFLAG_SAVE , " Use team colors for name plates " )
MACRO_CONFIG_INT ( ClNameplatesSize , cl_nameplates_size , 50 , 0 , 100 , CFGFLAG_CLIENT | CFGFLAG_SAVE , " Size of the name plates from 0 to 100% " )
2015-06-29 09:03:17 +00:00
MACRO_CONFIG_INT ( ClNameplatesClan , cl_nameplates_clan , 0 , 0 , 1 , CFGFLAG_CLIENT | CFGFLAG_SAVE , " Show clan in name plates " )
2015-06-29 00:06:27 +00:00
MACRO_CONFIG_INT ( ClNameplatesClanSize , cl_nameplates_clan_size , 30 , 0 , 100 , CFGFLAG_CLIENT | CFGFLAG_SAVE , " Size of the clan plates from 0 to 100% " )
2018-06-26 20:30:23 +00:00
MACRO_CONFIG_INT ( ClNameplatesOwn , cl_nameplates_own , 0 , 0 , 1 , CFGFLAG_CLIENT | CFGFLAG_SAVE , " Show own name plate (useful for demo recording) " )
2015-09-28 04:04:57 +00:00
MACRO_CONFIG_INT ( ClTextEntities , cl_text_entities , 1 , 0 , 1 , CFGFLAG_CLIENT | CFGFLAG_SAVE , " Render textual entity data " )
2019-05-09 23:22:22 +00:00
MACRO_CONFIG_INT ( ClTextEntitiesSize , cl_text_entities_size , 100 , 0 , 100 , CFGFLAG_CLIENT | CFGFLAG_SAVE , " Size of textual entity data from 0 to 100% " )
2019-05-06 12:19:10 +00:00
2019-05-15 16:05:19 +00:00
MACRO_CONFIG_COL ( ClAuthedPlayerColor , cl_authed_player_color , 5898211 , CFGFLAG_CLIENT | CFGFLAG_SAVE , " Color of name of authenticated player in scoreboard " )
MACRO_CONFIG_COL ( ClSameClanColor , cl_same_clan_color , 5898211 , CFGFLAG_CLIENT | CFGFLAG_SAVE , " Clan color of players with the same clan as you in scoreboard. " )
2019-05-06 12:19:10 +00:00
2019-04-05 11:36:18 +00:00
MACRO_CONFIG_INT ( ClEnablePingColor , cl_enable_ping_color , 1 , 0 , 1 , CFGFLAG_CLIENT | CFGFLAG_SAVE , " Whether ping is colored in scoreboard. " )
2011-08-13 00:11:06 +00:00
MACRO_CONFIG_INT ( ClAutoswitchWeapons , cl_autoswitch_weapons , 0 , 0 , 1 , CFGFLAG_CLIENT | CFGFLAG_SAVE , " Auto switch weapon on pickup " )
2014-06-16 11:29:18 +00:00
MACRO_CONFIG_INT ( ClAutoswitchWeaponsOutOfAmmo , cl_autoswitch_weapons_out_of_ammo , 0 , 0 , 1 , CFGFLAG_CLIENT | CFGFLAG_SAVE , " Auto switch weapon when out of ammo " )
2010-05-29 07:25:38 +00:00
2011-08-13 00:11:06 +00:00
MACRO_CONFIG_INT ( ClShowhud , cl_showhud , 1 , 0 , 1 , CFGFLAG_CLIENT | CFGFLAG_SAVE , " Show ingame HUD " )
2013-11-02 02:09:56 +00:00
MACRO_CONFIG_INT ( ClShowhudHealthAmmo , cl_showhud_healthammo , 1 , 0 , 1 , CFGFLAG_CLIENT | CFGFLAG_SAVE , " Show ingame HUD (Health + Ammo) " )
MACRO_CONFIG_INT ( ClShowhudScore , cl_showhud_score , 1 , 0 , 1 , CFGFLAG_CLIENT | CFGFLAG_SAVE , " Show ingame HUD (Score) " )
2014-02-06 22:49:25 +00:00
MACRO_CONFIG_INT ( ClShowRecord , cl_showrecord , 0 , 0 , 1 , CFGFLAG_CLIENT | CFGFLAG_SAVE , " Show old style DDRace client records " )
2018-01-05 19:20:39 +00:00
MACRO_CONFIG_INT ( ClShowNotifications , cl_shownotifications , 1 , 0 , 1 , CFGFLAG_CLIENT | CFGFLAG_SAVE , " Make the client notify when someone highlights you " )
2018-01-05 19:17:22 +00:00
MACRO_CONFIG_INT ( ClShowEmotes , cl_showemotes , 1 , 0 , 1 , CFGFLAG_CLIENT | CFGFLAG_SAVE , " Show tee emotes " )
2013-11-14 15:23:15 +00:00
MACRO_CONFIG_INT ( ClShowChat , cl_showchat , 1 , 0 , 1 , CFGFLAG_CLIENT | CFGFLAG_SAVE , " Show chat " )
2012-01-09 22:29:15 +00:00
MACRO_CONFIG_INT ( ClShowChatFriends , cl_show_chat_friends , 0 , 0 , 1 , CFGFLAG_CLIENT | CFGFLAG_SAVE , " Show only chat messages from friends " )
2018-01-05 19:10:39 +00:00
MACRO_CONFIG_INT ( ClShowChatSystem , cl_show_chat_system , 1 , 0 , 1 , CFGFLAG_CLIENT | CFGFLAG_SAVE , " Show chat messages from the server " )
2014-01-15 14:25:13 +00:00
MACRO_CONFIG_INT ( ClShowKillMessages , cl_showkillmessages , 1 , 0 , 1 , CFGFLAG_CLIENT | CFGFLAG_SAVE , " Show kill messages " )
2014-01-13 23:25:25 +00:00
MACRO_CONFIG_INT ( ClShowVotesAfterVoting , cl_show_votes_after_voting , 0 , 0 , 1 , CFGFLAG_CLIENT | CFGFLAG_SAVE , " Show votes window after voting " )
2016-04-27 17:22:55 +00:00
MACRO_CONFIG_INT ( ClShowLocalTimeAlways , cl_show_local_time_always , 0 , 0 , 1 , CFGFLAG_CLIENT | CFGFLAG_SAVE , " Always show local time " )
2018-01-14 16:21:50 +00:00
MACRO_CONFIG_INT ( ClShowfps , cl_showfps , 0 , 0 , 1 , CFGFLAG_CLIENT | CFGFLAG_SAVE , " Show ingame FPS counter " )
2016-05-05 16:07:00 +00:00
MACRO_CONFIG_INT ( ClShowpred , cl_showpred , 0 , 0 , 1 , CFGFLAG_CLIENT | CFGFLAG_SAVE , " Show ingame prediction time in milliseconds " )
2015-09-11 13:41:53 +00:00
MACRO_CONFIG_INT ( ClEyeWheel , cl_eye_wheel , 1 , 0 , 1 , CFGFLAG_CLIENT | CFGFLAG_SAVE , " Show eye wheel along together with emotes " )
2015-11-14 23:31:24 +00:00
MACRO_CONFIG_INT ( ClEyeDuration , cl_eye_duration , 999999 , 1 , 999999 , CFGFLAG_CLIENT | CFGFLAG_SAVE , " How long the eyes emotes last " )
2010-05-29 07:25:38 +00:00
2011-08-13 00:11:06 +00:00
MACRO_CONFIG_INT ( ClAirjumpindicator , cl_airjumpindicator , 1 , 0 , 1 , CFGFLAG_CLIENT | CFGFLAG_SAVE , " " )
2014-02-17 22:13:42 +00:00
MACRO_CONFIG_INT ( ClThreadsoundloading , cl_threadsoundloading , 0 , 0 , 1 , CFGFLAG_CLIENT | CFGFLAG_SAVE , " Load sound files threaded " )
2010-05-29 07:25:38 +00:00
2011-08-13 00:11:06 +00:00
MACRO_CONFIG_INT ( ClWarningTeambalance , cl_warning_teambalance , 1 , 0 , 1 , CFGFLAG_CLIENT | CFGFLAG_SAVE , " Warn about team balance " )
2010-05-29 07:25:38 +00:00
2018-04-11 09:27:30 +00:00
MACRO_CONFIG_INT ( ClMouseDeadzone , cl_mouse_deadzone , 0 , 0 , 0 , CFGFLAG_CLIENT | CFGFLAG_SAVE , " " )
MACRO_CONFIG_INT ( ClMouseFollowfactor , cl_mouse_followfactor , 0 , 0 , 200 , CFGFLAG_CLIENT | CFGFLAG_SAVE , " " )
2017-09-23 20:49:01 +00:00
MACRO_CONFIG_INT ( ClMouseMaxDistance , cl_mouse_max_distance , 400 , 0 , 0 , CFGFLAG_CLIENT | CFGFLAG_SAVE , " " )
2019-04-04 18:17:11 +00:00
MACRO_CONFIG_INT ( ClMouseMinDistance , cl_mouse_min_distance , 0 , 0 , 0 , CFGFLAG_CLIENT | CFGFLAG_SAVE , " " )
2010-05-29 07:25:38 +00:00
2018-06-25 12:34:31 +00:00
MACRO_CONFIG_INT ( ClDyncam , cl_dyncam , 0 , 0 , 1 , CFGFLAG_CLIENT | CFGFLAG_SAVE , " Enable dyncam " )
2019-04-04 18:17:11 +00:00
MACRO_CONFIG_INT ( ClDyncamMaxDistance , cl_dyncam_max_distance , 1000 , 0 , 2000 , CFGFLAG_CLIENT | CFGFLAG_SAVE , " Maximum dynamic camera distance " )
MACRO_CONFIG_INT ( ClDyncamMinDistance , cl_dyncam_min_distance , 0 , 0 , 2000 , CFGFLAG_CLIENT | CFGFLAG_SAVE , " Minimum dynamic camera distance " )
2015-08-24 21:26:07 +00:00
MACRO_CONFIG_INT ( ClDyncamMousesens , cl_dyncam_mousesens , 0 , 0 , 100000 , CFGFLAG_CLIENT | CFGFLAG_SAVE , " Mouse sens used when dyncam is toggled on " )
2015-08-24 21:22:20 +00:00
MACRO_CONFIG_INT ( ClDyncamDeadzone , cl_dyncam_deadzone , 300 , 1 , 1300 , CFGFLAG_CLIENT | CFGFLAG_SAVE , " Dynamic camera dead zone " )
MACRO_CONFIG_INT ( ClDyncamFollowFactor , cl_dyncam_follow_factor , 60 , 0 , 200 , CFGFLAG_CLIENT | CFGFLAG_SAVE , " Dynamic camera follow factor " )
2015-05-11 10:21:34 +00:00
2014-10-12 00:06:44 +00:00
MACRO_CONFIG_INT ( EdZoomTarget , ed_zoom_target , 0 , 0 , 1 , CFGFLAG_CLIENT | CFGFLAG_SAVE , " Zoom to the current mouse target " )
2011-08-13 00:11:06 +00:00
MACRO_CONFIG_INT ( EdShowkeys , ed_showkeys , 0 , 0 , 1 , CFGFLAG_CLIENT | CFGFLAG_SAVE , " " )
2010-08-25 14:15:59 +00:00
2011-08-13 00:11:06 +00:00
MACRO_CONFIG_INT ( ClShowWelcome , cl_show_welcome , 1 , 0 , 1 , CFGFLAG_CLIENT | CFGFLAG_SAVE , " " )
MACRO_CONFIG_INT ( ClMotdTime , cl_motd_time , 10 , 0 , 100 , CFGFLAG_CLIENT | CFGFLAG_SAVE , " How long to show the server message of the day " )
2010-05-29 07:25:38 +00:00
2017-07-16 09:29:10 +00:00
MACRO_CONFIG_STR ( ClDDNetMapDownloadUrl , cl_ddnet_map_download_url , 100 , " https://maps.ddnet.tw " , CFGFLAG_CLIENT | CFGFLAG_SAVE , " URL to use to download maps (can start with http:// or https://) " )
2010-05-29 07:25:38 +00:00
2011-08-13 00:11:06 +00:00
MACRO_CONFIG_STR ( ClLanguagefile , cl_languagefile , 255 , " " , CFGFLAG_CLIENT | CFGFLAG_SAVE , " What language file to use " )
2015-08-28 18:44:07 +00:00
MACRO_CONFIG_INT ( ClVanillaSkinsOnly , cl_vanilla_skins_only , 0 , 0 , 1 , CFGFLAG_CLIENT | CFGFLAG_SAVE , " Only show skins available in Vanilla Teeworlds " )
2015-05-21 09:55:51 +00:00
MACRO_CONFIG_INT ( ClAutoStatboardScreenshot , cl_auto_statboard_screenshot , 0 , 0 , 1 , CFGFLAG_CLIENT | CFGFLAG_SAVE , " Automatically take game over statboard screenshot " )
MACRO_CONFIG_INT ( ClAutoStatboardScreenshotMax , cl_auto_statboard_screenshot_max , 10 , 0 , 1000 , CFGFLAG_SAVE | CFGFLAG_CLIENT , " Maximum number of automatically created statboard screenshots (0 = no limit) " )
2010-05-29 07:25:38 +00:00
2015-01-03 02:13:21 +00:00
MACRO_CONFIG_INT ( ClDefaultZoom , cl_default_zoom , 10 , 0 , 20 , CFGFLAG_CLIENT | CFGFLAG_SAVE , " Default zoom level (10 default, min 0, max 20) " )
2015-08-06 20:16:33 +00:00
MACRO_CONFIG_INT ( ClPlayerUseCustomColor , player_use_custom_color , 0 , 0 , 1 , CFGFLAG_CLIENT | CFGFLAG_SAVE , " Toggles usage of custom colors " )
2019-05-15 16:05:19 +00:00
MACRO_CONFIG_COL ( ClPlayerColorBody , player_color_body , 65408 , CFGFLAG_CLIENT | CFGFLAG_SAVE | CFGFLAG_COLLIGHT , " Player body color " )
MACRO_CONFIG_COL ( ClPlayerColorFeet , player_color_feet , 65408 , CFGFLAG_CLIENT | CFGFLAG_SAVE | CFGFLAG_COLLIGHT , " Player feet color " )
2015-08-06 20:16:33 +00:00
MACRO_CONFIG_STR ( ClPlayerSkin , player_skin , 24 , " default " , CFGFLAG_CLIENT | CFGFLAG_SAVE , " Player skin " )
2018-07-24 15:26:39 +00:00
MACRO_CONFIG_STR ( ClSkinPrefix , cl_skin_prefix , 100 , " " , CFGFLAG_CLIENT | CFGFLAG_SAVE , " Replace the skins by skins with this prefix (e.g. kitty, coala, santa) " )
2017-07-24 21:48:26 +00:00
MACRO_CONFIG_INT ( ClFatSkins , cl_fat_skins , 0 , 0 , 1 , CFGFLAG_CLIENT | CFGFLAG_SAVE , " Enable fat skins " )
2010-05-29 07:25:38 +00:00
2019-08-15 22:58:06 +00:00
MACRO_CONFIG_INT ( UiPage , ui_page , 9 , 0 , 12 , CFGFLAG_CLIENT | CFGFLAG_SAVE , " Interface page " )
2019-11-17 17:11:33 +00:00
MACRO_CONFIG_INT ( UiSettingsPage , ui_settings_page , 0 , 0 , 8 , CFGFLAG_CLIENT | CFGFLAG_SAVE , " Interface settings page " )
2011-03-23 12:06:35 +00:00
MACRO_CONFIG_INT ( UiToolboxPage , ui_toolbox_page , 0 , 0 , 2 , CFGFLAG_CLIENT | CFGFLAG_SAVE , " Toolbox page " )
2011-04-01 21:16:14 +00:00
MACRO_CONFIG_STR ( UiServerAddress , ui_server_address , 64 , " localhost:8303 " , CFGFLAG_CLIENT | CFGFLAG_SAVE , " Interface server address " )
2010-12-14 00:20:47 +00:00
MACRO_CONFIG_INT ( UiScale , ui_scale , 100 , 50 , 150 , CFGFLAG_CLIENT | CFGFLAG_SAVE , " Interface scale " )
2018-05-01 15:23:14 +00:00
MACRO_CONFIG_INT ( UiMousesens , ui_mousesens , 200 , 1 , 100000 , CFGFLAG_SAVE | CFGFLAG_CLIENT , " Mouse sensitivity for menus/editor " )
2010-05-29 07:25:38 +00:00
2019-05-15 16:05:19 +00:00
MACRO_CONFIG_COL ( UiColor , ui_color , 0xE4A046AF , CFGFLAG_CLIENT | CFGFLAG_SAVE | CFGFLAG_COLALPHA , " Interface color " ) // 160 70 175 228 hasalpha
2010-05-29 07:25:38 +00:00
2014-05-03 15:24:34 +00:00
MACRO_CONFIG_INT ( UiColorizePing , ui_colorize_ping , 1 , 0 , 1 , CFGFLAG_CLIENT | CFGFLAG_SAVE , " Highlight ping " )
MACRO_CONFIG_INT ( UiColorizeGametype , ui_colorize_gametype , 1 , 0 , 1 , CFGFLAG_CLIENT | CFGFLAG_SAVE , " Highlight gametype " )
2015-08-25 13:55:15 +00:00
MACRO_CONFIG_STR ( UiDemoSelected , ui_demo_selected , 256 , " " , CFGFLAG_CLIENT | CFGFLAG_SAVE , " Selected demo file " )
2017-07-25 17:08:16 +00:00
MACRO_CONFIG_INT ( UiCloseWindowAfterChangingSetting , ui_close_window_after_changing_setting , 1 , 0 , 1 , CFGFLAG_CLIENT | CFGFLAG_SAVE , " Close window after changing setting " )
2015-08-25 13:55:15 +00:00
2011-08-13 00:11:06 +00:00
MACRO_CONFIG_INT ( GfxNoclip , gfx_noclip , 0 , 0 , 1 , CFGFLAG_CLIENT | CFGFLAG_SAVE , " Disable clipping " )
2010-05-29 07:25:38 +00:00
2014-04-26 18:29:42 +00:00
// dummy
2015-08-06 20:16:33 +00:00
MACRO_CONFIG_STR ( ClDummyName , dummy_name , 16 , " brainless tee " , CFGFLAG_SAVE | CFGFLAG_CLIENT , " Name of the Dummy " )
MACRO_CONFIG_STR ( ClDummyClan , dummy_clan , 12 , " " , CFGFLAG_SAVE | CFGFLAG_CLIENT , " Clan of the Dummy " )
MACRO_CONFIG_INT ( ClDummyCountry , dummy_country , - 1 , - 1 , 1000 , CFGFLAG_SAVE | CFGFLAG_CLIENT , " Country of the Dummy " )
MACRO_CONFIG_INT ( ClDummyUseCustomColor , dummy_use_custom_color , 0 , 0 , 1 , CFGFLAG_CLIENT | CFGFLAG_SAVE , " Toggles usage of custom colors " )
2019-05-15 16:05:19 +00:00
MACRO_CONFIG_COL ( ClDummyColorBody , dummy_color_body , 65408 , CFGFLAG_CLIENT | CFGFLAG_SAVE | CFGFLAG_COLLIGHT , " Dummy body color " )
MACRO_CONFIG_COL ( ClDummyColorFeet , dummy_color_feet , 65408 , CFGFLAG_CLIENT | CFGFLAG_SAVE | CFGFLAG_COLLIGHT , " Dummy feet color " )
2015-08-06 20:16:33 +00:00
MACRO_CONFIG_STR ( ClDummySkin , dummy_skin , 24 , " default " , CFGFLAG_CLIENT | CFGFLAG_SAVE , " Dummy skin " )
2014-04-26 18:29:42 +00:00
MACRO_CONFIG_INT ( ClDummy , cl_dummy , 0 , 0 , 1 , CFGFLAG_CLIENT , " 0 - player / 1 - dummy " )
2014-04-28 20:12:50 +00:00
MACRO_CONFIG_INT ( ClDummyHammer , cl_dummy_hammer , 0 , 0 , 1 , CFGFLAG_CLIENT , " Whether dummy is hammering for a hammerfly " )
2019-10-25 01:03:00 +00:00
MACRO_CONFIG_INT ( ClDummyResetOnSwitch , cl_dummy_resetonswitch , 0 , 0 , 2 , CFGFLAG_CLIENT | CFGFLAG_SAVE , " Whether dummy or player should stop pressing keys when you switch. 0 = off, 1 = dummy, 2 = player " )
2019-07-10 16:04:54 +00:00
MACRO_CONFIG_INT ( ClDummyRestoreWeapon , cl_dummy_restore_weapon , 1 , 0 , 1 , CFGFLAG_CLIENT | CFGFLAG_SAVE , " Whether dummy should switch to last weapon after hammerfly " )
2018-06-25 12:34:31 +00:00
MACRO_CONFIG_INT ( ClDummyCopyMoves , cl_dummy_copy_moves , 0 , 0 , 1 , CFGFLAG_CLIENT , " Whether dummy should copy your moves " )
2014-04-26 18:29:42 +00:00
2018-03-14 12:20:41 +00:00
// more controlable dummy command
2018-04-03 16:12:27 +00:00
MACRO_CONFIG_INT ( ClDummyControl , cl_dummy_control , 0 , 0 , 1 , CFGFLAG_CLIENT , " Whether can you control dummy at the same time " )
2018-03-14 12:20:41 +00:00
MACRO_CONFIG_INT ( ClDummyJump , cl_dummy_jump , 0 , 0 , 1 , CFGFLAG_CLIENT , " Whether dummy is jumping " )
2019-02-11 13:57:42 +00:00
MACRO_CONFIG_INT ( ClDummyFire , cl_dummy_fire , 0 , 0 , 1 , CFGFLAG_CLIENT , " Whether dummy is firing " )
MACRO_CONFIG_INT ( ClDummyHook , cl_dummy_hook , 0 , 0 , 1 , CFGFLAG_CLIENT , " Whether dummy is hooking " )
2018-11-18 06:25:15 +00:00
2015-05-09 23:36:29 +00:00
// curl http download
2018-08-21 12:50:36 +00:00
MACRO_CONFIG_INT ( ClHTTPConnectTimeoutMs , cl_http_connect_timeout_ms , 2000 , 0 , 100000 , CFGFLAG_CLIENT | CFGFLAG_SAVE , " HTTP downloads: timeout for the connect phase in milliseconds (0 to disable) " )
MACRO_CONFIG_INT ( ClHTTPLowSpeedLimit , cl_http_low_speed_limit , 500 , 0 , 100000 , CFGFLAG_CLIENT | CFGFLAG_SAVE , " HTTP downloads: Set low speed limit in bytes per second (0 to disable) " )
MACRO_CONFIG_INT ( ClHTTPLowSpeedTime , cl_http_low_speed_time , 5 , 0 , 100000 , CFGFLAG_CLIENT | CFGFLAG_SAVE , " HTTP downloads: Set low speed limit time period (0 to disable) " )
2015-05-09 23:36:29 +00:00
2010-05-29 07:25:38 +00:00
// server
2010-10-09 17:14:42 +00:00
MACRO_CONFIG_INT ( SvWarmup , sv_warmup , 0 , 0 , 0 , CFGFLAG_SERVER , " Number of seconds to do warmup before round starts " )
2010-05-29 07:25:38 +00:00
MACRO_CONFIG_STR ( SvMotd , sv_motd , 900 , " " , CFGFLAG_SERVER , " Message of the day to display for the clients " )
MACRO_CONFIG_INT ( SvTournamentMode , sv_tournament_mode , 0 , 0 , 1 , CFGFLAG_SERVER , " Tournament mode. When enabled, players joins the server as spectator " )
MACRO_CONFIG_INT ( SvSpamprotection , sv_spamprotection , 1 , 0 , 1 , CFGFLAG_SERVER , " Spam protection " )
MACRO_CONFIG_INT ( SvSpectatorSlots , sv_spectator_slots , 0 , 0 , MAX_CLIENTS , CFGFLAG_SERVER , " Number of slots to reserve for spectators " )
2011-08-13 00:11:06 +00:00
MACRO_CONFIG_INT ( SvInactiveKickTime , sv_inactivekick_time , 0 , 0 , 1000 , CFGFLAG_SERVER , " How many minutes to wait before taking care of inactive players " )
MACRO_CONFIG_INT ( SvInactiveKick , sv_inactivekick , 0 , 0 , 2 , CFGFLAG_SERVER , " How to deal with inactive players (0=move to spectator, 1=move to free spectator slot/kick, 2=kick) " )
2010-05-29 07:25:38 +00:00
2011-06-19 09:28:39 +00:00
MACRO_CONFIG_INT ( SvStrictSpectateMode , sv_strict_spectate_mode , 0 , 0 , 1 , CFGFLAG_SERVER , " Restricts information in spectator mode " )
2011-03-26 15:56:59 +00:00
MACRO_CONFIG_INT ( SvVoteSpectate , sv_vote_spectate , 1 , 0 , 1 , CFGFLAG_SERVER , " Allow voting to move players to spectators " )
2011-05-23 11:06:38 +00:00
MACRO_CONFIG_INT ( SvVoteSpectateRejoindelay , sv_vote_spectate_rejoindelay , 3 , 0 , 1000 , CFGFLAG_SERVER , " How many minutes to wait before a player can rejoin after being moved to spectators by vote " )
2010-05-29 07:25:38 +00:00
MACRO_CONFIG_INT ( SvVoteKick , sv_vote_kick , 1 , 0 , 1 , CFGFLAG_SERVER , " Allow voting to kick players " )
2011-03-04 16:35:50 +00:00
MACRO_CONFIG_INT ( SvVoteKickMin , sv_vote_kick_min , 0 , 0 , MAX_CLIENTS , CFGFLAG_SERVER , " Minimum number of players required to start a kick vote " )
2016-01-19 21:26:20 +00:00
MACRO_CONFIG_INT ( SvVoteKickBantime , sv_vote_kick_bantime , 5 , 0 , 1440 , CFGFLAG_SERVER , " The time in seconds to ban a player if kicked by vote. 0 makes it just use kick " )
2018-12-12 09:41:28 +00:00
MACRO_CONFIG_INT ( SvJoinVoteDelay , sv_join_vote_delay , 300 , 0 , 1000 , CFGFLAG_SERVER , " Add a delay before recently joined players can call any vote or participate in a kick/spec vote (in seconds) " )
2018-11-18 06:25:15 +00:00
MACRO_CONFIG_INT ( SvOldTeleportWeapons , sv_old_teleport_weapons , 0 , 0 , 1 , CFGFLAG_SERVER | CFGFLAG_GAME , " Teleporting of all weapons (deprecated, use special entities instead) " )
MACRO_CONFIG_INT ( SvOldTeleportHook , sv_old_teleport_hook , 0 , 0 , 1 , CFGFLAG_SERVER | CFGFLAG_GAME , " Hook through teleporter (deprecated, use special entities instead) " )
MACRO_CONFIG_INT ( SvTeleportHoldHook , sv_teleport_hold_hook , 0 , 0 , 1 , CFGFLAG_SERVER | CFGFLAG_GAME , " Hold hook when teleported " )
MACRO_CONFIG_INT ( SvTeleportLoseWeapons , sv_teleport_lose_weapons , 0 , 0 , 1 , CFGFLAG_SERVER | CFGFLAG_GAME , " Lose weapons when teleported (useful for some race maps) " )
MACRO_CONFIG_INT ( SvDeepfly , sv_deepfly , 1 , 0 , 1 , CFGFLAG_SERVER | CFGFLAG_GAME , " Allow fire non auto weapons when deep " )
2019-04-21 18:17:41 +00:00
MACRO_CONFIG_INT ( SvDestroyBulletsOnDeath , sv_destroy_bullets_on_death , 1 , 0 , 1 , CFGFLAG_SERVER | CFGFLAG_GAME , " Destroy bullets when their owner dies " )
MACRO_CONFIG_INT ( SvDestroyLasersOnDeath , sv_destroy_lasers_on_death , 0 , 0 , 1 , CFGFLAG_SERVER | CFGFLAG_GAME , " Destroy lasers when their owner dies " )
2010-07-29 19:51:58 +00:00
2015-08-22 17:24:10 +00:00
MACRO_CONFIG_INT ( SvMapUpdateRate , sv_mapupdaterate , 5 , 1 , 100 , CFGFLAG_SERVER , " 64 player id <-> vanilla id players map update rate " )
2013-12-31 05:13:57 +00:00
2014-06-20 20:40:23 +00:00
MACRO_CONFIG_STR ( SvServerType , sv_server_type , 64 , " none " , CFGFLAG_SERVER , " Type of the server (novice, moderate, ...) " )
2014-10-27 12:39:33 +00:00
MACRO_CONFIG_INT ( SvSendVotesPerTick , sv_send_votes_per_tick , 5 , 1 , 15 , CFGFLAG_SERVER , " Number of vote options being send per tick " )
2014-10-26 18:39:42 +00:00
2015-06-30 16:46:36 +00:00
MACRO_CONFIG_INT ( SvRescue , sv_rescue , 0 , 0 , 1 , CFGFLAG_SERVER , " Allow /rescue command so players can teleport themselves out of freeze " )
2018-02-04 15:00:47 +00:00
MACRO_CONFIG_INT ( SvRescueDelay , sv_rescue_delay , 5 , 0 , 1000 , CFGFLAG_SERVER , " Number of seconds between two rescues " )
2015-04-16 15:28:03 +00:00
2019-10-02 05:33:55 +00:00
# if defined(CONF_VIDEORECORDER)
2020-02-27 10:50:18 +00:00
MACRO_CONFIG_INT ( ClVideoPauseWithDemo , cl_video_pausewithdemo , 1 , 0 , 1 , CFGFLAG_CLIENT | CFGFLAG_SAVE , " Pause video rendering when demo playing pause " )
2019-10-02 05:33:55 +00:00
MACRO_CONFIG_INT ( ClVideoShowhud , cl_video_showhud , 0 , 0 , 1 , CFGFLAG_CLIENT | CFGFLAG_SAVE , " Show ingame HUD when rendering video " )
2019-10-13 12:29:55 +00:00
MACRO_CONFIG_INT ( ClVideoShowChat , cl_video_showchat , 1 , 0 , 1 , CFGFLAG_CLIENT | CFGFLAG_SAVE , " Show chat when rendering video " )
2019-10-17 05:38:00 +00:00
MACRO_CONFIG_INT ( ClVideoSndEnable , cl_video_sound_enable , 1 , 0 , 1 , CFGFLAG_CLIENT | CFGFLAG_SAVE , " Use sound when rendering video " )
2019-10-02 05:33:55 +00:00
MACRO_CONFIG_INT ( ClVideoShowHookCollOther , cl_video_showhookcollother , 0 , 0 , 1 , CFGFLAG_CLIENT | CFGFLAG_SAVE , " Show other players' hook collision lines when rendering video " )
MACRO_CONFIG_INT ( ClVideoShowDirection , cl_video_showdirection , 0 , 0 , 1 , CFGFLAG_CLIENT | CFGFLAG_SAVE , " Show other players' key presses when rendering video " )
2020-01-05 03:18:51 +00:00
MACRO_CONFIG_INT ( ClVideoX264Crf , cl_video_crf , 22 , 0 , 51 , CFGFLAG_CLIENT | CFGFLAG_SAVE , " Set crf when encode video with libx264 " )
MACRO_CONFIG_INT ( ClVideoX264Preset , cl_video_preset , 6 , 0 , 9 , CFGFLAG_CLIENT | CFGFLAG_SAVE , " Set preset when encode video with libx264, default is 6(slow), 0 is ultrafast, 9 is placebo(the slowest, not recommend) " )
2019-10-02 05:33:55 +00:00
# endif
2019-10-02 05:11:58 +00:00
2010-05-29 07:25:38 +00:00
// debug
# ifdef CONF_DEBUG // this one can crash the server if not used correctly
2011-08-13 00:11:06 +00:00
MACRO_CONFIG_INT ( DbgDummies , dbg_dummies , 0 , 0 , 15 , CFGFLAG_SERVER , " " )
2010-05-29 07:25:38 +00:00
# endif
2011-08-13 00:11:06 +00:00
MACRO_CONFIG_INT ( DbgFocus , dbg_focus , 0 , 0 , 1 , CFGFLAG_CLIENT , " " )
MACRO_CONFIG_INT ( DbgTuning , dbg_tuning , 0 , 0 , 1 , CFGFLAG_CLIENT , " " )
2010-05-29 07:25:38 +00:00
# endif