X-Git-Url: http://deadsoftware.ru/gitweb?a=blobdiff_plain;f=src%2Fgame%2Fg_gfx.pas;h=0be98e38498e8d47720d62c152186c5246530dd6;hb=7ea33f434a86160ce9223f5946b5e3407026c76f;hp=d0bf54b182c1657158b93f0f0c469d74222d9cfe;hpb=965a25fec3fb93ced92ca5e4060dfa29141fa32b;p=d2df-sdl.git diff --git a/src/game/g_gfx.pas b/src/game/g_gfx.pas index d0bf54b..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; @@ -147,13 +146,13 @@ function awmIsSetHolmes (x, y: Integer): Boolean; inline; implementation -uses - {$IFNDEF HEADLESS} - r_render, - {$ENDIF} - g_map, g_panel, g_basic, Math, - g_options, g_console, SysUtils, g_triggers, MAPDEF, - g_game, g_language, g_net, utils, xprofiler; + uses + {$IFDEF ENABLE_RENDER} + r_render, + {$ENDIF} + g_map, g_panel, Math, utils, + g_options, SysUtils, MAPDEF + ; const @@ -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;