X-Git-Url: https://deadsoftware.ru/gitweb?a=blobdiff_plain;f=src%2Fgame%2Fg_window.pas;h=7d9ec78b5baffe5a78bb694e1c15008af40eeb53;hb=5aa51582e429a852142d419b1e3c23d93d31bc0b;hp=450afde4334c352e216dab131aaf1ae687d647b3;hpb=4af2b6eac9b465e95af873343c21d244d1e74a75;p=d2df-sdl.git diff --git a/src/game/g_window.pas b/src/game/g_window.pas index 450afde..7d9ec78 100644 --- a/src/game/g_window.pas +++ b/src/game/g_window.pas @@ -709,8 +709,18 @@ 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);