iw6-mod/src/client/game/dvars.hpp
2025-01-30 13:14:21 +01:00

57 lines
1.6 KiB
C++

#pragma once
#include "structs.hpp"
namespace dvars
{
extern game::dvar_t* con_inputBoxColor;
extern game::dvar_t* con_inputHintBoxColor;
extern game::dvar_t* con_outputBarColor;
extern game::dvar_t* con_outputSliderColor;
extern game::dvar_t* con_outputWindowColor;
extern game::dvar_t* con_inputDvarMatchColor;
extern game::dvar_t* con_inputDvarValueColor;
extern game::dvar_t* con_inputDvarInactiveValueColor;
extern game::dvar_t* con_inputCmdMatchColor;
extern game::dvar_t* sv_cheats;
extern game::dvar_t* sv_botsAutoJoin;
extern game::dvar_t* g_playerCollision;
extern game::dvar_t* g_playerEjection;
extern game::dvar_t* g_gravity;
extern game::dvar_t* g_speed;
extern game::dvar_t* g_rocketPushbackScale;
extern game::dvar_t* g_enableElevators;
extern game::dvar_t* g_dump_scripts;
extern game::dvar_t* g_dump_string_tables;
extern game::dvar_t* g_log;
extern game::dvar_t* bg_surfacePenetration;
extern game::dvar_t* pm_bouncing;
extern game::dvar_t* player_sustainAmmo;
extern game::dvar_t* r_aspectRatioCustom;
extern game::dvar_t* jump_slowdownEnable;
extern game::dvar_t* jump_enableFallDamage;
extern game::dvar_t* jump_height;
extern game::dvar_t* jump_ladderPushVel;
extern game::dvar_t* jump_spreadAdd;
extern game::dvar_t* r_fullbright;
extern game::dvar_t* aimassist_enabled;
extern game::dvar_t* cg_legacyCrashHandling;
extern game::dvar_t* com_developer_script;
extern game::dvar_t** com_developer;
extern game::dvar_t** fs_gameDirVar;
std::string dvar_get_vector_domain(int components, const game::dvar_limits& domain);
std::string dvar_get_domain(game::dvar_type type, const game::dvar_limits& domain);
}