added glow-ish uran and plut

This commit is contained in:
Alex 2010-08-16 15:31:10 -04:00
parent b27e61e64a
commit 335bd5ecf8

View File

@ -3181,18 +3181,63 @@ justdraw:
blendpixel(vid, nx-1, ny-1, cr, cg, cb, 32); blendpixel(vid, nx-1, ny-1, cr, cg, cb, 32);
} }
} else if(t==PT_URAN) { } else if(t==PT_URAN) {
cr=0x70; cr=0x70;
cg=0x70; cg=0x70;
cb=0x20; cb=0x20;
blendpixel(vid, nx, ny, 255, 255, 255, 255); blendpixel(vid, nx, ny, cr, cr, cr, 255);
blendpixel(vid, nx+1, ny, cr+100, cg+100, cb+100, 96); blendpixel(vid, nx+1, ny, cr, cg, cb, 32);
blendpixel(vid, nx-1, ny, cr+100, cg+100, cb+100, 96); blendpixel(vid, nx-1, ny, cr, cg, cb, 32);
blendpixel(vid, nx, ny+1, cr+100, cg+100, cb+100, 96); blendpixel(vid, nx, ny+1, cr, cg, cb, 32);
blendpixel(vid, nx, ny-1, cr+100, cg+100, cb+100, 96); blendpixel(vid, nx, ny-1, cr, cg, cb, 32);
blendpixel(vid, nx+1, ny-1, cr, cg, cb, 255); blendpixel(vid, nx+1, ny-1, cr+100, cg+100, cb+100, 32);
blendpixel(vid, nx-1, ny+1, cr, cg, cb, 255); blendpixel(vid, nx-1, ny+1, cr+100, cg+100, cb+100, 32);
blendpixel(vid, nx+1, ny+1, cr, cg, cb, 255); blendpixel(vid, nx+1, ny+1, cr+100, cg+100, cb+100, 32);
blendpixel(vid, nx-1, ny-1, cr, cg, cb, 255); 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) } else if(t==PT_PLSM)
{ {
float ttemp = parts[i].life; float ttemp = parts[i].life;