summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 6a0ee27)
raw | patch | inline | side by side (parent: 6a0ee27)
author | Dmitry D. Chernov <blackdoomer@yandex.ru> | |
Thu, 23 Mar 2023 17:19:14 +0000 (03:19 +1000) | ||
committer | Dmitry D. Chernov <blackdoomer@yandex.ru> | |
Thu, 23 Mar 2023 17:19:14 +0000 (03:19 +1000) |
src/game/g_options.pas | patch | blob | history | |
src/game/g_window.pas | patch | blob | history |
diff --git a/src/game/g_options.pas b/src/game/g_options.pas
index d154de12aeae754b74799e77ed84b0ea8181e862..5bfedc9d42b8f79e6c351c7ca8e686fd61aa403a 100644 (file)
--- a/src/game/g_options.pas
+++ b/src/game/g_options.pas
gScreenHeight := 480;
gWinSizeX := 640;
gWinSizeY := 480;
- //gBPP := SDL_BITSPERPIXEL(dispaly.format);
+ //gBPP := SDL_BITSPERPIXEL(display.format);
gBPP := 32;
{$IFDEF ANDROID}
gFullScreen := True; (* rotation not allowed? *)
diff --git a/src/game/g_window.pas b/src/game/g_window.pas
index d3850c8e666e10422bfc13eeeb1a587be1c76b0c..0649801b4c86fe66fc1fb5e3ec59dd5e59e35e09 100644 (file)
--- a/src/game/g_window.pas
+++ b/src/game/g_window.pas
procedure ProcessLoading (forceUpdate: Boolean = False);
var
- gwin_dump_extensions: Boolean = false;
gwin_has_stencil: Boolean = false;
gwin_k8_enable_light_experiments: Boolean = false;
g_dbg_aimline_on: Boolean = false;
begin
arg := ParamStr(idx);
Inc(idx);
- if arg = '--opengl-dump-exts' then gwin_dump_extensions := true;
- //if arg = '--twinkletwinkle' then gwin_k8_enable_light_experiments := true;
if arg = '--jah' then g_profile_history_size := 100;
if arg = '--no-particles' then gpart_dbg_enabled := false;
if arg = '--no-los' then gmon_dbg_los_enabled := false;
if (glLegacyNPOT) then e_logWriteln('NPOT texture emulation: enabled')
else e_logWriteln('NPOT texture emulation: disabled');
end;
- gwin_dump_extensions := false;
Init;
Time_Old := sys_GetTicks();