X-Git-Url: https://deadsoftware.ru/gitweb?a=blobdiff_plain;f=src%2Fgame%2Fstub%2Fg_system.pas;h=a1e3473e9b613c0b4b624957ae78da2b47840e59;hb=c8d05082e92b7c2c5b722e2b205e96a15a32eec2;hp=9d14f24fcaa45a3740b1f74a551b418bcd236c62;hpb=e4186a2f4f35eec5321707bdc4eb2cbc94edccd0;p=d2df-sdl.git diff --git a/src/game/stub/g_system.pas b/src/game/stub/g_system.pas index 9d14f24..a1e3473 100644 --- a/src/game/stub/g_system.pas +++ b/src/game/stub/g_system.pas @@ -19,10 +19,6 @@ interface uses Utils; - (* --- Utils --- *) - function sys_GetTicks (): Int64; - procedure sys_Delay (ms: Integer); - (* --- Graphics --- *) function sys_GetDisplayModes (bpp: Integer): SSArray; function sys_SetDisplayMode (w, h, bpp: Integer; fullscreen, maximized: Boolean): Boolean; @@ -45,18 +41,6 @@ implementation uses SysUtils; - (* --------- Utils --------- *) - - function sys_GetTicks (): Int64; - begin - Result := Round(TimeStampToMSecs(DateTimeToTimeStamp(Now()))) - end; - - procedure sys_Delay (ms: Integer); - begin - Sleep(ms) - end; - (* --------- Graphics --------- *) procedure sys_Repaint;