diff --git a/src/shared/CONFIG.pas b/src/shared/CONFIG.pas
index 155ebacabbeee0357f7e6fbd21225d2541c014f8..44866f41e1cc0195ba10cd98fe6735128d0048c3 100644 (file)
--- a/src/shared/CONFIG.pas
+++ b/src/shared/CONFIG.pas
-(* 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
*
* 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
{$INCLUDE a_modes.inc}
unit CONFIG;
{$INCLUDE a_modes.inc}
unit CONFIG;
-{
------------------------------------
-CONFIG.PAS ÂÅÐÑÈß ÎÒ 24.09.06
------------------------------------
-}
-
interface
interface
+{$IFDEF USE_MEMPOOL}
uses
mempool;
uses
mempool;
+{$ENDIF}
type
TParam = record
type
TParam = record
Section: Word;
end;
Section: Word;
end;
- TConfig = class(TPoolObject)
+ TConfig = class{$IFDEF USE_MEMPOOL}(TPoolObject){$ENDIF}
private
FParams: array of TParam;
FSections: array of ShortString;
private
FParams: array of TParam;
FSections: array of ShortString;
implementation
uses
implementation
uses
- SysUtils, BinEditor;
+ SysUtils, utils;
{ TConfig }
{ TConfig }