summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 7ab10b2)
raw | patch | inline | side by side (parent: 7ab10b2)
author | fgsfds <pvt.fgsfds@gmail.com> | |
Sun, 27 Oct 2019 02:40:22 +0000 (05:40 +0300) | ||
committer | fgsfds <pvt.fgsfds@gmail.com> | |
Sun, 27 Oct 2019 02:40:22 +0000 (05:40 +0300) |
src/game/g_menu.pas | 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/g_menu.pas b/src/game/g_menu.pas
index 72a5c8ceeb16317cfbaf60d737cd667dcb8726d1..11dd664dd078e80d4103dc8bed63e66d190ade31 100644 (file)
--- a/src/game/g_menu.pas
+++ b/src/game/g_menu.pas
with TGUIListBox(menu.GetControl('lsResolution')) do
begin
- list := sys_GetDispalyModes(gBPP);
+ list := sys_GetDisplayModes(gBPP);
if list <> nil then
begin
Items := list;
index b86a70b0941e5b187b454d872abeb29b6eff3bfe..4cb69f90349c26ac449f029ded27ff3e30303747 100644 (file)
procedure sys_Delay (ms: Integer);
(* --- Graphics --- *)
- function sys_GetDispalyModes (bpp: Integer): SSArray;
+ function sys_GetDisplayModes (bpp: Integer): SSArray;
function sys_SetDisplayMode (w, h, bpp: Integer; fullscreen: Boolean): Boolean;
procedure sys_EnableVSync (yes: Boolean);
procedure sys_Repaint;
(* ??? *)
end;
- function sys_GetDispalyModes (bpp: Integer): SSArray;
+ function sys_GetDisplayModes (bpp: Integer): SSArray;
var m: PPSDL_Rect; f: TSDL_PixelFormat; i, count: Integer;
begin
SetLength(result, 0);
index b7142a85bc03504b8cda40fc8c380e3a5af21d50..45a45fd54a3c3bf9c6dfaeb29d25f6d5494a5e61 100644 (file)
procedure sys_Delay (ms: Integer);
(* --- Graphics --- *)
- function sys_GetDispalyModes (bpp: Integer): SSArray;
+ function sys_GetDisplayModes (bpp: Integer): SSArray;
function sys_SetDisplayMode (w, h, bpp: Integer; fullscreen: Boolean): Boolean;
procedure sys_EnableVSync (yes: Boolean);
procedure sys_Repaint;
SDL_GL_SetSwapInterval(0)
end;
- function sys_GetDispalyModes (bpp: Integer): SSArray;
+ function sys_GetDisplayModes (bpp: Integer): SSArray;
var i, count, num, pw, ph: Integer; m: TSDL_DisplayMode;
begin
result := nil;
index 4b6201d7c649424198b718a8449b6a15a70e10fb..abae19018304c4f3ea470920d987319b0212fcab 100644 (file)
procedure sys_Delay (ms: Integer);
(* --- Graphics --- *)
- function sys_GetDispalyModes (bpp: Integer): SSArray;
+ function sys_GetDisplayModes (bpp: Integer): SSArray;
function sys_SetDisplayMode (w, h, bpp: Integer; fullscreen: Boolean): Boolean;
procedure sys_EnableVSync (yes: Boolean);
procedure sys_Repaint;
begin
end;
- function sys_GetDispalyModes (bpp: Integer): SSArray;
+ function sys_GetDisplayModes (bpp: Integer): SSArray;
begin
result := nil
end;