]> git.xonotic.org Git - xonotic/darkplaces.git/commit - sv_main.c
Reimpl. the cvar alias system. Reimpl. the cvar hash table as a distinct type
authorcloudwalk <cloudwalk@d7cf8633-e32d-0410-b094-e92efae38249>
Mon, 8 Jun 2020 14:46:12 +0000 (14:46 +0000)
committercloudwalk <cloudwalk@d7cf8633-e32d-0410-b094-e92efae38249>
Mon, 8 Jun 2020 14:46:12 +0000 (14:46 +0000)
commit27aa321754fe8ae393a2335adb6e9130364a1268
tree4c4c05e9294042cc85f2da35be5687b40c6e0c73
parente2cbba9125f88e89b18c920bfb3343cf074ae6eb
Reimpl. the cvar alias system. Reimpl. the cvar hash table as a distinct type

It is now type-safe, cleaner, and doesn't require new static cvar_t's
for each alias. The hash table being implemented as a distinct type
allows multiple hashes to point to the same cvar without having to
create a new cvar_t for each alias.

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12652 d7cf8633-e32d-0410-b094-e92efae38249
15 files changed:
cl_input.c
cl_parse.c
cmd.c
cvar.c
cvar.h
host.c
lhnet.c
menu.c
netconn.c
netconn.h
prvm_edict.c
sbar.c
screen.h
server.h
sv_main.c