diff --git a/powder.c b/powder.c index 03c7a7f6e..b3ab34d40 100755 --- a/powder.c +++ b/powder.c @@ -3181,18 +3181,63 @@ justdraw: blendpixel(vid, nx-1, ny-1, cr, cg, cb, 32); } } else if(t==PT_URAN) { - cr=0x70; - cg=0x70; - cb=0x20; - blendpixel(vid, nx, ny, 255, 255, 255, 255); - blendpixel(vid, nx+1, ny, cr+100, cg+100, cb+100, 96); - blendpixel(vid, nx-1, ny, cr+100, cg+100, cb+100, 96); - blendpixel(vid, nx, ny+1, cr+100, cg+100, cb+100, 96); - blendpixel(vid, nx, ny-1, cr+100, cg+100, cb+100, 96); - blendpixel(vid, nx+1, ny-1, cr, cg, cb, 255); - blendpixel(vid, nx-1, ny+1, cr, cg, cb, 255); - blendpixel(vid, nx+1, ny+1, cr, cg, cb, 255); - blendpixel(vid, nx-1, ny-1, cr, cg, cb, 255); + cr=0x70; + cg=0x70; + cb=0x20; + blendpixel(vid, nx, ny, cr, cr, cr, 255); + blendpixel(vid, nx+1, ny, cr, cg, cb, 32); + blendpixel(vid, nx-1, ny, cr, cg, cb, 32); + blendpixel(vid, nx, ny+1, cr, cg, cb, 32); + blendpixel(vid, nx, ny-1, cr, cg, cb, 32); + blendpixel(vid, nx+1, ny-1, cr+100, cg+100, cb+100, 32); + blendpixel(vid, nx-1, ny+1, cr+100, cg+100, cb+100, 32); + blendpixel(vid, nx+1, ny+1, cr+100, cg+100, cb+100, 32); + blendpixel(vid, nx-1, ny-1, cr+100, cg+100, cb+100, 32); + blendpixel(vid, nx+2, ny, cr+10, cg+10, cb+10, 32); + blendpixel(vid, nx-2, ny, cr+10, cg+10, cb+10, 32); + blendpixel(vid, nx, ny+2, cr+10, cg+10, cb+10, 32); + blendpixel(vid, nx, ny-2, cr+10, cg+10, cb+10, 32); + blendpixel(vid, nx+2, ny+1, cr+10, cg+10, cb+10, 32); + blendpixel(vid, nx-2, ny+1, cr+10, cg+10, cb+10, 32); + blendpixel(vid, nx+1, ny+2, cr+10, cg+10, cb+10, 32); + blendpixel(vid, nx+1, ny-2, cr+10, cg+10, cb+10, 32); + blendpixel(vid, nx+2, ny-1, cr+10, cg+10, cb+10, 32); + blendpixel(vid, nx-2, ny-1, cr+10, cg+10, cb+10, 32); + blendpixel(vid, nx-1, ny+2, cr+10, cg+10, cb+10, 32); + blendpixel(vid, nx-1, ny-2, cr+10, cg+10, cb+10, 32); + blendpixel(vid, nx+2, ny-2, cr+100, cg+100, cb+100, 32); + blendpixel(vid, nx-2, ny+2, cr+100, cg+100, cb+100, 32); + blendpixel(vid, nx+2, ny+2, cr+100, cg+100, cb+100, 32); + blendpixel(vid, nx-2, ny-2, cr+100, cg+100, cb+100, 32); + } else if(t==PT_PLUT) { + cr=0x40; + cg=0x70; + cb=0x20; + blendpixel(vid, nx, ny, cr, cr, cr, 255); + blendpixel(vid, nx+1, ny, cr, cg, cb, 32); + blendpixel(vid, nx-1, ny, cr, cg, cb, 32); + blendpixel(vid, nx, ny+1, cr, cg, cb, 32); + blendpixel(vid, nx, ny-1, cr, cg, cb, 32); + blendpixel(vid, nx+1, ny-1, cr+100, cg+100, cb+100, 32); + blendpixel(vid, nx-1, ny+1, cr+100, cg+100, cb+100, 32); + blendpixel(vid, nx+1, ny+1, cr+100, cg+100, cb+100, 32); + blendpixel(vid, nx-1, ny-1, cr+100, cg+100, cb+100, 32); + blendpixel(vid, nx+2, ny, cr+10, cg+10, cb+10, 32); + blendpixel(vid, nx-2, ny, cr+10, cg+10, cb+10, 32); + blendpixel(vid, nx, ny+2, cr+10, cg+10, cb+10, 32); + blendpixel(vid, nx, ny-2, cr+10, cg+10, cb+10, 32); + blendpixel(vid, nx+2, ny+1, cr+10, cg+10, cb+10, 32); + blendpixel(vid, nx-2, ny+1, cr+10, cg+10, cb+10, 32); + blendpixel(vid, nx+1, ny+2, cr+10, cg+10, cb+10, 32); + blendpixel(vid, nx+1, ny-2, cr+10, cg+10, cb+10, 32); + blendpixel(vid, nx+2, ny-1, cr+10, cg+10, cb+10, 32); + blendpixel(vid, nx-2, ny-1, cr+10, cg+10, cb+10, 32); + blendpixel(vid, nx-1, ny+2, cr+10, cg+10, cb+10, 32); + blendpixel(vid, nx-1, ny-2, cr+10, cg+10, cb+10, 32); + blendpixel(vid, nx+2, ny-2, cr+100, cg+100, cb+100, 32); + blendpixel(vid, nx-2, ny+2, cr+100, cg+100, cb+100, 32); + blendpixel(vid, nx+2, ny+2, cr+100, cg+100, cb+100, 32); + blendpixel(vid, nx-2, ny-2, cr+100, cg+100, cb+100, 32); } else if(t==PT_PLSM) { float ttemp = parts[i].life;