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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user