DEADSOFTWARE

debug: write build arch to log
[d2df-sdl.git] / src / shared / CONFIG.pas
index 3dfd736f4a6e1f492090993a7e4a11c96d63053c..139529084d4f6d675c0d4ffaf98b279673f526ff 100644 (file)
@@ -1,9 +1,8 @@
-(* Copyright (C)  DooM 2D:Forever Developers
+(* 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.
+ * the Free Software Foundation, version 3 of the License ONLY.
  *
  * This program is distributed in the hope that it will be useful,
  * but WITHOUT ANY WARRANTY; without even the implied warranty of
 {$INCLUDE a_modes.inc}
 unit CONFIG;
 
-{
------------------------------------
-CONFIG.PAS ÂÅÐÑÈß ÎÒ 24.09.06
------------------------------------
-}
-
 interface
 
+{$IFDEF USE_MEMPOOL}
+uses
+  mempool;
+{$ENDIF}
+
 type
   TParam = record
    Param: ShortString;
@@ -31,7 +29,7 @@ type
    Section: Word;
   end;
 
-  TConfig = class(TObject)
+  TConfig = class{$IFDEF USE_MEMPOOL}(TPoolObject){$ENDIF}
    private
     FParams: array of TParam;
     FSections: array of ShortString;
@@ -58,7 +56,7 @@ type
 implementation
 
 uses
-  SysUtils, BinEditor;
+  SysUtils, utils;
 
 { TConfig }