X-Git-Url: https://deadsoftware.ru/gitweb?a=blobdiff_plain;ds=sidebyside;f=src%2Fgame%2Fg_window.pas;h=7d9ec78b5baffe5a78bb694e1c15008af40eeb53;hb=5aa51582e429a852142d419b1e3c23d93d31bc0b;hp=e3226eae84f4e6446f0474434e28d8b81782150c;hpb=ef5f8a60d55c94c5c0e0b4f556867dc0ad9c2c44;p=d2df-sdl.git diff --git a/src/game/g_window.pas b/src/game/g_window.pas index e3226ea..7d9ec78 100644 --- a/src/game/g_window.pas +++ b/src/game/g_window.pas @@ -708,8 +708,19 @@ begin begin if ParamStr(idx) = '--opengl-dump-exts' then gwin_dump_extensions := true; if ParamStr(idx) = '--twinkletwinkle' then gwin_k8_enable_light_experiments := true; + if ParamStr(idx) = '--jah' then g_profile_history_size := 100; + if ParamStr(idx) = '--tree-draw' then gdbg_map_use_tree_draw := true; + if ParamStr(idx) = '--grid-draw' then gdbg_map_use_tree_draw := false; + if ParamStr(idx) = '--tree-coldet' then gdbg_map_use_tree_coldet := true; + if ParamStr(idx) = '--grid-coldet' then gdbg_map_use_tree_coldet := false; end; + if gdbg_map_use_tree_draw then e_WriteLog('using TREE renderer', MSG_NOTIFY); + if not gdbg_map_use_tree_draw then e_WriteLog('using GRID renderer', MSG_NOTIFY); + + if gdbg_map_use_tree_coldet then e_WriteLog('using TREE coldet', MSG_NOTIFY); + if not gdbg_map_use_tree_coldet then e_WriteLog('using GRID coldet', MSG_NOTIFY); + e_WriteLog('Initializing OpenGL', MSG_NOTIFY); InitOpenGL(gVSync);