From: fgsfds Date: Sun, 27 Oct 2019 02:40:22 +0000 (+0300) Subject: how 2 spell X-Git-Url: http://deadsoftware.ru/gitweb?a=commitdiff_plain;h=96f8e6b190e94847ab2527cc07ee8b19589c05fa;p=d2df-sdl.git how 2 spell --- diff --git a/src/game/g_menu.pas b/src/game/g_menu.pas index 72a5c8c..11dd664 100644 --- a/src/game/g_menu.pas +++ b/src/game/g_menu.pas @@ -1873,7 +1873,7 @@ begin with TGUIListBox(menu.GetControl('lsResolution')) do begin - list := sys_GetDispalyModes(gBPP); + list := sys_GetDisplayModes(gBPP); if list <> nil then begin Items := list; diff --git a/src/game/sdl/g_system.pas b/src/game/sdl/g_system.pas index b86a70b..4cb69f9 100644 --- a/src/game/sdl/g_system.pas +++ b/src/game/sdl/g_system.pas @@ -24,7 +24,7 @@ interface 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; @@ -133,7 +133,7 @@ implementation (* ??? *) 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); diff --git a/src/game/sdl2/g_system.pas b/src/game/sdl2/g_system.pas index b7142a8..45a45fd 100644 --- a/src/game/sdl2/g_system.pas +++ b/src/game/sdl2/g_system.pas @@ -24,7 +24,7 @@ interface 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; @@ -167,7 +167,7 @@ implementation 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; diff --git a/src/game/stub/g_system.pas b/src/game/stub/g_system.pas index 4b6201d..abae190 100644 --- a/src/game/stub/g_system.pas +++ b/src/game/stub/g_system.pas @@ -24,7 +24,7 @@ interface 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; @@ -63,7 +63,7 @@ implementation begin end; - function sys_GetDispalyModes (bpp: Integer): SSArray; + function sys_GetDisplayModes (bpp: Integer): SSArray; begin result := nil end;