diff --git a/src/game/g_holmes.pas b/src/game/g_holmes.pas
index c173bd00312e9686a7e4cb9df0165251e0de4ce4..948c3ff36a7e0f3158a4a2094106b9c9a7610b59 100644 (file)
--- a/src/game/g_holmes.pas
+++ b/src/game/g_holmes.pas
uses
mempool, geom,
e_log, e_input,
uses
mempool, geom,
e_log, e_input,
- g_textures, g_basic, e_graphics, g_phys, g_grid, g_player, g_monsters,
- g_window, g_map, g_triggers, g_items, g_game, g_panel, g_console, g_gfx,
+ g_textures, g_basic, r_graphics, g_phys, g_grid, g_player, g_monsters,
+ g_map, g_triggers, g_items, g_game, g_panel, g_console, g_gfx,
xprofiler,
sdlcarcass,
fui_common, fui_events, fui_ctls,
xprofiler,
sdlcarcass,
fui_common, fui_events, fui_ctls,
uses
{$INCLUDE ../nogl/noGLuses.inc}
uses
{$INCLUDE ../nogl/noGLuses.inc}
- {rttiobj,} typinfo, e_texture, e_res,
+ {$IFDEF ENABLE_GIBS}
+ g_gibs,
+ {$ENDIF}
+ {rttiobj,} typinfo, e_res,
SysUtils, Classes, SDL2,
SysUtils, Classes, SDL2,
- MAPDEF, g_main, g_options,
+ MAPDEF, g_options,
utils, hashtable, xparser;
utils, hashtable, xparser;
for f := 0 to High(gTriggers) do drawTrigger(gTriggers[f]);
end;
for f := 0 to High(gTriggers) do drawTrigger(gTriggers[f]);
end;
+{$IFDEF ENABLE_GIBS}
procedure drawGibsBoxes ();
var
f: Integer;
procedure drawGibsBoxes ();
var
f: Integer;
end;
end;
end;
end;
end;
end;
+{$ENDIF}
var
mon: TMonster;
var
mon: TMonster;
if showTraceBox then drawTraceBox();
if showTraceBox then drawTraceBox();
- //drawGibsBoxes();
-
+ {$IFDEF ENABLE_GIBS}
+ // drawGibsBoxes();
+ {$ENDIF}
//pan := g_Map_traceToNearest(16, 608, 16, 8, (GridTagObstacle or GridTagLiquid), @ex, @ey);
(*
//pan := g_Map_traceToNearest(16, 608, 16, 8, (GridTagObstacle or GridTagLiquid), @ex, @ey);
(*