DEADSOFTWARE

mempool is optional now
[d2df-sdl.git] / src / game / g_textures.pas
index 6f239e4df78266d2ca749f9588727224a1004b7f..f129b9e219d9ff88a224951a8bbddba784fff022 100644 (file)
@@ -20,7 +20,7 @@ interface
 
 uses
   SysUtils, Classes,
-  mempool,
+  {$IFDEF USE_MEMPOOL}mempool,{$ENDIF}
   e_graphics, MAPDEF, ImagingTypes, Imaging, ImagingUtility;
 
 Type
@@ -37,7 +37,7 @@ Type
 
   TLevelTextureArray = Array of TLevelTexture;
 
-  TAnimation = class(TPoolObject)
+  TAnimation = class{$IFDEF USE_MEMPOOL}(TPoolObject){$ENDIF}
   private
     ID:            DWORD;
     FAlpha:        Byte;