X-Git-Url: http://deadsoftware.ru/gitweb?a=blobdiff_plain;ds=sidebyside;f=src%2Feditor%2Ff_options.pas;h=ebb38cb3a6dae85cb4194bb7c5e29b46fb060676;hb=8cf7d78247066943043d0b95f4b35d45dfebab71;hp=fe05e20f2e5a964b59a9d6b649a34c5079f0aa46;hpb=3c82d66d2cc9d0ea466a0129c1455b2fa194c810;p=d2df-editor.git diff --git a/src/editor/f_options.pas b/src/editor/f_options.pas index fe05e20..ebb38cb 100644 --- a/src/editor/f_options.pas +++ b/src/editor/f_options.pas @@ -10,16 +10,11 @@ uses ExtCtrls, ComCtrls, ActnList, Spin, EditBtn, Registry, Math, Types; type - - { TOptionsForm } - TOptionsForm = class (TForm) bOK: TButton; bCancel: TButton; cbAllowExit: TCheckBox; - cbBackup: TCheckBox; cbCheckerboard: TCheckBox; - cbCompress: TCheckBox; cbLanguage: TComboBox; cbMapOnce: TCheckBox; cbMonstersDM: TCheckBox; @@ -77,7 +72,7 @@ procedure RegisterFileType(ext: String; FileName: String); implementation uses - LazFileUtils, f_main, StdConvs, CONFIG, g_language, g_resources, g_options; + LazFileUtils, f_main, StdConvs, CONFIG, g_language, g_options; {$R *.lfm} @@ -136,8 +131,6 @@ begin end; // Files Tab: - cbCompress.Checked := Compress; - cbBackup.Checked := Backup; SpinEdit3.Value := RecentCount; // Testing Tab: @@ -194,8 +187,6 @@ begin // Files tab: re := SpinEdit3.Value; - Compress := cbCompress.Checked; - Backup := cbBackup.Checked; // Testing tab: TestD2DExe := ExeEdit.Text; @@ -240,8 +231,6 @@ begin config.WriteStr('Editor', 'Language', gLanguage); config.WriteInt('Editor', 'RecentCount', re); - config.WriteBool('Editor', 'Compress', Compress); - config.WriteBool('Editor', 'Backup', Backup); config.WriteStr('TestRun', 'GameMode', TestGameMode); config.WriteStr('TestRun', 'LimTime', TestLimTime);