anchor.diff:  
     Panel_Settings := TKMPanel.Create(aParent, TB_PAD, 44, TB_WIDTH, 412);
       TopPos := 15;
  -    CheckBox_Settings_Autosave := TKMCheckBox.Create(Panel_Settings,PAD,TopPos,WID,20,gResTexts[TX_MENU_OPTIONS_AUTOSAVE],fnt_Metal);
  -    CheckBox_Settings_Autosave.OnClick := Menu_Settings_Change;
  +    CheckBox_Autosave := TKMCheckBox.Create(Panel_Settings,PAD,TopPos,WID,20,gResTexts[TX_MENU_OPTIONS_AUTOSAVE],fnt_Metal);
  +    CheckBox_Autosave.OnClick := Menu_Settings_Change;
       Inc(TopPos, 25);
  -    CheckBox_Settings_ReplayAutoPause := TKMCheckBox.Create(Panel_Settings,PAD,TopPos,WID,20,gResTexts[TX_GAME_SETTINGS_REPLAY_AUTOPAUSE],fnt_Metal);
  -    CheckBox_Settings_ReplayAutoPause.Hint := gResTexts[TX_GAME_SETTINGS_REPLAY_AUTOPAUSE_HINT];
  -    CheckBox_Settings_ReplayAutoPause.OnClick := Menu_Settings_Change;
  +    CheckBox_ReplayAutopauseAtPTEnd := TKMCheckBox.Create(Panel_Settings,PAD,TopPos,WID,20,gResTexts[TX_GAME_SETTINGS_REPLAY_AUTOPAUSE],fnt_Metal);
  +    CheckBox_ReplayAutopauseAtPTEnd.Hint := gResTexts[TX_GAME_SETTINGS_REPLAY_AUTOPAUSE_HINT];
  +    CheckBox_ReplayAutopauseAtPTEnd.OnClick := Menu_Settings_Change;
       Inc(TopPos, 40);
  -    CheckBox_Settings_ReplaySpecShowBeacons := TKMCheckBox.Create(Panel_Settings,PAD,TopPos,WID,20,gResTexts[TX_GAME_SETTINGS_SHOW_BEACONS],fnt_Metal);
  -    CheckBox_Settings_ReplaySpecShowBeacons.Hint := gResTexts[TX_GAME_SETTINGS_SHOW_BEACONS_HINT];
  -    CheckBox_Settings_ReplaySpecShowBeacons.OnClick := Menu_Settings_Change;
  +    CheckBox_ReplaySpecShowBeacons := TKMCheckBox.Create(Panel_Settings,PAD,TopPos,WID,20,gResTexts[TX_GAME_SETTINGS_SHOW_BEACONS],fnt_Metal);
  +    CheckBox_ReplaySpecShowBeacons.Hint := gResTexts[TX_GAME_SETTINGS_SHOW_BEACONS_HINT];
  +    CheckBox_ReplaySpecShowBeacons.OnClick := Menu_Settings_Change;
       Inc(TopPos, 25);
  -    TrackBar_Settings_Brightness := TKMTrackBar.Create(Panel_Settings,PAD,TopPos,WID,0,20);
  -    TrackBar_Settings_Brightness.Caption := gResTexts[TX_MENU_OPTIONS_BRIGHTNESS];
  -    TrackBar_Settings_Brightness.OnChange := Menu_Settings_Change;
  -    Inc(TopPos, 55);
  -    TrackBar_Settings_ScrollSpeed := TKMTrackBar.Create(Panel_Settings,PAD,TopPos,WID,0,20);
  -    TrackBar_Settings_ScrollSpeed.Caption := gResTexts[TX_MENU_OPTIONS_SCROLL_SPEED];
  -    TrackBar_Settings_ScrollSpeed.OnChange := Menu_Settings_Change;
  -    Inc(TopPos, 55);
  -    TrackBar_Settings_SFX := TKMTrackBar.Create(Panel_Settings,PAD,TopPos,WID,0,20);
  -    TrackBar_Settings_SFX.Caption := gResTexts[TX_MENU_SFX_VOLUME];
  -    TrackBar_Settings_SFX.Hint := gResTexts[TX_MENU_SFX_VOLUME_HINT];
  -    TrackBar_Settings_SFX.OnChange := Menu_Settings_Change;
  -    Inc(TopPos, 55);
  -    TrackBar_Settings_Music := TKMTrackBar.Create(Panel_Settings,PAD,TopPos,WID,0,20);
  -    TrackBar_Settings_Music.Caption := gResTexts[TX_MENU_MUSIC_VOLUME];
  -    TrackBar_Settings_Music.Hint := gResTexts[TX_MENU_MUSIC_VOLUME_HINT];
  -    TrackBar_Settings_Music.OnChange := Menu_Settings_Change;
  -    Inc(TopPos, 55);
  -    CheckBox_Settings_MusicOff := TKMCheckBox.Create(Panel_Settings,PAD,TopPos,WID,20,gResTexts[TX_MENU_OPTIONS_MUSIC_DISABLE_SHORT],fnt_Metal);
  -    CheckBox_Settings_MusicOff.Hint := gResTexts[TX_MENU_OPTIONS_MUSIC_DISABLE_HINT];
  -    CheckBox_Settings_MusicOff.OnClick := Menu_Settings_Change;
  +    TrackBar_Brightness := TKMTrackBar.Create(Panel_Settings,PAD,TopPos,WID,0,20);
  +    TrackBar_Brightness.Caption := gResTexts[TX_MENU_OPTIONS_BRIGHTNESS];
  +    TrackBar_Brightness.OnChange := Menu_Settings_Change;
  +    Inc(TopPos, 55);
  +    TrackBar_ScrollSpeed := TKMTrackBar.Create(Panel_Settings,PAD,TopPos,WID,0,20);
  +    TrackBar_ScrollSpeed.Caption := gResTexts[TX_MENU_OPTIONS_SCROLL_SPEED];
  +    TrackBar_ScrollSpeed.OnChange := Menu_Settings_Change;
  +    Inc(TopPos, 55);
  +    TrackBar_SFX := TKMTrackBar.Create(Panel_Settings,PAD,TopPos,WID,0,20);
  +    TrackBar_SFX.Caption := gResTexts[TX_MENU_SFX_VOLUME];
  +    TrackBar_SFX.Hint := gResTexts[TX_MENU_SFX_VOLUME_HINT];
  +    TrackBar_SFX.OnChange := Menu_Settings_Change;
  +    Inc(TopPos, 55);
  +    TrackBar_Music := TKMTrackBar.Create(Panel_Settings,PAD,TopPos,WID,0,20);
  +    TrackBar_Music.Caption := gResTexts[TX_MENU_MUSIC_VOLUME];
  +    TrackBar_Music.Hint := gResTexts[TX_MENU_MUSIC_VOLUME_HINT];
  +    TrackBar_Music.OnChange := Menu_Settings_Change;
  +    Inc(TopPos, 55);
  +    CheckBox_MusicOff := TKMCheckBox.Create(Panel_Settings,PAD,TopPos,WID,20,gResTexts[TX_MENU_OPTIONS_MUSIC_DISABLE_SHORT],fnt_Metal);
  +    CheckBox_MusicOff.Hint := gResTexts[TX_MENU_OPTIONS_MUSIC_DISABLE_HINT];
  +    CheckBox_MusicOff.OnClick := Menu_Settings_Change;
       Inc(TopPos, 25);
  -    CheckBox_Settings_ShuffleOn := TKMCheckBox.Create(Panel_Settings,PAD,TopPos,WID,20,gResTexts[TX_MENU_OPTIONS_MUSIC_SHUFFLE_SHORT],fnt_Metal);
  -    CheckBox_Settings_ShuffleOn.Hint := gResTexts[TX_MENU_OPTIONS_MUSIC_SHUFFLE_HINT];
  -    CheckBox_Settings_ShuffleOn.OnClick := Menu_Settings_Change;
  +    CheckBox_ShuffleOn := TKMCheckBox.Create(Panel_Settings,PAD,TopPos,WID,20,gResTexts[TX_MENU_OPTIONS_MUSIC_SHUFFLE_SHORT],fnt_Metal);
  +    CheckBox_ShuffleOn.Hint := gResTexts[TX_MENU_OPTIONS_MUSIC_SHUFFLE_HINT];
  +    CheckBox_ShuffleOn.OnClick := Menu_Settings_Change;
   end;
   
   
   procedure TKMGameMenuSettings.UpdateView;
   begin
  -  CheckBox_Settings_ReplayAutoPause.Enabled := (gGame.GameMode = gmReplayMulti) and gGame.IsPeaceTime;
  +  CheckBox_ReplayAutopauseAtPTEnd.Enabled := (gGame.GameMode = gmReplayMulti) and gGame.IsPeaceTime;
   end;
   
   
  
positive.code: 
  procedure TKMGameMenuSettings.SetAutosaveEnabled(aEnabled: Boolean);
  begin
    CheckBox_Settings_Autosave.Enabled := aEnabled;
  end;
  
  
  
negative.code:   if ShuffleToggled then
      gGameApp.MusicLib.ToggleShuffle(gGameApp.GameSettings.ShuffleOn);
  
    TrackBar_Music.Enabled := not CheckBox_MusicOff.Checked;
    CheckBox_ShuffleOn.Enabled := not CheckBox_MusicOff.Checked;
  end;
  
  
  