mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-11-28 15:02:01 +00:00
787b84ef91
of the form: <scope> [noarchive] <type> <name> [= <defaultvalue>]; Where <scope> is one of: * server: This cvar is shared by all players, and in network games, only select players can change it. * user: Each player has their own copy of this cvar, which they can change independently. To prevent the cvar from being written to the config file, add noarchive to its definition. <Type> is one of: * int: An integral value. Defaults to 0. * float: A value that can include a fraction. Defaults to 0.0. * color: A color value. Default to black ("00 00 00"). * bool: A boolean value that can hold either true or false. Defaults to false. * string: A string value. It's not too useful for mods but is included for completeness. Defaults to "". <Name> is the cvar's name and must begin with a letter and may only include alphanumeric characters and the underscore character. If you wish a non-standard default add an = character after the cvar's name followed by the default value you want to use. Example: server int mymod_coolness = 10; - Fixed: FStringCVar::SetGenericRepDefault() did not make a copy of the input string. SVN r4280 (trunk) |
||
---|---|---|
.. | ||
colorpickermenu.cpp | ||
joystickmenu.cpp | ||
listmenu.cpp | ||
loadsavemenu.cpp | ||
menu.cpp | ||
menu.h | ||
menudef.cpp | ||
menuinput.cpp | ||
messagebox.cpp | ||
optionmenu.cpp | ||
optionmenuitems.h | ||
playerdisplay.cpp | ||
playermenu.cpp | ||
readthis.cpp | ||
videomenu.cpp |