Make slave-shields be blue... just a bit of a tweak.
A bit hacky for now...
This commit is contained in:
@@ -565,7 +565,7 @@ CreateShieldMask (void)
|
||||
red = 0;
|
||||
}
|
||||
|
||||
*pix = BUILD_COLOR_RGBA (red, 0, 0, alpha);
|
||||
*pix = BUILD_COLOR_RGBA (0, 0, red, alpha);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -653,7 +653,7 @@ ApplyShieldTint (void)
|
||||
SetContextClipRect (NULL);
|
||||
GetContextClipRect (&r);
|
||||
|
||||
tint = BUILD_COLOR_RGBA (0xff, 0x00, 0x00, 0xff);
|
||||
tint = BUILD_COLOR_RGBA (0x00, 0x00, 0xff, 0xff);
|
||||
#ifdef USE_ALPHA_SHIELD
|
||||
mode = MAKE_DRAW_MODE (DRAW_ALPHA, 150);
|
||||
#else
|
||||
@@ -794,7 +794,7 @@ RenderPlanetSphere (FRAME MaskFrame, int offset, BOOLEAN doThrob)
|
||||
r += c.r;
|
||||
if (r > 255)
|
||||
r = 255;
|
||||
c.r = r;
|
||||
c.b = r;
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
@@ -1532,7 +1532,8 @@ DrawInnerPlanets (PLANET_DESC *planet)
|
||||
if (i < NUMBER_OF_PLANET_TYPES
|
||||
&& (planet->data_index & PLANET_SHIELDED))
|
||||
{ // Shielded world looks "shielded" in inner view
|
||||
s.frame = SetAbsFrameIndex (SpaceJunkFrame, 17);
|
||||
//s.frame = SetAbsFrameIndex (SpaceJunkFrame, 17);
|
||||
s.frame = SetAbsFrameIndex (SpaceJunkFrame, 22);
|
||||
}
|
||||
DrawStamp (&s);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user