7 const string SYSTEM_CVAR_DEBUG = "scmenu_debug";
8 const string SYSTEM_CVAR_DEBUG_REF = "scmenu_debug_ref";
9 const string SYSTEM_CVAR_DEBUG_SOUND = "scmenu_debug_sound";
10 const string SYSTEM_CVAR_DEBUG_AREA = "scmenu_debug_area";
11 const string SYSTEM_CVAR_DEBUG_STEP = "scmenu_debug_step";
13 // 0 for no info, 1 for local position, 2 for absolute position
14 const string SYSTEM_CVAR_DEBUG_MOUSE = "scmenu_debug_mouse";
16 // 0 for no output, 1 for medium output, 2 for extensive output
17 const string SYSTEM_CVAR_DEBUG_STRUCTURE = "scmenu_debug_structure";
19 // NOTE: set it to 1 to make it display the data for one frame, set it to 2 to display it always
20 const string SYSTEM_CVAR_DEBUG_RUNFLAG = "scmenu_debug_runflag";
21 const string SYSTEM_CVAR_DEBUG_PROCESS = "scmenu_debug_process";
22 const string SYSTEM_CVAR_DEBUG_MGFX = "scmenu_debug_mgfx";
24 // parser filter, possible values: info high low
25 const string SYSTEM_CVAR_DEBUG_PARSER = "scmenu_debug_parser";
27 // process_filter, possible values: runflag update draw mouse key
28 const string SYSTEM_CVAR_DEBUG_PROCESS_FILTER = "scmenu_debug_process_filter";
31 const string SYSTEM_CVAR_DEBUG_DUMP_NAMES = "scmenu_dumpnames";
33 const float SYSTEM_CVAR_DEBUG_DEFAULT = 0;
34 const float SYSTEM_CVAR_DEBUG_REF_DEFAULT = 0;
35 const float SYSTEM_CVAR_DEBUG_RUNFLAG_DEFAULT = 0;
36 const float SYSTEM_CVAR_DEBUG_PROCESS_DEFAULT = 0;
37 const float SYSTEM_CVAR_DEBUG_MGFX_DEFAULT = 0;
38 const float SYSTEM_CVAR_DEBUG_STRUCTURE_DEFAULT = 0;
39 const string SYSTEM_CVAR_DEBUG_PARSER_DEFAULT = "";
40 const string SYSTEM_CVAR_DEBUG_PROCESS_FILTER_DEFAULT= "";
41 const float SYSTEM_CVAR_DEBUG_SOUND_DEFAULT = 0;
42 const float SYSTEM_CVAR_DEBUG_AREA_DEFAULT = 0;
43 const float SYSTEM_CVAR_DEBUG_STEP_DEFAULT = 0;
44 const float SYSTEM_CVAR_DEBUG_MOUSE_DEFAULT = 0;
50 bool sys_debug_runflag;
51 bool sys_debug_process;
53 float sys_debug_mouse;
54 float sys_debug_structure;
55 float sys_debug_parser;
57 float sys_debug_process_filter;
59 vector sys_debug_cursor_localpos;
61 void() Sys_Debug_Init;
62 void() Sys_Debug_Frame;
63 void() Sys_Debug_Draw;
65 void() Sys_Debug_DumpNames;