]> icculus.org git repositories - divverent/nexuiz.git/commit
added autocvarizer system, not applied yet
authorRudolf Polzer <rpolzer@nb-04.(none)>
Wed, 27 Jan 2010 15:13:14 +0000 (16:13 +0100)
committerRudolf Polzer <rpolzer@nb-04.(none)>
Wed, 27 Jan 2010 15:13:15 +0000 (16:13 +0100)
commita13bbd21b667f70fb043267fb99b1aed52e69f39
tree5d43756c9483e681fb0932c1d685889002b25144
parent38c82eecd418a4354cb17beac15c55cd26811c27
added autocvarizer system, not applied yet
Apply it with:
find . -name \*.qc -o -name \*.qh -o -name \*.c -o -name \*.h | xargs perl autocvarize.pl > x; cat x >> autocvars.qh
Be sure to edit autocvars.qh and change lines to
  #define autocvar_NAME cvar("name")
if these shall NOT become autocvars ever (e.g. because menu can edit them)
data/qcsrc/server/autocvarize.pl [new file with mode: 0644]
data/qcsrc/server/autocvars.qh [new file with mode: 0644]
data/qcsrc/server/keyhunt.qc
data/qcsrc/server/progs.src