Make slave-shields be blue... just a bit of a tweak.

A bit hacky for now...
This commit is contained in:
2024-04-24 15:51:54 -04:00
parent af26d16562
commit 96fb179e4b
4 changed files with 6 additions and 4 deletions
+3 -3
View File
@@ -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
{
+2 -1
View File
@@ -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);