index 44651438e93ec006d360c5f67598ab26e3199a67..c3bfdac266dcd9090cf9df3b418b988364357a22 100644 (file)
-(* 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
interface
uses
- mempool,
+ {$IFDEF USE_MEMPOOL}mempool,{$ENDIF}
MAPDEF, g_textures, g_basic, g_weapons, e_graphics, utils;
const
Array [A_STAND..A_LAST] of
Array [TDirection.D_LEFT..TDirection.D_RIGHT] of Array of TDFPoint;
- TPlayerModel = class(TPoolObject)
+ TPlayerModel = class{$IFDEF USE_MEMPOOL}(TPoolObject){$ENDIF}
private
FName: String;
FDirection: TDirection;
@@ -140,8 +140,13 @@ function g_PlayerModel_GetGibs(ModelName: String; var Gibs: TGibsArray): Boolea
implementation
uses
+{$IFDEF USE_NANOGL}
+ nanoGL,
+{$ELSE}
+ GL, GLExt,
+{$ENDIF}
g_main, g_sound, g_console, SysUtils, g_player, CONFIG,
- GL, GLExt, e_sound, g_options, g_map, Math, e_log, wadreader;
+ e_sound, g_options, g_map, Math, e_log, wadreader;
type
TPlayerModelInfo = record