summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: e962cbf)
raw | patch | inline | side by side (parent: e962cbf)
author | DeaDDooMER <deaddoomer@deadsoftware.ru> | |
Sat, 19 Jun 2021 14:44:54 +0000 (17:44 +0300) | ||
committer | DeaDDooMER <deaddoomer@deadsoftware.ru> | |
Fri, 9 Jun 2023 07:49:54 +0000 (10:49 +0300) |
src/game/Doom2DF.lpr | patch | blob | history | |
src/game/sdl/g_system.pas | patch | blob | history | |
src/game/sdl2/g_system.pas | patch | blob | history | |
src/game/stub/g_system.pas | patch | blob | history |
diff --git a/src/game/Doom2DF.lpr b/src/game/Doom2DF.lpr
index dd58577d99041fc2e5d1a69b7e39dc9b802458aa..37c02e4c5fe17b77fe32e826e5f66a3cfb183a33 100644 (file)
--- a/src/game/Doom2DF.lpr
+++ b/src/game/Doom2DF.lpr
Frame := Time
end
else
- sys_Delay(1);
+ Sleep(1);
e_SoundUpdate();
end;
index c228aee8d77952d27bf1cf618f6f8fac1bd0b0e9..0067bbca54da5798197c71d9c6a709906e9f2090 100644 (file)
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;
JoystickHatState: array [0..e_MaxJoys - 1, 0..e_MaxJoyHats - 1, HAT_LEFT..HAT_DOWN] of Boolean;
JoystickZeroAxes: array [0..e_MaxJoys - 1, 0..e_MaxJoyAxes - 1] of Integer;
- (* --------- Utils --------- *)
-
- procedure sys_Delay (ms: Integer);
- begin
- SDL_Delay(ms)
- end;
-
(* --------- Graphics --------- *)
function GetDriver (): AnsiString;
index ca33411b4fd81fe433f7dbbab4e5cc3513834a49..89127adcc894bec838c4ddbbd63ab0153d8bbb37 100644 (file)
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;
JoystickHatState: array [0..e_MaxJoys - 1, 0..e_MaxJoyHats - 1, HAT_LEFT..HAT_DOWN] of Boolean;
JoystickZeroAxes: array [0..e_MaxJoys - 1, 0..e_MaxJoyAxes - 1] of Integer;
- (* --------- Utils --------- *)
-
- procedure sys_Delay (ms: Integer);
- begin
- SDL_Delay(ms)
- end;
-
(* --------- Graphics --------- *)
function GetTitle (): AnsiString;
index ab42c12025de79afdd2f3921bc38f6b96f93e1a4..a1e3473e9b613c0b4b624957ae78da2b47840e59 100644 (file)
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;
uses SysUtils;
- (* --------- Utils --------- *)
-
- procedure sys_Delay (ms: Integer);
- begin
- Sleep(ms)
- end;
-
(* --------- Graphics --------- *)
procedure sys_Repaint;