- Added Gez's patch for moving tag strings into the language file and adding tags for all weapons and inventory items.

SVN r2552 (trunk)
This commit is contained in:
Christoph Oelckers 2010-08-18 20:26:25 +00:00
commit f9523a01e3
49 changed files with 520 additions and 116 deletions

View file

@ -93,7 +93,7 @@ EXTERN_CVAR(Int, showendoom)
EXTERN_CVAR(Bool, hud_althud)
EXTERN_CVAR(Int, compatmode)
EXTERN_CVAR (Bool, vid_vsync)
EXTERN_CVAR(Bool, displaynametags)
EXTERN_CVAR(Int, displaynametags)
EXTERN_CVAR (Int, snd_channels)
//
@ -485,6 +485,13 @@ static value_t Contrast[] = {
{ 2.0, "Smooth" }
};
static value_t DisplayTagsTypes[] = {
{ 0.0, "None" },
{ 1.0, "Items" },
{ 2.0, "Weapons" },
{ 3.0, "Both" }
};
static menuitem_t VideoItems[] = {
{ more, "Message Options", {NULL}, {0.0}, {0.0}, {0.0}, {(value_t *)StartMessagesMenu} },
{ more, "Automap Options", {NULL}, {0.0}, {0.0}, {0.0}, {(value_t *)StartAutomapMenu} },
@ -510,7 +517,7 @@ static menuitem_t VideoItems[] = {
{ discrete, "Rocket Trails", {&cl_rockettrails}, {4.0}, {0.0}, {0.0}, {RocketTrailTypes} },
{ discrete, "Blood Type", {&cl_bloodtype}, {3.0}, {0.0}, {0.0}, {BloodTypes} },
{ discrete, "Bullet Puff Type", {&cl_pufftype}, {2.0}, {0.0}, {0.0}, {PuffTypes} },
{ discrete, "Display nametags", {&displaynametags}, {2.0}, {0.0}, {0.0}, {YesNo} },
{ discrete, "Display nametags", {&displaynametags}, {4.0}, {0.0}, {0.0}, {DisplayTagsTypes} },
};
#define CROSSHAIR_INDEX 7