X-Git-Url: http://deadsoftware.ru/gitweb?a=blobdiff_plain;f=src%2Fshared%2Fidpool.pas;h=c9bd791fe9f08f2f04cb60a920e3a797e0d86fa7;hb=3d2ad22a4edfeab661196c15d6b57fa3b3eca216;hp=4722be8838635794e913348909d334ba72befdcc;hpb=31d174a428ef1235e1708b0738804b47e006cf5c;p=d2df-sdl.git diff --git a/src/shared/idpool.pas b/src/shared/idpool.pas index 4722be8..c9bd791 100644 --- a/src/shared/idpool.pas +++ b/src/shared/idpool.pas @@ -1,4 +1,4 @@ -(* 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 @@ -19,14 +19,16 @@ unit idpool; interface +{$IFDEF USE_MEMPOOL} uses mempool; +{$ENDIF} // ////////////////////////////////////////////////////////////////////////// // type //TODO: implement getting n sequential ids - TIdPool = class(TPoolObject) + TIdPool = class{$IFDEF USE_MEMPOOL}(TPoolObject){$ENDIF} public const InvalidId = $ffffffff;