summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 8409c85)
raw | patch | inline | side by side (parent: 8409c85)
author | Stas'M <x86corez@gmail.com> | |
Sat, 25 Aug 2018 15:29:55 +0000 (18:29 +0300) | ||
committer | Stas'M <x86corez@gmail.com> | |
Sat, 25 Aug 2018 15:30:01 +0000 (18:30 +0300) |
src/game/g_main.pas | patch | blob | history | |
src/game/g_window.pas | patch | blob | history |
diff --git a/src/game/g_main.pas b/src/game/g_main.pas
index bb394f1d1b94761447c373d1b45335462118c574..c789caf7785c74a09a79e9e691f62b6277898551 100644 (file)
--- a/src/game/g_main.pas
+++ b/src/game/g_main.pas
procedure Main();
var
sdlflags: LongWord;
-{$IFNDEF HEADLESS}
+{$IF not DEFINED(HEADLESS) and DEFINED(ENABLE_HOLMES)}
flexloaded: Boolean;
{$ENDIF}
begin
diff --git a/src/game/g_window.pas b/src/game/g_window.pas
index b83cdad7a0a97f93a48d80f4bd0f2d95b091c13c..c3f6871061252e87cb54f557d85f730b15530af5 100644 (file)
--- a/src/game/g_window.pas
+++ b/src/game/g_window.pas
{$ENDIF}
arg: AnsiString;
mdfo: TStream;
+ {$IFDEF ENABLE_HOLMES}
itmp: Integer;
valres: Word;
+ {$ENDIF}
begin
{$IFDEF HEADLESS}
e_NoGraphics := true;