Console variable: Difference between revisions
Jump to navigation
Jump to search
TomEdwards (talk | contribs) (Redirected page to ConVar) |
SirYodaJedi (talk | contribs) m (Not really stub; just a small page that covers everything it needs to) |
||
(3 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
{{LanguageBar}} | |||
A '''console variable''', frequently shortened to '''cvar''', and occasionally '''[[ConVar]]''', is a runtime [[variable]] which can be modified by the user in the [[developer console]], in addition to being modifiable by game code. | |||
:In {{idtech2|2}} and {{gldsrc|2}}, cvars use the C struct [[cvar_t]]. | |||
:{{source|2}} replaces this with the C++ class [[ConVar]]. | |||
For a list of cvars, see [[:Category:Console variables]]. | |||
[[Category:Glossary]] |
Latest revision as of 19:30, 31 July 2024
A console variable, frequently shortened to cvar, and occasionally ConVar, is a runtime variable which can be modified by the user in the developer console, in addition to being modifiable by game code.
- In
id Tech 2 and
GoldSrc, cvars use the C struct cvar_t.
Source replaces this with the C++ class ConVar.
For a list of cvars, see Category:Console variables.