Skip to content

Commit

Permalink
Add new cvars
Browse files Browse the repository at this point in the history
  • Loading branch information
siecvi committed Apr 30, 2022
1 parent ce3549a commit f82ccd6
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions Resources/Scripts/Gui/Preferences.as
Original file line number Diff line number Diff line change
Expand Up @@ -651,13 +651,15 @@ namespace spades {
0, 100, 1, ConfigNumberFormatter(0, "%"));
layouter.AddVolumeSlider(_Tr("Preferences", "Hitmarker Volume"), "cg_hitMarkSoundGain");
layouter.AddVolumeSlider(_Tr("Preferences", "Hit Feedback Volume"), "cg_hitFeedbackSoundGain");
layouter.AddToggleField(_Tr("Preferences", "Environmental Audio"), "cg_environmentalAudio");
layouter.AddToggleField(_Tr("Preferences", "Show Statistics"), "cg_stats");
layouter.AddToggleField(_Tr("Preferences", "Show Player Statistics"), "cg_playerStats");
layouter.AddToggleField(_Tr("Preferences", "Debug Hit Detection"), "cg_debugHitTest");
layouter.AddSliderField(_Tr("Preferences", "HitTest Debugger Size"), "cg_dbgHitTestSize",
layouter.AddSliderField(_Tr("Preferences", "Hit Test Debugger Size"), "cg_dbgHitTestSize",
64, 256, 8, ConfigNumberFormatter(0, "px"));
layouter.AddControl(_Tr("Preferences", "Toggle HitTest Zoom"), "cg_keyToggleHitTestZoom");
layouter.AddControl(_Tr("Preferences", "Toggle Hit Test Zoom"), "cg_keyToggleHitTestZoom");
layouter.AddToggleField(_Tr("Preferences", "Debug Weapon Spread"), "cg_debugAim");
layouter.AddToggleField(_Tr("Preferences", "Classic Viewmodel"), "cg_classicViewWeapon");

layouter.AddHeading(_Tr("Preferences", "Minimap"));
layouter.AddSliderField(_Tr("Preferences", "Minimap Size"), "cg_minimapSize",
Expand Down

0 comments on commit f82ccd6

Please sign in to comment.