2019-10-22 21:31:46 +00:00
|
|
|
#pragma once;
|
2019-10-21 22:18:58 +00:00
|
|
|
#include "c_cvars.h"
|
|
|
|
|
|
|
|
EXTERN_CVAR(Bool, cl_crosshair)
|
|
|
|
EXTERN_CVAR(Bool, cl_automsg)
|
|
|
|
EXTERN_CVAR(Int, cl_autoaim)
|
2019-10-21 22:52:07 +00:00
|
|
|
EXTERN_CVAR(Bool, cl_autorun)
|
|
|
|
EXTERN_CVAR(Bool, cl_runmode)
|
2019-10-21 22:58:51 +00:00
|
|
|
EXTERN_CVAR(Bool, cl_autosave)
|
|
|
|
EXTERN_CVAR(Bool, cl_autosavedeletion)
|
|
|
|
EXTERN_CVAR(Int, cl_maxautosaves)
|
2019-10-21 23:00:22 +00:00
|
|
|
EXTERN_CVAR(Int, cl_autovote)
|
|
|
|
EXTERN_CVAR(Int, cl_cheatmask)
|
|
|
|
EXTERN_CVAR(Bool, cl_obituaries)
|
|
|
|
EXTERN_CVAR(Bool, cl_democams)
|
|
|
|
EXTERN_CVAR(Bool, cl_idplayers)
|
|
|
|
EXTERN_CVAR(Bool, cl_showcoords)
|
|
|
|
EXTERN_CVAR(Bool, cl_viewbob)
|
|
|
|
EXTERN_CVAR(Bool, cl_weaponsway)
|
2019-10-22 00:15:24 +00:00
|
|
|
EXTERN_CVAR(Bool, cl_viewhbob)
|
|
|
|
EXTERN_CVAR(Bool, cl_viewvbob)
|
|
|
|
EXTERN_CVAR(Bool, cl_interpolate)
|
|
|
|
EXTERN_CVAR(Bool, cl_slopetilting)
|
|
|
|
EXTERN_CVAR(Bool, cl_showweapon)
|
2019-10-22 15:47:24 +00:00
|
|
|
EXTERN_CVAR(Int, cl_weaponswitch)
|
|
|
|
EXTERN_CVAR(Int, cl_crosshairscale)
|
2019-10-22 00:15:24 +00:00
|
|
|
|
2019-10-21 23:06:02 +00:00
|
|
|
EXTERN_CVAR(Bool, demorec_diffcompress_cvar)
|
|
|
|
EXTERN_CVAR(Bool, demorec_synccompress_cvar)
|
|
|
|
EXTERN_CVAR(Bool, demorec_seeds_cvar)
|
|
|
|
EXTERN_CVAR(Bool, demoplay_diffs)
|
|
|
|
EXTERN_CVAR(Bool, demoplay_showsync)
|
|
|
|
EXTERN_CVAR(Bool, demorec_diffs_cvar)
|
|
|
|
EXTERN_CVAR(Bool, demorec_force_cvar)
|
|
|
|
EXTERN_CVAR(Int, demorec_difftics_cvar)
|
2019-10-21 22:52:07 +00:00
|
|
|
|
2019-10-22 00:01:05 +00:00
|
|
|
EXTERN_CVAR(Bool, snd_ambience)
|
|
|
|
EXTERN_CVAR(Bool, snd_enabled)
|
|
|
|
EXTERN_CVAR(Bool, snd_tryformats)
|
|
|
|
EXTERN_CVAR(Bool, snd_doppler)
|
|
|
|
EXTERN_CVAR(Bool, mus_enabled)
|
|
|
|
EXTERN_CVAR(Bool, mus_restartonload)
|
|
|
|
EXTERN_CVAR(Bool, mus_redbook)
|
|
|
|
EXTERN_CVAR(Bool, snd_reversestereo)
|
|
|
|
EXTERN_CVAR(Int, snd_fxvolume)
|
|
|
|
EXTERN_CVAR(Int, snd_mixrate)
|
|
|
|
EXTERN_CVAR(Int, snd_numchannels)
|
|
|
|
EXTERN_CVAR(Int, snd_numvoices)
|
|
|
|
EXTERN_CVAR(Int, snd_speech)
|
|
|
|
EXTERN_CVAR(Int, mus_volume)
|
|
|
|
|
2019-10-22 21:31:46 +00:00
|
|
|
EXTERN_CVAR(Int, hud_layout)
|
|
|
|
EXTERN_CVAR(Int, hud_scale)
|
|
|
|
EXTERN_CVAR(Int, hud_custom)
|
2019-10-22 22:20:27 +00:00
|
|
|
EXTERN_CVAR(Bool, hud_stats)
|
|
|
|
EXTERN_CVAR(Bool, hud_showmapname)
|
|
|
|
EXTERN_CVAR(Int, r_fov)
|
2019-10-22 21:31:46 +00:00
|
|
|
|
2019-10-22 22:55:48 +00:00
|
|
|
EXTERN_CVAR(Bool, r_horizcenter)
|
2019-10-22 23:04:07 +00:00
|
|
|
EXTERN_CVAR(Int, r_drawweapon)
|
|
|
|
EXTERN_CVAR(Int, r_showfps)
|
|
|
|
EXTERN_CVAR(Int, r_showfpsperiod)
|
2019-10-22 23:30:43 +00:00
|
|
|
EXTERN_CVAR(Int, r_ambientlight)
|
|
|
|
EXTERN_CVAR(Int, r_shadows)
|
2019-10-23 15:07:29 +00:00
|
|
|
EXTERN_CVAR(Bool, r_rotatespritenowidescreen)
|
|
|
|
EXTERN_CVAR(Bool, r_precache)
|
2019-10-22 22:30:51 +00:00
|
|
|
|
2019-10-22 22:55:48 +00:00
|
|
|
EXTERN_CVAR(Bool, in_joystick)
|
|
|
|
EXTERN_CVAR(Bool, in_mouse)
|
2019-10-22 22:59:01 +00:00
|
|
|
EXTERN_CVAR(Bool, in_aimmode)
|
2019-10-22 22:55:48 +00:00
|
|
|
EXTERN_CVAR(Int, in_mousebias)
|
|
|
|
EXTERN_CVAR(Int, in_mousedeadzone)
|
2019-10-22 22:59:01 +00:00
|
|
|
EXTERN_CVAR(Bool, in_mouseflip)
|
|
|
|
EXTERN_CVAR(Bool, in_mousemode)
|
|
|
|
EXTERN_CVAR(Bool, in_mousesmoothing)
|
2019-10-23 15:21:14 +00:00
|
|
|
EXTERN_CVAR(Float, in_mousesensitivity)
|
2019-10-22 23:30:43 +00:00
|
|
|
extern int32_t g_MyAimMode;
|
|
|
|
EXTERN_CVAR(Bool, in_mousemode)
|
2019-10-23 15:21:14 +00:00
|
|
|
EXTERN_CVAR(String, wchoice)
|
2019-10-22 22:41:28 +00:00
|
|
|
|
2019-10-22 23:30:43 +00:00
|
|
|
extern float r_ambientlightrecip;
|
2019-10-22 21:31:46 +00:00
|
|
|
extern int hud_statusbarrange; // will be set by the game's configuration setup.
|
|
|
|
bool G_ChangeHudLayout(int direction);
|
2019-10-21 22:52:07 +00:00
|
|
|
bool G_CheckAutorun(bool button);
|
2019-10-22 21:31:46 +00:00
|
|
|
void G_LoadConfig(const char*);
|
|
|
|
void G_SaveConfig();
|
2019-10-23 15:07:29 +00:00
|
|
|
int G_FPSLimit(void);
|