summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: e9689e8)
raw | patch | inline | side by side (parent: e9689e8)
author | DeaDDooMER <deaddoomer@deadsoftware.ru> | |
Sat, 19 Jun 2021 14:44:54 +0000 (17:44 +0300) | ||
committer | DeaDDooMER <deaddoomer@deadsoftware.ru> | |
Tue, 29 Jun 2021 09:51:12 +0000 (12:51 +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 1e76da9f5a1f041b38e5920ca0dbac9c38300bd3..cf27ff71078ad20a34d36494031553f6bb5b37d9 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 117215d8e5eff50a9f64783ed344997f2c27a040..bb8fd7a2d1caa06b40ccdc50b5565687e074da9f 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 (): PChar;
index 5f1b7f32448eb2c866d9916a8369af29d5beee4e..85b8b6d089ac4b931a8928957e32a8d1aea96f28 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 (): PChar;
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;