Console variable: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (→‎top: Unicodifying, added stub tag)
(badly moved multipage rest of history at Archived Page History/Console variable/en)
Line 1: Line 1:
{{multipage}}
{{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]]
[[Category:Glossary]]

Revision as of 16:51, 12 July 2024

English (en)Türkçe (tr)Translate (Translate)

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 id Tech 2 and GoldSrc GoldSrc, cvars use the C struct cvar_t.
Source Source replaces this with the C++ class ConVar.

For a list of cvars, see Category:Console variables.


Stub

This article or section is a stub. You can help by expanding it.