X-Git-Url: http://deadsoftware.ru/gitweb?p=d2df-sdl.git;a=blobdiff_plain;f=src%2Fgame%2Fg_window.pas;h=f711ab2149a49a1ca504bb506c1c84c32ae44eef;hp=29f79e480c403d6e6779e61f2a87f72a71fed84d;hb=cd0837a23eed9896737537add1a93d878a227840;hpb=bd49d7f62886832d9d3b4bf0169269315fe7262f diff --git a/src/game/g_window.pas b/src/game/g_window.pas index 29f79e4..f711ab2 100644 --- a/src/game/g_window.pas +++ b/src/game/g_window.pas @@ -44,8 +44,10 @@ var wLoadingProgress: Boolean = False; wLoadingQuit: Boolean = False; {wWinPause: Byte = 0;} +{$IFNDEF WINDOWS} ticksOverflow: Int64 = -1; lastTicks: Uint32 = 0; // to detect overflow +{$ENDIF} const // TODO: move this to a separate file