X-Git-Url: https://deadsoftware.ru/gitweb?a=blobdiff_plain;f=src%2Fgame%2Fg_main.pas;h=45432615c04762ff01a513553de4f9b7822043af;hb=7f50d798c193f8a57a3c736c81615ef932915e9a;hp=6a6df2af907e9a4c3f4d83943bb6ac24013ecc87;hpb=4171d8dd0b8d733da27c584616e431811bf0fdcf;p=d2df-sdl.git diff --git a/src/game/g_main.pas b/src/game/g_main.pas index 6a6df2a..4543261 100644 --- a/src/game/g_main.pas +++ b/src/game/g_main.pas @@ -53,10 +53,8 @@ var charbuff: packed array [0..15] of AnsiChar; procedure Main(); -var - sdlflags: LongWord; -{$IF not DEFINED(HEADLESS) and DEFINED(ENABLE_HOLMES)} - flexloaded: Boolean; +{$IFDEF ENABLE_HOLMES} + var flexloaded: Boolean; {$ENDIF} begin e_InitWritelnDriver(); @@ -206,12 +204,12 @@ begin e_WriteLog('Releasing engine', TMsgType.Notify); e_ReleaseEngine(); - e_WriteLog('Releasing Input', TMsgType.Notify); + e_WriteLog('Releasing input', TMsgType.Notify); e_ReleaseInput(); if not gNoSound then begin - e_WriteLog('Releasing FMOD', TMsgType.Notify); + e_WriteLog('Releasing sound', TMsgType.Notify); e_ReleaseSoundSystem(); end; end;