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
Binary file not shown.

After

Width:  |  Height:  |  Size: 5.0 KiB

+1
View File
@@ -20,3 +20,4 @@ orbitbackground-018.png 0 57 0 0
orbitbackground-019.png 0 57 9 6 orbitbackground-019.png 0 57 9 6
orbitbackground-020.png 0 57 2 -15 orbitbackground-020.png 0 57 2 -15
orbitbackground-021.png 0 57 0 0 orbitbackground-021.png 0 57 0 0
orbitbackground-022.png 0 57 11 10
+3 -3
View File
@@ -565,7 +565,7 @@ CreateShieldMask (void)
red = 0; 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); SetContextClipRect (NULL);
GetContextClipRect (&r); GetContextClipRect (&r);
tint = BUILD_COLOR_RGBA (0xff, 0x00, 0x00, 0xff); tint = BUILD_COLOR_RGBA (0x00, 0x00, 0xff, 0xff);
#ifdef USE_ALPHA_SHIELD #ifdef USE_ALPHA_SHIELD
mode = MAKE_DRAW_MODE (DRAW_ALPHA, 150); mode = MAKE_DRAW_MODE (DRAW_ALPHA, 150);
#else #else
@@ -794,7 +794,7 @@ RenderPlanetSphere (FRAME MaskFrame, int offset, BOOLEAN doThrob)
r += c.r; r += c.r;
if (r > 255) if (r > 255)
r = 255; r = 255;
c.r = r; c.b = r;
} }
else else
{ {
+2 -1
View File
@@ -1532,7 +1532,8 @@ DrawInnerPlanets (PLANET_DESC *planet)
if (i < NUMBER_OF_PLANET_TYPES if (i < NUMBER_OF_PLANET_TYPES
&& (planet->data_index & PLANET_SHIELDED)) && (planet->data_index & PLANET_SHIELDED))
{ // Shielded world looks "shielded" in inner view { // Shielded world looks "shielded" in inner view
s.frame = SetAbsFrameIndex (SpaceJunkFrame, 17); //s.frame = SetAbsFrameIndex (SpaceJunkFrame, 17);
s.frame = SetAbsFrameIndex (SpaceJunkFrame, 22);
} }
DrawStamp (&s); DrawStamp (&s);