]> de.git.xonotic.org Git - xonotic/darkplaces.git/commit
Eradicated the CVAR_NQUSERINFOHACK flag, for good
authorcloudwalk <cloudwalk@d7cf8633-e32d-0410-b094-e92efae38249>
Tue, 23 Jun 2020 03:54:38 +0000 (03:54 +0000)
committercloudwalk <cloudwalk@d7cf8633-e32d-0410-b094-e92efae38249>
Tue, 23 Jun 2020 03:54:38 +0000 (03:54 +0000)
commit28b6442c3d8b337e36a8b402c55b47696fb9085a
tree945ad881e37b8c656c9310457ac8c8bd3c63fb93
parent85c0b97d3d2dd7306129d7ff7519fed9f8ae2b25
Eradicated the CVAR_NQUSERINFOHACK flag, for good

This is a massive commit, admittedly. But pretty much every single
change goes together and this could not be split up, unfortunately.

I implemented a few new functions and turned a lot of the userinfo keys
into cvars, just like their QW counterparts. CMD_INITWAIT is also gone
and replaced by CMD_USERINFO to denote special server-from-client
commands that specifically change a userinfo string of a given client.

I'm sure there's a cleaner way to do this, especially the holy callback
trinity I implemented to avoid an infinite loop when synchronizing
topcolor and bottomcolor with _cl_color and vice versa. But, if this
gets rid of decade old legacy cruft, and makes it all easier to maintain
down the road, that's a plus for me.

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12722 d7cf8633-e32d-0410-b094-e92efae38249
14 files changed:
cl_input.c
cl_main.c
cl_parse.c
cl_screen.c
client.h
cmd.c
cmd.h
cvar.c
cvar.h
host_cmd.c
menu.c
netconn.c
netconn.h
sv_ccmds.c