added glow-ish uran and plut

This commit is contained in:
Alex 2010-08-16 15:45:41 -04:00
parent 335bd5ecf8
commit f6170777a1

168
powder.c
View File

@ -3209,6 +3209,90 @@ justdraw:
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+3, ny, cr+10, cg+10, cb+10, 32);
blendpixel(vid, nx-3, ny, cr+10, cg+10, cb+10, 32);
blendpixel(vid, nx, ny+3, cr+10, cg+10, cb+10, 32);
blendpixel(vid, nx, ny-3, cr+10, cg+10, cb+10, 32);
blendpixel(vid, nx+3, ny+1, cr+10, cg+10, cb+10, 32);
blendpixel(vid, nx-3, ny+1, cr+10, cg+10, cb+10, 32);
blendpixel(vid, nx+1, ny+3, cr+10, cg+10, cb+10, 32);
blendpixel(vid, nx+1, ny-3, cr+10, cg+10, cb+10, 32);
blendpixel(vid, nx+3, ny-1, cr+10, cg+10, cb+10, 32);
blendpixel(vid, nx-3, ny-1, cr+10, cg+10, cb+10, 32);
blendpixel(vid, nx-1, ny+3, cr+10, cg+10, cb+10, 32);
blendpixel(vid, nx-1, ny-3, cr+10, cg+10, cb+10, 32);
blendpixel(vid, nx+3, ny-3, cr+100, cg+100, cb+100, 32);
blendpixel(vid, nx-3, ny+3, cr+100, cg+100, cb+100, 32);
blendpixel(vid, nx+3, ny+3, cr+100, cg+100, cb+100, 32);
blendpixel(vid, nx-3, ny-3, cr+100, cg+100, cb+100, 32);
blendpixel(vid, nx+3, ny+2, cr+10, cg+10, cb+10, 32);
blendpixel(vid, nx-3, ny+2, cr+10, cg+10, cb+10, 32);
blendpixel(vid, nx+2, ny+3, cr+10, cg+10, cb+10, 32);
blendpixel(vid, nx+2, ny-3, cr+10, cg+10, cb+10, 32);
blendpixel(vid, nx+3, ny-2, cr+10, cg+10, cb+10, 32);
blendpixel(vid, nx-3, ny-2, cr+10, cg+10, cb+10, 32);
blendpixel(vid, nx-2, ny+3, cr+10, cg+10, cb+10, 32);
blendpixel(vid, nx-2, ny-3, cr+10, cg+10, cb+10, 32);
blendpixel(vid, nx+3, ny-3, cr+100, cg+100, cb+100, 32);
blendpixel(vid, nx-3, ny+3, cr+100, cg+100, cb+100, 32);
blendpixel(vid, nx+3, ny+3, cr+100, cg+100, cb+100, 32);
blendpixel(vid, nx-3, ny-3, cr+100, cg+100, cb+100, 32);
blendpixel(vid, nx+4, ny, cr+10, cg+10, cb+10, 32);
blendpixel(vid, nx-4, ny, cr+10, cg+10, cb+10, 32);
blendpixel(vid, nx, ny+4, cr+10, cg+10, cb+10, 32);
blendpixel(vid, nx, ny-4, cr+10, cg+10, cb+10, 32);
blendpixel(vid, nx+4, ny+1, cr+10, cg+10, cb+10, 32);
blendpixel(vid, nx-4, ny+1, cr+10, cg+10, cb+10, 32);
blendpixel(vid, nx+1, ny+4, cr+10, cg+10, cb+10, 32);
blendpixel(vid, nx+1, ny-4, cr+10, cg+10, cb+10, 32);
blendpixel(vid, nx+4, ny-1, cr+10, cg+10, cb+10, 32);
blendpixel(vid, nx-4, ny-1, cr+10, cg+10, cb+10, 32);
blendpixel(vid, nx-1, ny+4, cr+10, cg+10, cb+10, 32);
blendpixel(vid, nx-1, ny-4, cr+10, cg+10, cb+10, 32);
blendpixel(vid, nx+4, ny-4, cr+100, cg+100, cb+100, 32);
blendpixel(vid, nx-4, ny+4, cr+100, cg+100, cb+100, 32);
blendpixel(vid, nx+4, ny+4, cr+100, cg+100, cb+100, 32);
blendpixel(vid, nx-4, ny-4, cr+100, cg+100, cb+100, 32);
blendpixel(vid, nx+4, ny+2, cr+10, cg+10, cb+10, 32);
blendpixel(vid, nx-4, ny+2, cr+10, cg+10, cb+10, 32);
blendpixel(vid, nx+2, ny+4, cr+10, cg+10, cb+10, 32);
blendpixel(vid, nx+2, ny-4, cr+10, cg+10, cb+10, 32);
blendpixel(vid, nx+4, ny-2, cr+10, cg+10, cb+10, 32);
blendpixel(vid, nx-4, ny-2, cr+10, cg+10, cb+10, 32);
blendpixel(vid, nx-2, ny+4, cr+10, cg+10, cb+10, 32);
blendpixel(vid, nx-2, ny-4, cr+10, cg+10, cb+10, 32);
blendpixel(vid, nx+4, ny-4, cr+100, cg+100, cb+100, 32);
blendpixel(vid, nx-4, ny+4, cr+100, cg+100, cb+100, 32);
blendpixel(vid, nx+4, ny+4, cr+100, cg+100, cb+100, 32);
blendpixel(vid, nx-4, ny-4, cr+100, cg+100, cb+100, 32);
blendpixel(vid, nx+4, ny, cr+10, cg+10, cb+10, 32);
blendpixel(vid, nx-4, ny, cr+10, cg+10, cb+10, 32);
blendpixel(vid, nx, ny+4, cr+10, cg+10, cb+10, 32);
blendpixel(vid, nx, ny-4, cr+10, cg+10, cb+10, 32);
blendpixel(vid, nx+4, ny+2, cr+10, cg+10, cb+10, 32);
blendpixel(vid, nx-4, ny+2, cr+10, cg+10, cb+10, 32);
blendpixel(vid, nx+2, ny+4, cr+10, cg+10, cb+10, 32);
blendpixel(vid, nx+2, ny-4, cr+10, cg+10, cb+10, 32);
blendpixel(vid, nx+4, ny-2, cr+10, cg+10, cb+10, 32);
blendpixel(vid, nx-4, ny-2, cr+10, cg+10, cb+10, 32);
blendpixel(vid, nx-2, ny+4, cr+10, cg+10, cb+10, 32);
blendpixel(vid, nx-2, ny-4, cr+10, cg+10, cb+10, 32);
blendpixel(vid, nx+4, ny-4, cr+100, cg+100, cb+100, 32);
blendpixel(vid, nx-4, ny+4, cr+100, cg+100, cb+100, 32);
blendpixel(vid, nx+4, ny+4, cr+100, cg+100, cb+100, 32);
blendpixel(vid, nx-4, ny-4, cr+100, cg+100, cb+100, 32);
blendpixel(vid, nx+4, ny+3, cr+10, cg+10, cb+10, 32);
blendpixel(vid, nx-4, ny+3, cr+10, cg+10, cb+10, 32);
blendpixel(vid, nx+2, ny+4, cr+10, cg+10, cb+10, 32);
blendpixel(vid, nx+2, ny-4, cr+10, cg+10, cb+10, 32);
blendpixel(vid, nx+4, ny-3, cr+10, cg+10, cb+10, 32);
blendpixel(vid, nx-4, ny-3, cr+10, cg+10, cb+10, 32);
blendpixel(vid, nx-3, ny+4, cr+10, cg+10, cb+10, 32);
blendpixel(vid, nx-3, ny-4, cr+10, cg+10, cb+10, 32);
blendpixel(vid, nx+4, ny-4, cr+100, cg+100, cb+100, 32);
blendpixel(vid, nx-4, ny+4, cr+100, cg+100, cb+100, 32);
blendpixel(vid, nx+4, ny+4, cr+100, cg+100, cb+100, 32);
blendpixel(vid, nx-4, ny-4, cr+100, cg+100, cb+100, 32);
} else if(t==PT_PLUT) {
cr=0x40;
cg=0x70;
@ -3238,6 +3322,90 @@ justdraw:
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+3, ny, cr+10, cg+10, cb+10, 32);
blendpixel(vid, nx-3, ny, cr+10, cg+10, cb+10, 32);
blendpixel(vid, nx, ny+3, cr+10, cg+10, cb+10, 32);
blendpixel(vid, nx, ny-3, cr+10, cg+10, cb+10, 32);
blendpixel(vid, nx+3, ny+1, cr+10, cg+10, cb+10, 32);
blendpixel(vid, nx-3, ny+1, cr+10, cg+10, cb+10, 32);
blendpixel(vid, nx+1, ny+3, cr+10, cg+10, cb+10, 32);
blendpixel(vid, nx+1, ny-3, cr+10, cg+10, cb+10, 32);
blendpixel(vid, nx+3, ny-1, cr+10, cg+10, cb+10, 32);
blendpixel(vid, nx-3, ny-1, cr+10, cg+10, cb+10, 32);
blendpixel(vid, nx-1, ny+3, cr+10, cg+10, cb+10, 32);
blendpixel(vid, nx-1, ny-3, cr+10, cg+10, cb+10, 32);
blendpixel(vid, nx+3, ny-3, cr+100, cg+100, cb+100, 32);
blendpixel(vid, nx-3, ny+3, cr+100, cg+100, cb+100, 32);
blendpixel(vid, nx+3, ny+3, cr+100, cg+100, cb+100, 32);
blendpixel(vid, nx-3, ny-3, cr+100, cg+100, cb+100, 32);
blendpixel(vid, nx+3, ny+2, cr+10, cg+10, cb+10, 32);
blendpixel(vid, nx-3, ny+2, cr+10, cg+10, cb+10, 32);
blendpixel(vid, nx+2, ny+3, cr+10, cg+10, cb+10, 32);
blendpixel(vid, nx+2, ny-3, cr+10, cg+10, cb+10, 32);
blendpixel(vid, nx+3, ny-2, cr+10, cg+10, cb+10, 32);
blendpixel(vid, nx-3, ny-2, cr+10, cg+10, cb+10, 32);
blendpixel(vid, nx-2, ny+3, cr+10, cg+10, cb+10, 32);
blendpixel(vid, nx-2, ny-3, cr+10, cg+10, cb+10, 32);
blendpixel(vid, nx+3, ny-3, cr+100, cg+100, cb+100, 32);
blendpixel(vid, nx-3, ny+3, cr+100, cg+100, cb+100, 32);
blendpixel(vid, nx+3, ny+3, cr+100, cg+100, cb+100, 32);
blendpixel(vid, nx-3, ny-3, cr+100, cg+100, cb+100, 32);
blendpixel(vid, nx+4, ny, cr+10, cg+10, cb+10, 32);
blendpixel(vid, nx-4, ny, cr+10, cg+10, cb+10, 32);
blendpixel(vid, nx, ny+4, cr+10, cg+10, cb+10, 32);
blendpixel(vid, nx, ny-4, cr+10, cg+10, cb+10, 32);
blendpixel(vid, nx+4, ny+1, cr+10, cg+10, cb+10, 32);
blendpixel(vid, nx-4, ny+1, cr+10, cg+10, cb+10, 32);
blendpixel(vid, nx+1, ny+4, cr+10, cg+10, cb+10, 32);
blendpixel(vid, nx+1, ny-4, cr+10, cg+10, cb+10, 32);
blendpixel(vid, nx+4, ny-1, cr+10, cg+10, cb+10, 32);
blendpixel(vid, nx-4, ny-1, cr+10, cg+10, cb+10, 32);
blendpixel(vid, nx-1, ny+4, cr+10, cg+10, cb+10, 32);
blendpixel(vid, nx-1, ny-4, cr+10, cg+10, cb+10, 32);
blendpixel(vid, nx+4, ny-4, cr+100, cg+100, cb+100, 32);
blendpixel(vid, nx-4, ny+4, cr+100, cg+100, cb+100, 32);
blendpixel(vid, nx+4, ny+4, cr+100, cg+100, cb+100, 32);
blendpixel(vid, nx-4, ny-4, cr+100, cg+100, cb+100, 32);
blendpixel(vid, nx+4, ny+2, cr+10, cg+10, cb+10, 32);
blendpixel(vid, nx-4, ny+2, cr+10, cg+10, cb+10, 32);
blendpixel(vid, nx+2, ny+4, cr+10, cg+10, cb+10, 32);
blendpixel(vid, nx+2, ny-4, cr+10, cg+10, cb+10, 32);
blendpixel(vid, nx+4, ny-2, cr+10, cg+10, cb+10, 32);
blendpixel(vid, nx-4, ny-2, cr+10, cg+10, cb+10, 32);
blendpixel(vid, nx-2, ny+4, cr+10, cg+10, cb+10, 32);
blendpixel(vid, nx-2, ny-4, cr+10, cg+10, cb+10, 32);
blendpixel(vid, nx+4, ny-4, cr+100, cg+100, cb+100, 32);
blendpixel(vid, nx-4, ny+4, cr+100, cg+100, cb+100, 32);
blendpixel(vid, nx+4, ny+4, cr+100, cg+100, cb+100, 32);
blendpixel(vid, nx-4, ny-4, cr+100, cg+100, cb+100, 32);
blendpixel(vid, nx+4, ny, cr+10, cg+10, cb+10, 32);
blendpixel(vid, nx-4, ny, cr+10, cg+10, cb+10, 32);
blendpixel(vid, nx, ny+4, cr+10, cg+10, cb+10, 32);
blendpixel(vid, nx, ny-4, cr+10, cg+10, cb+10, 32);
blendpixel(vid, nx+4, ny+2, cr+10, cg+10, cb+10, 32);
blendpixel(vid, nx-4, ny+2, cr+10, cg+10, cb+10, 32);
blendpixel(vid, nx+2, ny+4, cr+10, cg+10, cb+10, 32);
blendpixel(vid, nx+2, ny-4, cr+10, cg+10, cb+10, 32);
blendpixel(vid, nx+4, ny-2, cr+10, cg+10, cb+10, 32);
blendpixel(vid, nx-4, ny-2, cr+10, cg+10, cb+10, 32);
blendpixel(vid, nx-2, ny+4, cr+10, cg+10, cb+10, 32);
blendpixel(vid, nx-2, ny-4, cr+10, cg+10, cb+10, 32);
blendpixel(vid, nx+4, ny-4, cr+100, cg+100, cb+100, 32);
blendpixel(vid, nx-4, ny+4, cr+100, cg+100, cb+100, 32);
blendpixel(vid, nx+4, ny+4, cr+100, cg+100, cb+100, 32);
blendpixel(vid, nx-4, ny-4, cr+100, cg+100, cb+100, 32);
blendpixel(vid, nx+4, ny+3, cr+10, cg+10, cb+10, 32);
blendpixel(vid, nx-4, ny+3, cr+10, cg+10, cb+10, 32);
blendpixel(vid, nx+2, ny+4, cr+10, cg+10, cb+10, 32);
blendpixel(vid, nx+2, ny-4, cr+10, cg+10, cb+10, 32);
blendpixel(vid, nx+4, ny-3, cr+10, cg+10, cb+10, 32);
blendpixel(vid, nx-4, ny-3, cr+10, cg+10, cb+10, 32);
blendpixel(vid, nx-3, ny+4, cr+10, cg+10, cb+10, 32);
blendpixel(vid, nx-3, ny-4, cr+10, cg+10, cb+10, 32);
blendpixel(vid, nx+4, ny-4, cr+100, cg+100, cb+100, 32);
blendpixel(vid, nx-4, ny+4, cr+100, cg+100, cb+100, 32);
blendpixel(vid, nx+4, ny+4, cr+100, cg+100, cb+100, 32);
blendpixel(vid, nx-4, ny-4, cr+100, cg+100, cb+100, 32);
} else if(t==PT_PLSM)
{
float ttemp = parts[i].life;