X-Git-Url: http://deadsoftware.ru/gitweb?a=blobdiff_plain;f=src%2Fgame%2Fstub%2Fg_system.pas;h=6202cb43dc1c95636fd242e62da2ea71c6feb0bb;hb=83221a8d1b958465bd68e3c79575f4a94c8ffa42;hp=ab42c12025de79afdd2f3921bc38f6b96f93e1a4;hpb=e9689e89adc11f1179ee991bffa4d2be54f6e068;p=d2df-sdl.git diff --git a/src/game/stub/g_system.pas b/src/game/stub/g_system.pas index ab42c12..6202cb4 100644 --- a/src/game/stub/g_system.pas +++ b/src/game/stub/g_system.pas @@ -19,9 +19,6 @@ interface uses Utils; - (* --- Utils --- *) - procedure sys_Delay (ms: Integer); - (* --- Graphics --- *) function sys_GetDisplayModes (bpp: Integer): SSArray; function sys_SetDisplayMode (w, h, bpp: Integer; fullscreen, maximized: Boolean): Boolean; @@ -32,6 +29,11 @@ interface function sys_HandleInput (): Boolean; procedure sys_RequestQuit; +{$IFDEF ENABLE_TOUCH} + function sys_IsTextInputActive (): Boolean; + procedure sys_ShowKeyboard (yes: Boolean); +{$ENDIF} + (* --- Init --- *) procedure sys_Init; procedure sys_Final; @@ -44,13 +46,6 @@ implementation uses SysUtils; - (* --------- Utils --------- *) - - procedure sys_Delay (ms: Integer); - begin - Sleep(ms) - end; - (* --------- Graphics --------- *) procedure sys_Repaint; @@ -73,6 +68,17 @@ implementation (* --------- Input --------- *) +{$IFDEF ENABLE_TOUCH} + function sys_IsTextInputActive (): Boolean; + begin + Result := false + end; + + procedure sys_ShowKeyboard (yes: Boolean); + begin + end; +{$ENDIF} + function sys_HandleInput (): Boolean; begin result := false