2020-01-06 01:41:47 +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(Bool, cl_obituaries)
|
|
|
|
EXTERN_CVAR(Bool, cl_idplayers)
|
|
|
|
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)
|
2019-10-27 12:48:03 +00:00
|
|
|
EXTERN_CVAR(Int, cl_showweapon)
|
2019-10-22 15:47:24 +00:00
|
|
|
EXTERN_CVAR(Int, cl_weaponswitch)
|
2020-11-13 16:56:55 +00:00
|
|
|
EXTERN_CVAR(Float, crosshairscale)
|
2020-05-22 23:26:51 +00:00
|
|
|
EXTERN_CVAR(Bool, cl_sointerpolation)
|
2020-07-28 11:38:20 +00:00
|
|
|
EXTERN_CVAR(Bool, cl_syncinput)
|
2020-08-26 10:37:16 +00:00
|
|
|
EXTERN_CVAR(Bool, cl_swaltnukeinit)
|
2020-08-19 09:44:08 +00:00
|
|
|
EXTERN_CVAR(Bool, cl_dukefixrpgrecoil)
|
2020-08-19 09:37:23 +00:00
|
|
|
EXTERN_CVAR(Bool, cl_smoothsway)
|
2020-08-27 12:42:50 +00:00
|
|
|
EXTERN_CVAR(Bool, cl_showmagamt)
|
2020-09-15 06:27:03 +00:00
|
|
|
EXTERN_CVAR(Bool, cl_nomeleeblur)
|
2020-09-24 12:32:37 +00:00
|
|
|
EXTERN_CVAR(Bool, cl_exhumedoldturn)
|
2019-10-22 00:15:24 +00:00
|
|
|
|
2019-10-21 23:06:02 +00:00
|
|
|
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, mus_enabled)
|
|
|
|
EXTERN_CVAR(Bool, mus_restartonload)
|
|
|
|
EXTERN_CVAR(Bool, mus_redbook)
|
|
|
|
EXTERN_CVAR(Int, snd_mixrate)
|
|
|
|
EXTERN_CVAR(Int, snd_numchannels)
|
|
|
|
EXTERN_CVAR(Int, snd_numvoices)
|
|
|
|
EXTERN_CVAR(Int, snd_speech)
|
2019-10-24 18:36:18 +00:00
|
|
|
EXTERN_CVAR(Int, mus_device)
|
2019-10-22 00:01:05 +00:00
|
|
|
|
2019-10-22 21:31:46 +00:00
|
|
|
EXTERN_CVAR(Int, hud_layout)
|
2020-10-28 16:16:42 +00:00
|
|
|
EXTERN_CVAR(Float, hud_scalefactor)
|
2019-11-09 18:15:03 +00:00
|
|
|
EXTERN_CVAR(Int, hud_size)
|
2020-07-26 21:27:39 +00:00
|
|
|
EXTERN_CVAR(Float, hud_statscale)
|
2019-11-09 18:15:03 +00:00
|
|
|
|
2019-10-22 21:31:46 +00:00
|
|
|
EXTERN_CVAR(Int, hud_custom)
|
2019-10-22 22:20:27 +00:00
|
|
|
EXTERN_CVAR(Bool, hud_stats)
|
|
|
|
EXTERN_CVAR(Bool, hud_showmapname)
|
2019-10-23 23:30:33 +00:00
|
|
|
EXTERN_CVAR(Bool, hud_position)
|
|
|
|
EXTERN_CVAR(Bool, hud_bgstretch)
|
|
|
|
EXTERN_CVAR(Int, hud_textscale)
|
2020-08-23 20:46:53 +00:00
|
|
|
EXTERN_CVAR(Bool, hud_messages)
|
2019-10-23 23:30:33 +00:00
|
|
|
|
|
|
|
EXTERN_CVAR(Int, althud_numbertile)
|
|
|
|
EXTERN_CVAR(Int, althud_numberpal)
|
|
|
|
EXTERN_CVAR(Int, althud_shadows)
|
|
|
|
EXTERN_CVAR(Int, althud_flashing)
|
2019-10-22 21:31:46 +00:00
|
|
|
|
2020-08-23 22:05:36 +00:00
|
|
|
EXTERN_CVAR(Bool, am_textfont)
|
|
|
|
EXTERN_CVAR(Bool, am_showlabel)
|
2020-08-23 22:25:42 +00:00
|
|
|
EXTERN_CVAR(Bool, am_nameontop)
|
2020-08-23 22:05:36 +00:00
|
|
|
|
2019-10-23 23:30:33 +00:00
|
|
|
|
|
|
|
EXTERN_CVAR(Int, r_fov)
|
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-23 16:36:48 +00:00
|
|
|
EXTERN_CVAR(Float, r_ambientlight)
|
|
|
|
EXTERN_CVAR(Bool, r_shadows)
|
2019-10-23 15:07:29 +00:00
|
|
|
EXTERN_CVAR(Bool, r_precache)
|
2019-10-23 19:11:37 +00:00
|
|
|
EXTERN_CVAR(Bool, r_voxels)
|
2019-11-09 18:15:03 +00:00
|
|
|
EXTERN_CVAR(Int, r_upscalefactor)
|
|
|
|
|
|
|
|
EXTERN_CVAR(Float, vid_gamma)
|
|
|
|
EXTERN_CVAR(Float, vid_contrast)
|
|
|
|
EXTERN_CVAR(Float, vid_brightness)
|
2019-12-28 17:20:47 +00:00
|
|
|
EXTERN_CVAR(Int, gl_multisample)
|
2020-01-03 17:34:43 +00:00
|
|
|
EXTERN_CVAR(Int, gl_ssao)
|
2019-10-22 22:30:51 +00:00
|
|
|
|
2020-04-07 22:24:16 +00:00
|
|
|
EXTERN_CVAR(Bool, use_joystick)
|
2019-10-22 23:30:43 +00:00
|
|
|
EXTERN_CVAR(Bool, in_mousemode)
|
2019-10-27 08:38:55 +00:00
|
|
|
|
2019-10-27 12:40:24 +00:00
|
|
|
EXTERN_CVAR(Bool, adult_lockout)
|
|
|
|
EXTERN_CVAR(String, playername)
|
|
|
|
EXTERN_CVAR(String, rtsname)
|
2019-11-02 00:30:21 +00:00
|
|
|
EXTERN_CVAR(String, usermapfolder)
|
2019-10-27 12:40:24 +00:00
|
|
|
|
2020-01-08 00:00:57 +00:00
|
|
|
EXTERN_CVAR(Int, m_recstat)
|
2019-11-09 18:15:03 +00:00
|
|
|
EXTERN_CVAR(Int, m_coop)
|
|
|
|
EXTERN_CVAR(Int, m_ffire)
|
|
|
|
EXTERN_CVAR(Int, m_noexits)
|
|
|
|
EXTERN_CVAR(Int, playercolor)
|
|
|
|
|
2019-10-27 08:38:55 +00:00
|
|
|
extern bool gNoAutoLoad;
|
2019-10-22 21:31:46 +00:00
|
|
|
extern int hud_statusbarrange; // will be set by the game's configuration setup.
|
2019-10-21 22:52:07 +00:00
|
|
|
bool G_CheckAutorun(bool button);
|
2020-06-12 19:08:47 +00:00
|
|
|
inline int G_FPSLimit(void) { return 1; }
|
2019-10-27 08:38:55 +00:00
|
|
|
bool G_AllowAutoload();
|
2020-08-16 00:55:50 +00:00
|
|
|
|
|
|
|
enum EHudSize
|
|
|
|
{
|
|
|
|
Hud_Current = -1,
|
|
|
|
Hud_Frame50 = 0,
|
|
|
|
Hud_Frame60,
|
|
|
|
Hud_Frame70,
|
|
|
|
Hud_Frame80,
|
|
|
|
Hud_Frame90,
|
|
|
|
Hud_Stbar,
|
|
|
|
Hud_StbarOverlay,
|
|
|
|
Hud_Mini,
|
|
|
|
Hud_full,
|
|
|
|
Hud_Nothing,
|
|
|
|
Hud_MAX
|
|
|
|
};
|