DEADSOFTWARE

Cosmetic: DooM 2D:Forever -> Doom 2D: Forever
[d2df-sdl.git] / src / shared / CONFIG.pas
index 8420d0badd01b087e39adcd1632bb4fffae98818..44866f41e1cc0195ba10cd98fe6735128d0048c3 100644 (file)
@@ -1,13 +1,28 @@
+(* Copyright (C)  Doom 2D: Forever Developers
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program.  If not, see <http://www.gnu.org/licenses/>.
+ *)
+{$INCLUDE a_modes.inc}
 unit CONFIG;
 
-{
------------------------------------
-CONFIG.PAS ÂÅÐÑÈß ÎÒ 24.09.06
------------------------------------
-}
-
 interface
 
+{$IFDEF USE_MEMPOOL}
+uses
+  mempool;
+{$ENDIF}
+
 type
   TParam = record
    Param: ShortString;
@@ -15,7 +30,7 @@ type
    Section: Word;
   end;
 
-  TConfig = class(TObject)
+  TConfig = class{$IFDEF USE_MEMPOOL}(TPoolObject){$ENDIF}
    private
     FParams: array of TParam;
     FSections: array of ShortString;
@@ -42,7 +57,7 @@ type
 implementation
 
 uses
-  SysUtils, BinEditor;
+  SysUtils, utils;
 
 { TConfig }