X-Git-Url: http://deadsoftware.ru/gitweb?a=blobdiff_plain;f=src%2Fgame%2Fg_gfx.pas;h=0be98e38498e8d47720d62c152186c5246530dd6;hb=7ea33f434a86160ce9223f5946b5e3407026c76f;hp=224faeed37e415d8c1be49f2af769207f83f12f7;hpb=6cdd36d2fb73f13be7b6ea1870a8b3b0817b37f1;p=d2df-sdl.git diff --git a/src/game/g_gfx.pas b/src/game/g_gfx.pas index 224faee..0be98e3 100644 --- a/src/game/g_gfx.pas +++ b/src/game/g_gfx.pas @@ -19,8 +19,7 @@ unit g_gfx; interface -uses - e_log, g_textures; +uses e_log; const BLOOD_NORMAL = 0; @@ -148,7 +147,7 @@ function awmIsSetHolmes (x, y: Integer): Boolean; inline; implementation uses - {$IFNDEF HEADLESS} + {$IFDEF ENABLE_RENDER} r_render, {$ENDIF} g_map, g_panel, Math, utils, @@ -176,7 +175,7 @@ var procedure g_GFX_QueueEffect (AnimType, X, Y: Integer); begin - {$IFNDEF HEADLESS} + {$IFDEF ENABLE_RENDER} r_Render_QueueEffect(AnimType, X, Y) {$ENDIF} end;