make scoreboard semi-transparent

git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@2853 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
Lee Salzman
2008-10-06 22:18:34 +00:00
parent 2d59828335
commit 8162143770
2 changed files with 17 additions and 6 deletions
+2 -1
View File
@@ -859,7 +859,8 @@ void gmenu::renderbg(int x1, int y1, int x2, int y2, bool border)
{
static Texture *tex = NULL;
if(!tex) tex = textureload("packages/textures/makke/menu.jpg");
blendbox(x1, y1, x2, y2, border, tex->id);
static color transparent(1, 1, 1, 0.75f);
blendbox(x1, y1, x2, y2, border, tex->id, allowinput ? NULL : &transparent);
}
// apply changes menu