Rename "Enable Development" to "Enable Developer" in SDK launcher

Renamed to "Developer" as this is the name of the cvar, and the global define within the script API. This should express the intention more clearly.
This commit is contained in:
Kawe Mazidjatari 2022-10-07 22:33:37 +02:00
parent c1ca5d0878
commit 8880f4e7f0
2 changed files with 11 additions and 11 deletions

View File

@ -90,13 +90,13 @@ void CUIBaseSurface::Init()
this->m_CheatsToggle->SetAnchor(Forms::AnchorStyles::Top | Forms::AnchorStyles::Left);
this->m_GameGroupExt->AddControl(this->m_CheatsToggle);
this->m_DevelopmentToggle = new UIX::UIXCheckBox();
this->m_DevelopmentToggle->SetSize({ 150, 18 });
this->m_DevelopmentToggle->SetLocation({ 130, 7 });
this->m_DevelopmentToggle->SetTabIndex(0);
this->m_DevelopmentToggle->SetText("Enable development");
this->m_DevelopmentToggle->SetAnchor(Forms::AnchorStyles::Top | Forms::AnchorStyles::Left);
this->m_GameGroupExt->AddControl(this->m_DevelopmentToggle);
this->m_DeveloperToggle = new UIX::UIXCheckBox();
this->m_DeveloperToggle->SetSize({ 150, 18 });
this->m_DeveloperToggle->SetLocation({ 130, 7 });
this->m_DeveloperToggle->SetTabIndex(0);
this->m_DeveloperToggle->SetText("Enable developer");
this->m_DeveloperToggle->SetAnchor(Forms::AnchorStyles::Top | Forms::AnchorStyles::Left);
this->m_GameGroupExt->AddControl(this->m_DeveloperToggle);
this->m_ConsoleToggle = new UIX::UIXCheckBox();
this->m_ConsoleToggle->SetSize({ 150, 18 });
@ -737,7 +737,7 @@ eLaunchMode CUIBaseSurface::BuildParameter(string& svParameters)
{
svParameters.append("+launchplaylist \"" + this->m_PlaylistCombo->Text() + "\"\n");
}
if (this->m_DevelopmentToggle->Checked())
if (this->m_DeveloperToggle->Checked())
{
svParameters.append("-dev\n");
svParameters.append("-devsdk\n");
@ -863,7 +863,7 @@ eLaunchMode CUIBaseSurface::BuildParameter(string& svParameters)
{
svParameters.append("+launchplaylist \"" + this->m_PlaylistCombo->Text() + "\"\n");
}
if (this->m_DevelopmentToggle->Checked())
if (this->m_DeveloperToggle->Checked())
{
svParameters.append("-dev\n");
svParameters.append("-devsdk\n");
@ -950,7 +950,7 @@ eLaunchMode CUIBaseSurface::BuildParameter(string& svParameters)
case eMode::CLIENT:
{
// GAME ###############################################################
if (this->m_DevelopmentToggle->Checked())
if (this->m_DeveloperToggle->Checked())
{
svParameters.append("-dev\n");
svParameters.append("-devsdk\n");

View File

@ -82,7 +82,7 @@ private:
UIX::UIXGroupBox* m_EngineVideoGroup;
// Toggles
UIX::UIXCheckBox* m_CheatsToggle;
UIX::UIXCheckBox* m_DevelopmentToggle;
UIX::UIXCheckBox* m_DeveloperToggle;
UIX::UIXCheckBox* m_ConsoleToggle;
UIX::UIXCheckBox* m_WindowedToggle;
UIX::UIXCheckBox* m_NoBorderToggle;