DEADSOFTWARE

hashtable cosmetic updates
[d2df-sdl.git] / src / shared / CONFIG.pas
index 2d1a5f2ac1cacd1f2a666a96fb009fe804656d69..7ecc51e70fb180944e2dd2c36b48ce917bb3f1a3 100644 (file)
@@ -13,7 +13,7 @@
  * You should have received a copy of the GNU General Public License
  * along with this program.  If not, see <http://www.gnu.org/licenses/>.
  *)
-{$MODE DELPHI}
+{$INCLUDE a_modes.inc}
 unit CONFIG;
 
 {
@@ -24,6 +24,9 @@ CONFIG.PAS 
 
 interface
 
+uses
+  mempool;
+
 type
   TParam = record
    Param: ShortString;
@@ -31,7 +34,7 @@ type
    Section: Word;
   end;
 
-  TConfig = class(TObject)
+  TConfig = class(TPoolObject)
    private
     FParams: array of TParam;
     FSections: array of ShortString;
@@ -58,7 +61,7 @@ type
 implementation
 
 uses
-  SysUtils, BinEditor;
+  SysUtils, utils;
 
 { TConfig }