added glow-ish uran and plut
This commit is contained in:
parent
b27e61e64a
commit
335bd5ecf8
69
powder.c
69
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;
|
||||
|
Loading…
Reference in New Issue
Block a user