Okay, this is preparation for the freetype support, this shouldn't cause any obvious...
authorblub0 <blub0@f962a42d-fe04-0410-a3ab-8c8b0445ebaa>
Thu, 3 Sep 2009 16:05:02 +0000 (16:05 +0000)
committerblub0 <blub0@f962a42d-fe04-0410-a3ab-8c8b0445ebaa>
Thu, 3 Sep 2009 16:05:02 +0000 (16:05 +0000)
commitfa60c0571921b42e8e62f8f834d5e292d0674816
tree43dbb58c091e0db833fb014e7c37c9fb0f547eb6
parenta1f341ac8996b3c445ba7208c7c048e960902984
Okay, this is preparation for the freetype support, this shouldn't cause any obvious changes, if it does, tell me.
Basically, this replaces all stringwidth()*size calls to pass the size parameter to stringwidth() directly.
Also, it adds some default parameters to the loadfont command... not sure why I'm adding this so early though... but it won't error out anyway so it shouldn't be harmful.

git-svn-id: svn://svn.icculus.org/nexuiz/trunk@7611 f962a42d-fe04-0410-a3ab-8c8b0445ebaa
27 files changed:
data/defaultNexuiz.cfg
data/qcsrc/client/Main.qc
data/qcsrc/client/csqc_builtins.qc
data/qcsrc/client/mapvoting.qc
data/qcsrc/client/miscfunctions.qc
data/qcsrc/client/sbar.qc
data/qcsrc/common/util.qc
data/qcsrc/common/util.qh
data/qcsrc/menu/draw.qc
data/qcsrc/menu/draw.qh
data/qcsrc/menu/item/inputbox.c
data/qcsrc/menu/item/label.c
data/qcsrc/menu/mbuiltin.qh
data/qcsrc/menu/menu.qc
data/qcsrc/menu/nexuiz/campaign.c
data/qcsrc/menu/nexuiz/cvarlist.c
data/qcsrc/menu/nexuiz/demolist.c
data/qcsrc/menu/nexuiz/keybinder.c
data/qcsrc/menu/nexuiz/maplist.c
data/qcsrc/menu/nexuiz/playerlist.c
data/qcsrc/menu/nexuiz/serverlist.c
data/qcsrc/menu/nexuiz/skinlist.c
data/qcsrc/menu/nexuiz/util.qc
data/qcsrc/server/cl_player.qc
data/qcsrc/server/constants.qh
data/weapons.cfg
data/weaponsHavoc.cfg