mirror of
https://github.com/SWG-Source/client-tools.git
synced 2026-08-03 03:16:10 -04:00
Remove Lingering Features of Deprecated Systems (see desc)
* Disable by default all SWG Voice Service UI Elements * Disable /voice console commands * Remove voice controls from Options menu and Keymap Tab * Remove the /bug command and disable by default the bug ticket CUI prompt * Remove in-game web browser commands /ui browser and /ui url * Adjusted the buton bar size constants to accomodate an earlier change that disabled the Help/Service and TCG Menu Options (accompanying client-assets changes forthcoming to remove these menu items all together from the UI so they don't display)
This commit is contained in:
@@ -386,13 +386,13 @@ namespace
|
||||
|
||||
Callback * ms_buffIconSettingsChangedCallback = 0;
|
||||
|
||||
|
||||
bool ms_voiceChatEnabled = true;
|
||||
bool ms_voiceUsePushToTalk = true;
|
||||
// all voice options disabled by default
|
||||
bool ms_voiceChatEnabled = false;
|
||||
bool ms_voiceUsePushToTalk = false;
|
||||
bool ms_voiceUseAdvancedChannelSelection = false;
|
||||
bool ms_voiceShowFlybar = true;
|
||||
bool ms_voiceShowFlybar = false;
|
||||
bool ms_voiceAutoDeclineInvites = false;
|
||||
bool ms_voiceAutoJoinChannels = true;
|
||||
bool ms_voiceAutoJoinChannels = false;
|
||||
|
||||
bool ms_defaultExamineHideAppearance = false;
|
||||
bool ms_doubleClickAppearanceUnequip = true;
|
||||
@@ -863,10 +863,11 @@ void CuiPreferences::install ()
|
||||
|
||||
REGISTER_OPTION(hideCharactersOnClosedGalaxies);
|
||||
|
||||
CuiVoiceChatManager::setVoiceChatEnabled(getVoiceChatEnabled());
|
||||
CuiVoiceChatManager::setUsePushToTalkForceUpdate(getVoiceUsePushToTalk());
|
||||
CuiVoiceChatManager::setShowFlybar(getVoiceShowFlybar());
|
||||
CuiVoiceChatManager::setUseAdvancedChannelSelection(getVoiceUseAdvancedChannelSelection());
|
||||
// disable all voice preferences by default
|
||||
CuiVoiceChatManager::setVoiceChatEnabled(false);
|
||||
CuiVoiceChatManager::setUsePushToTalkForceUpdate(false);
|
||||
CuiVoiceChatManager::setShowFlybar(false);
|
||||
CuiVoiceChatManager::setUseAdvancedChannelSelection(false);
|
||||
|
||||
// Update our utils class with our loaded option.
|
||||
setCurrencyFormat(static_cast<CuiPreferences::CurrencyFormat>(ms_currencyFormat));
|
||||
|
||||
@@ -741,8 +741,11 @@ std::string CuiVoiceChatManager::getCsReportString()
|
||||
|
||||
//----------------------------------------------------------------------------
|
||||
|
||||
// disable the ability to enable voice chat
|
||||
void CuiVoiceChatManager::setVoiceChatEnabled(bool enabled)
|
||||
{
|
||||
return;
|
||||
/*
|
||||
if(enabled != getVoiceChatEnabled())
|
||||
{
|
||||
std::stringstream ss;
|
||||
@@ -753,6 +756,7 @@ void CuiVoiceChatManager::setVoiceChatEnabled(bool enabled)
|
||||
CuiPreferences::setVoiceChatEnabled(enabled);
|
||||
CuiVoiceChatManagerNamespace::Transceivers::enabledChanged.emitMessage(enabled);
|
||||
}
|
||||
*/
|
||||
}
|
||||
|
||||
//----------------------------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user