4 // version cvars (constant)
5 const string SYSTEM_CVAR_VERSION_BUILDDATE = "scmenu_version_builddate";
6 const string SYSTEM_CVAR_VERSION_BUILDTIME = "scmenu_version_buildtime";
7 const string SYSTEM_CVAR_VERSION = "scmenu_version";
9 const string SYSTEM_CVAR_VERSION_BUILDDATE_VALUE = __DATE__;
10 const string SYSTEM_CVAR_VERSION_BUILDTIME_VALUE = __TIME__;
11 const string SYSTEM_CVAR_VERSION_VALUE = "prerelease";
16 const string SYSTEM_CVAR_DEBUG = "scmenu_debug";
17 const string SYSTEM_CVAR_DEBUG_REF = "scmenu_debug_ref";
18 const string SYSTEM_CVAR_DEBUG_SOUND = "scmenu_debug_sound";
19 const string SYSTEM_CVAR_DEBUG_AREA = "scmenu_debug_area";
21 // 0 for normal, 1 for halted, 2 for new step
22 const string SYSTEM_CVAR_DEBUG_STEP = "scmenu_debug_step";
24 // 0 for no info, 1 for local position, 2 for absolute position
25 const string SYSTEM_CVAR_DEBUG_MOUSE = "scmenu_debug_mouse";
27 // 0 for no output, 1 for medium output, 2 for extensive output
28 const string SYSTEM_CVAR_DEBUG_STRUCTURE = "scmenu_debug_structure";
30 // NOTE: set it to 1 to make it display the data for one frame, set it to 2 to display it always
31 const string SYSTEM_CVAR_DEBUG_RUNFLAG = "scmenu_debug_runflag";
32 const string SYSTEM_CVAR_DEBUG_PROCESS = "scmenu_debug_process";
33 const string SYSTEM_CVAR_DEBUG_MGFX = "scmenu_debug_mgfx";
35 // parser filter, possible values: info high low
36 const string SYSTEM_CVAR_DEBUG_PARSER = "scmenu_debug_parser";
38 // process_filter, possible values: runflag update draw mouse key
39 const string SYSTEM_CVAR_DEBUG_PROCESS_FILTER = "scmenu_debug_process_filter";
42 const string SYSTEM_CVAR_DEBUG_DUMP_NAMES = "scmenu_dumpnames";
44 const float SYSTEM_CVAR_DEBUG_DEFAULT = 0;
45 const float SYSTEM_CVAR_DEBUG_REF_DEFAULT = 0;
46 const float SYSTEM_CVAR_DEBUG_RUNFLAG_DEFAULT = 0;
47 const float SYSTEM_CVAR_DEBUG_PROCESS_DEFAULT = 0;
48 const float SYSTEM_CVAR_DEBUG_MGFX_DEFAULT = 0;
49 const float SYSTEM_CVAR_DEBUG_STRUCTURE_DEFAULT = 0;
50 const string SYSTEM_CVAR_DEBUG_PARSER_DEFAULT = "";
51 const string SYSTEM_CVAR_DEBUG_PROCESS_FILTER_DEFAULT= "";
52 const float SYSTEM_CVAR_DEBUG_SOUND_DEFAULT = 0;
53 const float SYSTEM_CVAR_DEBUG_AREA_DEFAULT = 0;
54 const float SYSTEM_CVAR_DEBUG_STEP_DEFAULT = 0;
55 const float SYSTEM_CVAR_DEBUG_MOUSE_DEFAULT = 0;
61 bool sys_debug_runflag;
62 bool sys_debug_process;
64 float sys_debug_mouse;
65 float sys_debug_structure;
66 float sys_debug_parser;
70 float sys_debug_process_filter;
72 vector sys_debug_cursor_localpos;
74 void() Sys_Debug_Init;
75 void() Sys_Debug_Frame;
76 void() Sys_Debug_Draw;
78 void() Sys_Debug_DumpNames;