]> git.xonotic.org Git - xonotic/darkplaces.git/commit
Implement cvar callback functionality
authorcloudwalk <cloudwalk@d7cf8633-e32d-0410-b094-e92efae38249>
Wed, 3 Jun 2020 15:28:17 +0000 (15:28 +0000)
committercloudwalk <cloudwalk@d7cf8633-e32d-0410-b094-e92efae38249>
Wed, 3 Jun 2020 15:28:17 +0000 (15:28 +0000)
commit9e9074d0ea349fb16cfdd492df66b8683a62f4b7
tree1bc78d9bb92d1240add47fb27e88cc17608a86d0
parent09539f7f2b6d4482a3ae8d664820eaec3488976a
Implement cvar callback functionality

With these, cvars can run arbitrary functions to bounds-check themselves or
perform some other task such as cleanup. Use the function Cvar_RegisterCallback.

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12629 d7cf8633-e32d-0410-b094-e92efae38249
cvar.c
cvar.h