]> icculus.org git repositories - divverent/nexuiz.git/commit
hm... if we start networking score items as long if needed... we can make them just...
authordiv0 <div0@f962a42d-fe04-0410-a3ab-8c8b0445ebaa>
Fri, 4 Sep 2009 06:45:19 +0000 (06:45 +0000)
committerdiv0 <div0@f962a42d-fe04-0410-a3ab-8c8b0445ebaa>
Fri, 4 Sep 2009 06:45:19 +0000 (06:45 +0000)
commitf3d7bfe9b1064a802c68bb3e4d09a350662fd22a
tree7fdb346ac4b8ada397078be11e34fdebd3f85871
parent89775271fdfa5720887e390764e1d60c23b550d1
hm... if we start networking score items as long if needed... we can make them just a char if in -128..127. Saves lots of bytes im DM, costs a little in balanced CTF matches (as the "score" column gets >127 for good players), saves a bit in unbalanced CTF matches, i.e. if there is only one player >127 :P

This will also help debugging the networking of the change, as it now ACTUALLY happens that scores get transmitted as long.

git-svn-id: svn://svn.icculus.org/nexuiz/trunk@7621 f962a42d-fe04-0410-a3ab-8c8b0445ebaa
data/qcsrc/client/Main.qc
data/qcsrc/server/scores.qc