Semi-transparent production points. Closes #1700.

Updated graphics utilizes 8-bit alpha channel, please don't crush it accidentally.

git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@10382 4a71c877-e1ca-e34f-864e-861f7616d084
master
i-nod 2010-03-21 03:13:48 +00:00 committed by Git SVN Gateway
parent ad27f1b309
commit 579afa20bc
2 changed files with 4 additions and 4 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 20 KiB

After

Width:  |  Height:  |  Size: 61 KiB

View File

@ -2423,16 +2423,16 @@ void renderDeliveryPoint(FLAG_POSITION *psPosition, BOOL blueprint)
pie_MatScale(50); // they are all big now so make this one smaller too
pieFlag = pie_TRANSLUCENT;
pieFlagData = BLUEPRINT_OPACITY;
if (blueprint)
{
pieFlag = pie_TRANSLUCENT;
pieFlagData = BLUEPRINT_OPACITY;
colour = (buildState == BUILD3D_VALID) ? WZCOL_BLUEPRINT_VALID : WZCOL_BLUEPRINT_INVALID;
}
else
{
pieFlag = 0;
pieFlagData = 0;
pieFlag |= pie_FORCE_FOG;
colour = WZCOL_WHITE;
}
pie_Draw3DShape(pAssemblyPointIMDs[psPosition->factoryType][psPosition->factoryInc], 0, 0, colour, WZCOL_BLACK, pieFlag, pieFlagData);