Skip to content

Commit 6bcb652

Browse files
committed
Rename some tater config variables
1 parent 5297313 commit 6bcb652

File tree

2 files changed

+18
-18
lines changed

2 files changed

+18
-18
lines changed

src/engine/shared/config_variables_tclient.h

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -134,12 +134,12 @@ MACRO_CONFIG_INT(ClTinyTeesOthers, tc_tiny_tees_others, 1, 0, 1, CFGFLAG_CLIENT
134134
MACRO_CONFIG_INT(ClCursorScale, tc_cursor_scale, 100, 0, 500, CFGFLAG_CLIENT | CFGFLAG_SAVE, "Percentage to scale the in game cursor by as a percentage (50 = half, 200 = double)")
135135

136136
// Profiles
137-
MACRO_CONFIG_INT(ClApplyProfileSkin, tc_profile_skin, 1, 0, 1, CFGFLAG_CLIENT | CFGFLAG_SAVE, "Apply skin in profiles")
138-
MACRO_CONFIG_INT(ClApplyProfileName, tc_profile_name, 0, 0, 1, CFGFLAG_CLIENT | CFGFLAG_SAVE, "Apply name in profiles")
139-
MACRO_CONFIG_INT(ClApplyProfileClan, tc_profile_clan, 0, 0, 1, CFGFLAG_CLIENT | CFGFLAG_SAVE, "Apply clan in profiles")
140-
MACRO_CONFIG_INT(ClApplyProfileFlag, tc_profile_flag, 0, 0, 1, CFGFLAG_CLIENT | CFGFLAG_SAVE, "Apply flag in profiles")
141-
MACRO_CONFIG_INT(ClApplyProfileColors, tc_profile_colors, 1, 0, 1, CFGFLAG_CLIENT | CFGFLAG_SAVE, "Apply colors in profiles")
142-
MACRO_CONFIG_INT(ClApplyProfileEmote, tc_profile_emote, 1, 0, 1, CFGFLAG_CLIENT | CFGFLAG_SAVE, "Apply emote in profiles")
137+
MACRO_CONFIG_INT(ClProfileSkin, tc_profile_skin, 1, 0, 1, CFGFLAG_CLIENT | CFGFLAG_SAVE, "Apply skin in profiles")
138+
MACRO_CONFIG_INT(ClProfileName, tc_profile_name, 0, 0, 1, CFGFLAG_CLIENT | CFGFLAG_SAVE, "Apply name in profiles")
139+
MACRO_CONFIG_INT(ClProfileClan, tc_profile_clan, 0, 0, 1, CFGFLAG_CLIENT | CFGFLAG_SAVE, "Apply clan in profiles")
140+
MACRO_CONFIG_INT(ClProfileFlag, tc_profile_flag, 0, 0, 1, CFGFLAG_CLIENT | CFGFLAG_SAVE, "Apply flag in profiles")
141+
MACRO_CONFIG_INT(ClProfileColors, tc_profile_colors, 1, 0, 1, CFGFLAG_CLIENT | CFGFLAG_SAVE, "Apply colors in profiles")
142+
MACRO_CONFIG_INT(ClProfileEmote, tc_profile_emote, 1, 0, 1, CFGFLAG_CLIENT | CFGFLAG_SAVE, "Apply emote in profiles")
143143
MACRO_CONFIG_INT(ClProfileOverwriteClanWithEmpty, tc_profile_overwrite_clan_with_empty, 0, 0, 1, CFGFLAG_CLIENT | CFGFLAG_SAVE, "Overwrite clan name even if profile has an empty clan name")
144144

145145
// Rainbow

src/game/client/components/tclient/menus_tclient.cpp

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1909,12 +1909,12 @@ void CMenus::RenderSettingsProfiles(CUIRect MainView)
19091909
ColorRGBA Color(1.0f, 1.0f, 1.0f, 1.0f);
19101910
m_pClient->m_CountryFlags.Render(m_Dummy ? g_Config.m_ClDummyCountry : g_Config.m_PlayerCountry, Color, FlagRect.x, FlagRect.y, FlagRect.w, FlagRect.h);
19111911

1912-
bool DoSkin = g_Config.m_ClApplyProfileSkin;
1913-
bool DoColors = g_Config.m_ClApplyProfileColors;
1914-
bool DoEmote = g_Config.m_ClApplyProfileEmote;
1915-
bool DoName = g_Config.m_ClApplyProfileName;
1916-
bool DoClan = g_Config.m_ClApplyProfileClan;
1917-
bool DoFlag = g_Config.m_ClApplyProfileFlag;
1912+
bool DoSkin = g_Config.m_ClProfileSkin;
1913+
bool DoColors = g_Config.m_ClProfileColors;
1914+
bool DoEmote = g_Config.m_ClProfileEmote;
1915+
bool DoName = g_Config.m_ClProfileName;
1916+
bool DoClan = g_Config.m_ClProfileClan;
1917+
bool DoFlag = g_Config.m_ClProfileFlag;
19181918

19191919
// After load
19201920
if(s_SelectedProfile != -1 && s_SelectedProfile < (int)GameClient()->m_SkinProfiles.m_Profiles.size())
@@ -2005,12 +2005,12 @@ void CMenus::RenderSettingsProfiles(CUIRect MainView)
20052005
LabelMid.VSplitLeft(20.0f, nullptr, &LabelMid);
20062006
LabelMid.VSplitLeft(160.0f, &LabelMid, &LabelRight);
20072007

2008-
DoButton_CheckBoxAutoVMarginAndSet(&g_Config.m_ClApplyProfileSkin, TCLocalize("Save/Load Skin"), &g_Config.m_ClApplyProfileSkin, &LabelMid, LineSize);
2009-
DoButton_CheckBoxAutoVMarginAndSet(&g_Config.m_ClApplyProfileColors, TCLocalize("Save/Load Colors"), &g_Config.m_ClApplyProfileColors, &LabelMid, LineSize);
2010-
DoButton_CheckBoxAutoVMarginAndSet(&g_Config.m_ClApplyProfileEmote, TCLocalize("Save/Load Emote"), &g_Config.m_ClApplyProfileEmote, &LabelMid, LineSize);
2011-
DoButton_CheckBoxAutoVMarginAndSet(&g_Config.m_ClApplyProfileName, TCLocalize("Save/Load Name"), &g_Config.m_ClApplyProfileName, &LabelMid, LineSize);
2012-
DoButton_CheckBoxAutoVMarginAndSet(&g_Config.m_ClApplyProfileClan, TCLocalize("Save/Load Clan"), &g_Config.m_ClApplyProfileClan, &LabelMid, LineSize);
2013-
DoButton_CheckBoxAutoVMarginAndSet(&g_Config.m_ClApplyProfileFlag, TCLocalize("Save/Load Flag"), &g_Config.m_ClApplyProfileFlag, &LabelMid, LineSize);
2008+
DoButton_CheckBoxAutoVMarginAndSet(&g_Config.m_ClProfileSkin, TCLocalize("Save/Load Skin"), &g_Config.m_ClProfileSkin, &LabelMid, LineSize);
2009+
DoButton_CheckBoxAutoVMarginAndSet(&g_Config.m_ClProfileColors, TCLocalize("Save/Load Colors"), &g_Config.m_ClProfileColors, &LabelMid, LineSize);
2010+
DoButton_CheckBoxAutoVMarginAndSet(&g_Config.m_ClProfileEmote, TCLocalize("Save/Load Emote"), &g_Config.m_ClProfileEmote, &LabelMid, LineSize);
2011+
DoButton_CheckBoxAutoVMarginAndSet(&g_Config.m_ClProfileName, TCLocalize("Save/Load Name"), &g_Config.m_ClProfileName, &LabelMid, LineSize);
2012+
DoButton_CheckBoxAutoVMarginAndSet(&g_Config.m_ClProfileClan, TCLocalize("Save/Load Clan"), &g_Config.m_ClProfileClan, &LabelMid, LineSize);
2013+
DoButton_CheckBoxAutoVMarginAndSet(&g_Config.m_ClProfileFlag, TCLocalize("Save/Load Flag"), &g_Config.m_ClProfileFlag, &LabelMid, LineSize);
20142014
DoButton_CheckBoxAutoVMarginAndSet(&g_Config.m_ClProfileOverwriteClanWithEmpty, TCLocalize("Overwrite clan even if empty"), &g_Config.m_ClProfileOverwriteClanWithEmpty, &LabelMid, LineSize);
20152015

20162016
CUIRect Button;

0 commit comments

Comments
 (0)