2023-05-10 00:05:38 +02:00
|
|
|
#ifndef GLOBAL_H
|
|
|
|
#define GLOBAL_H
|
|
|
|
|
|
|
|
//-------------------------------------------------------------------------
|
|
|
|
// ENGINE |
|
|
|
|
extern ConVar* single_frame_shutdown_for_reload;
|
|
|
|
extern ConVar* old_gather_props;
|
|
|
|
|
|
|
|
extern ConVar* enable_debug_overlays;
|
|
|
|
extern ConVar* debug_draw_box_depth_test;
|
|
|
|
|
|
|
|
extern ConVar* developer;
|
|
|
|
extern ConVar* fps_max;
|
2023-09-11 22:20:24 +02:00
|
|
|
extern ConVar* fps_max_vsync;
|
2023-06-05 00:27:36 +02:00
|
|
|
|
2023-09-10 01:44:04 +02:00
|
|
|
#ifndef DEDICATED
|
2023-12-24 16:29:42 +01:00
|
|
|
extern ConVar* in_syncRT;
|
2023-09-10 01:44:04 +02:00
|
|
|
#endif // !DEDICATED
|
|
|
|
|
2023-08-08 13:05:33 +02:00
|
|
|
extern ConVar* base_tickinterval_sp;
|
|
|
|
extern ConVar* base_tickinterval_mp;
|
|
|
|
|
2023-05-10 00:05:38 +02:00
|
|
|
extern ConVar* staticProp_no_fade_scalar;
|
|
|
|
extern ConVar* staticProp_gather_size_weight;
|
|
|
|
|
|
|
|
extern ConVar* model_defaultFadeDistScale;
|
|
|
|
extern ConVar* model_defaultFadeDistMin;
|
|
|
|
|
|
|
|
extern ConVar* ip_cvar;
|
|
|
|
extern ConVar* hostname;
|
|
|
|
extern ConVar* hostip;
|
|
|
|
extern ConVar* hostport;
|
2023-06-03 21:20:23 +02:00
|
|
|
|
2023-05-10 00:05:38 +02:00
|
|
|
extern ConVar* host_hasIrreversibleShutdown;
|
2023-06-03 21:20:23 +02:00
|
|
|
extern ConVar* host_timescale;
|
2023-05-10 00:05:38 +02:00
|
|
|
|
|
|
|
extern ConVar* mp_gamemode;
|
|
|
|
|
|
|
|
#ifndef DEDICATED
|
|
|
|
extern ConVar* r_visualizetraces;
|
|
|
|
extern ConVar* r_visualizetraces_duration;
|
|
|
|
#endif // !DEDICATED
|
|
|
|
|
|
|
|
extern ConVar* stream_overlay;
|
|
|
|
extern ConVar* stream_overlay_mode;
|
2023-07-08 13:22:30 +02:00
|
|
|
//-------------------------------------------------------------------------
|
|
|
|
// SHARED |
|
2023-10-20 19:39:18 +02:00
|
|
|
extern ConVar* eula_version;
|
|
|
|
extern ConVar* eula_version_accepted;
|
|
|
|
|
2024-02-24 02:15:09 +01:00
|
|
|
extern ConVar* language_cvar;
|
2023-11-10 01:27:19 +01:00
|
|
|
|
2023-05-10 00:05:38 +02:00
|
|
|
//-------------------------------------------------------------------------
|
|
|
|
// SERVER |
|
|
|
|
#ifndef CLIENT_DLL
|
|
|
|
extern ConVar* ai_script_nodes_draw;
|
|
|
|
|
|
|
|
extern ConVar* sv_forceChatToTeamOnly;
|
|
|
|
|
2023-07-11 00:18:58 +02:00
|
|
|
extern ConVar* sv_single_core_dedi;
|
|
|
|
|
2023-08-15 00:45:58 +02:00
|
|
|
extern ConVar* sv_maxunlag;
|
2023-08-17 01:56:42 +02:00
|
|
|
extern ConVar* sv_clockcorrection_msecs;
|
2023-08-14 20:47:02 +02:00
|
|
|
|
2023-05-10 00:05:38 +02:00
|
|
|
extern ConVar* sv_updaterate_sp;
|
2023-08-08 13:05:33 +02:00
|
|
|
extern ConVar* sv_updaterate_mp;
|
|
|
|
|
2023-05-10 00:05:38 +02:00
|
|
|
extern ConVar* sv_showhitboxes;
|
|
|
|
extern ConVar* sv_stats;
|
|
|
|
|
|
|
|
extern ConVar* sv_voiceEcho;
|
|
|
|
extern ConVar* sv_voiceenable;
|
|
|
|
extern ConVar* sv_alltalk;
|
|
|
|
|
2023-07-02 21:28:49 +02:00
|
|
|
extern ConVar* player_userCmdsQueueWarning;
|
2023-06-13 17:43:32 +02:00
|
|
|
|
2023-05-10 00:05:38 +02:00
|
|
|
#endif // CLIENT_DLL
|
|
|
|
extern ConVar* sv_cheats;
|
|
|
|
extern ConVar* sv_visualizetraces;
|
|
|
|
extern ConVar* sv_visualizetraces_duration;
|
|
|
|
extern ConVar* bhit_enable;
|
|
|
|
//-------------------------------------------------------------------------
|
|
|
|
// CLIENT |
|
|
|
|
#ifndef DEDICATED
|
|
|
|
extern ConVar* cl_threaded_bone_setup;
|
|
|
|
|
|
|
|
extern ConVar* origin_disconnectWhenOffline;
|
2023-08-07 17:54:57 +02:00
|
|
|
extern ConVar* discord_updatePresence;
|
2023-05-10 00:05:38 +02:00
|
|
|
#endif // !DEDICATED
|
|
|
|
//-------------------------------------------------------------------------
|
|
|
|
// FILESYSTEM |
|
|
|
|
extern ConVar* fs_showAllReads;
|
|
|
|
//-------------------------------------------------------------------------
|
|
|
|
// NETCHANNEL |
|
|
|
|
extern ConVar* net_usesocketsforloopback;
|
|
|
|
|
2024-02-19 19:29:47 +01:00
|
|
|
extern ConVar* net_data_block_enabled;
|
2023-06-22 00:33:00 +02:00
|
|
|
extern ConVar* net_datablock_networkLossForSlowSpeed;
|
2024-02-19 19:29:47 +01:00
|
|
|
extern ConVar* net_compressDataBlock;
|
2023-06-22 00:33:00 +02:00
|
|
|
|
2024-02-24 02:15:09 +01:00
|
|
|
extern ConVar ssl_verify_peer;
|
|
|
|
extern ConVar curl_timeout;
|
|
|
|
extern ConVar curl_debug;
|
2023-05-10 00:05:38 +02:00
|
|
|
//-------------------------------------------------------------------------
|
|
|
|
// RUI |
|
|
|
|
#ifndef DEDICATED
|
|
|
|
extern ConVar* rui_defaultDebugFontFace;
|
|
|
|
#endif // !DEDICATED
|
|
|
|
//-------------------------------------------------------------------------
|
|
|
|
// MILES |
|
|
|
|
#ifndef DEDICATED
|
|
|
|
extern ConVar* miles_language;
|
|
|
|
#endif
|
|
|
|
|
|
|
|
void ConVar_InitShipped(void);
|
|
|
|
void ConVar_PurgeShipped(void);
|
|
|
|
void ConVar_PurgeHostNames(void);
|
|
|
|
void ConCommand_InitShipped(void);
|
|
|
|
void ConCommand_PurgeShipped(void);
|
|
|
|
|
|
|
|
#endif // GLOBAL_H
|