mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-05-30 00:10:40 +00:00
cvars now sport a callback function that gets called whenever the cvar changes
or on initial get.
This commit is contained in:
parent
4162243287
commit
e939ccc40a
101 changed files with 680 additions and 669 deletions
|
@ -129,9 +129,9 @@ Netchan_Init (void)
|
|||
void
|
||||
Netchan_Init_Cvars (void)
|
||||
{
|
||||
showpackets = Cvar_Get ("showpackets", "0", CVAR_NONE, "Show all network packets");
|
||||
showdrop = Cvar_Get ("showdrop", "0", CVAR_NONE, "Toggle the display of how many packets you are dropping");
|
||||
qport = Cvar_Get ("qport", "0", CVAR_NONE, "The internal port number for the game networking code."
|
||||
showpackets = Cvar_Get ("showpackets", "0", CVAR_NONE, 0, "Show all network packets");
|
||||
showdrop = Cvar_Get ("showdrop", "0", CVAR_NONE, 0, "Toggle the display of how many packets you are dropping");
|
||||
qport = Cvar_Get ("qport", "0", CVAR_NONE, 0, "The internal port number for the game networking code."
|
||||
"Useful for clients who use multiple connections through one IP address (NAT/IP-MASQ) because default port is random.");
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue