removed bunch of cvars from public query list.
only yb_version is now publicly queryable.
This commit is contained in:
parent
f9f49c6cc6
commit
2c10910972
8 changed files with 18 additions and 18 deletions
|
|
@ -1666,7 +1666,7 @@ public:
|
|||
cvar_t *m_eptr;
|
||||
|
||||
public:
|
||||
ConVar (const char *name, const char *initval, VarType type = VT_NORMAL)
|
||||
ConVar (const char *name, const char *initval, VarType type = VT_NOSERVER)
|
||||
{
|
||||
m_eptr = NULL;
|
||||
|
||||
|
|
|
|||
|
|
@ -9,10 +9,10 @@
|
|||
|
||||
#include <core.h>
|
||||
|
||||
ConVar yb_debug ("yb_debug", "0", VT_NOSERVER);
|
||||
ConVar yb_debug_goal ("yb_debug_goal", "-1", VT_NOSERVER);
|
||||
ConVar yb_user_follow_percent ("yb_user_follow_percent", "20", VT_NOSERVER);
|
||||
ConVar yb_user_max_followers ("yb_user_max_followers", "1", VT_NOSERVER);
|
||||
ConVar yb_debug ("yb_debug", "0");
|
||||
ConVar yb_debug_goal ("yb_debug_goal", "-1");
|
||||
ConVar yb_user_follow_percent ("yb_user_follow_percent", "20");
|
||||
ConVar yb_user_max_followers ("yb_user_max_followers", "1");
|
||||
|
||||
ConVar yb_jasonmode ("yb_jasonmode", "0");
|
||||
ConVar yb_communication_type ("yb_communication_type", "2");
|
||||
|
|
@ -25,7 +25,7 @@ ConVar yb_freeze_bots ("yb_freeze_bots", "0");
|
|||
ConVar yb_spraypaints ("yb_spraypaints", "1");
|
||||
ConVar yb_botbuy ("yb_botbuy", "1");
|
||||
|
||||
ConVar yb_chatter_path ("yb_chatter_path", "sound/radio/bot", VT_NOSERVER);
|
||||
ConVar yb_chatter_path ("yb_chatter_path", "sound/radio/bot");
|
||||
ConVar yb_restricted_weapons ("yb_restricted_weapons", "");
|
||||
|
||||
// game console variables
|
||||
|
|
|
|||
|
|
@ -11,8 +11,8 @@
|
|||
|
||||
ConVar yb_shoots_thru_walls ("yb_shoots_thru_walls", "2");
|
||||
ConVar yb_ignore_enemies ("yb_ignore_enemies", "0");
|
||||
ConVar yb_csdm_mode ("yb_csdm_mode", "0", VT_NOSERVER);
|
||||
ConVar yb_check_enemy_rendering ("yb_check_enemy_rendering", "0", VT_NOSERVER);
|
||||
ConVar yb_csdm_mode ("yb_csdm_mode", "0");
|
||||
ConVar yb_check_enemy_rendering ("yb_check_enemy_rendering", "0");
|
||||
|
||||
ConVar mp_friendlyfire ("mp_friendlyfire", NULL, VT_NOREGISTER);
|
||||
|
||||
|
|
|
|||
|
|
@ -11,7 +11,7 @@
|
|||
|
||||
// console vars
|
||||
ConVar yb_password ("yb_password", "", VT_PASSWORD);
|
||||
ConVar yb_password_key ("yb_password_key", "_ybpw", VT_NOSERVER);
|
||||
ConVar yb_password_key ("yb_password_key", "_ybpw");
|
||||
|
||||
ConVar yb_language ("yb_language", "en");
|
||||
ConVar yb_version ("yb_version", PRODUCT_VERSION, VT_READONLY);
|
||||
|
|
|
|||
|
|
@ -15,14 +15,14 @@ ConVar yb_quota ("yb_quota", "0");
|
|||
ConVar yb_quota_match ("yb_quota_match", "0");
|
||||
ConVar yb_quota_match_max ("yb_quota_match_max", "0");
|
||||
|
||||
ConVar yb_join_after_player ("yb_join_after_player", "0", VT_NOSERVER);
|
||||
ConVar yb_join_after_player ("yb_join_after_player", "0");
|
||||
ConVar yb_join_team ("yb_join_team", "any");
|
||||
|
||||
ConVar yb_name_prefix ("yb_name_prefix", "", VT_NOSERVER);
|
||||
ConVar yb_name_prefix ("yb_name_prefix", "");
|
||||
ConVar yb_difficulty ("yb_difficulty", "4");
|
||||
|
||||
ConVar yb_latency_display ("yb_latency_display", "2", VT_NOSERVER);
|
||||
ConVar yb_avatar_display ("yb_avatar_display", "1", VT_NOSERVER);
|
||||
ConVar yb_latency_display ("yb_latency_display", "2");
|
||||
ConVar yb_avatar_display ("yb_avatar_display", "1");
|
||||
|
||||
BotManager::BotManager (void)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@
|
|||
|
||||
#include <core.h>
|
||||
|
||||
ConVar yb_whose_your_daddy ("yb_whose_your_daddy", "1", VT_NOSERVER);
|
||||
ConVar yb_whose_your_daddy ("yb_whose_your_daddy", "1");
|
||||
|
||||
int Bot::FindGoal (void)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@
|
|||
|
||||
#include <core.h>
|
||||
|
||||
ConVar yb_listenserver_welcome ("yb_listenserver_welcome", "1", VT_NOSERVER);
|
||||
ConVar yb_listenserver_welcome ("yb_listenserver_welcome", "1");
|
||||
|
||||
ConVar mp_roundtime ("mp_roundtime", NULL, VT_NOREGISTER);
|
||||
|
||||
|
|
|
|||
|
|
@ -9,10 +9,10 @@
|
|||
|
||||
#include <core.h>
|
||||
|
||||
ConVar yb_wptsubfolder ("yb_wptsubfolder", "", VT_NOSERVER);
|
||||
ConVar yb_wptsubfolder ("yb_wptsubfolder", "");
|
||||
|
||||
ConVar yb_waypoint_autodl_host ("yb_waypoint_autodl_host", "yapb.jeefo.net", VT_NOSERVER);
|
||||
ConVar yb_waypoint_autodl_enable ("yb_waypoint_autodl_enable", "1", VT_NOSERVER);
|
||||
ConVar yb_waypoint_autodl_host ("yb_waypoint_autodl_host", "yapb.jeefo.net");
|
||||
ConVar yb_waypoint_autodl_enable ("yb_waypoint_autodl_enable", "1");
|
||||
|
||||
void Waypoint::Init (void)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue