mirror of
https://git.code.sf.net/p/quake/newtree
synced 2025-02-01 20:30:57 +00:00
add some more *cap flags to the definition list (those mared with a * are not
yet implemented). Also add the p and t flags to the *cap string.
This commit is contained in:
parent
a4ccdad288
commit
4478b82af4
1 changed files with 9 additions and 2 deletions
|
@ -661,10 +661,17 @@ CL_AddQFInfoKeys ()
|
|||
char cap[100] = ""; // max of 98 or so flags
|
||||
// set the capabilities info. single char flags (possibly with
|
||||
// modifiefs)
|
||||
// defined capabilities:
|
||||
// defined capabilities (* = not implemented):
|
||||
// z client can accept gzipped files.
|
||||
// h * http transfers
|
||||
// f * ftp transfers
|
||||
// a * audio channel (voice chat)
|
||||
// i * irc
|
||||
// p pogo stick control
|
||||
// t team messages
|
||||
strncpy (cap, "pt", sizeof (cap));
|
||||
#ifdef HAVE_ZLIB
|
||||
strcat (cap, "z");
|
||||
strncat (cap, "z", sizeof (cap) - strlen (cap) - 1);
|
||||
#endif
|
||||
Info_SetValueForStarKey (cls.userinfo, "*cap", cap, MAX_INFO_STRING);
|
||||
Info_SetValueForStarKey (cls.userinfo, "*qsg_version", QSG_VERSION,
|
||||
|
|
Loading…
Reference in a new issue