summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--powder.c55
1 files changed, 45 insertions, 10 deletions
diff --git a/powder.c b/powder.c
index e9adc98..334884a 100644
--- a/powder.c
+++ b/powder.c
@@ -2908,8 +2908,43 @@ 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_SLTW)
+ } else if(t==PT_PLUT)
+ {
+ cr = 0x40;
+ cg = 0x70;
+ cb = 0x20;
+ blendpixel(vid, nx, ny, cr, cg, cb, 192);
+ blendpixel(vid, nx+1, ny, cr, cg, cb, 96);
+ blendpixel(vid, nx-1, ny, cr, cg, cb, 96);
+ blendpixel(vid, nx, ny+1, cr, cg, cb, 96);
+ blendpixel(vid, nx, ny-1, cr, cg, cb, 96);
+ for(int tempx = 2; tempx < 10; tempx++) {
+ for(int tempy = 2; tempy < 10; tempy++) {
+ blendpixel(vid, nx+tempx, ny-tempy, cr, cg, cb, 5);
+ blendpixel(vid, nx-tempx, ny+tempy, cr, cg, cb, 5);
+ blendpixel(vid, nx+tempx, ny+tempy, cr, cg, cb, 5);
+ blendpixel(vid, nx-tempx, ny-tempy, cr, cg, cb, 5);
+ }
+ }
+ } else if(t==PT_URAN)
+ {
+ cr = 0x70;
+ cg = 0x70;
+ cb = 0x20;
+ blendpixel(vid, nx, ny, cr, cg, cb, 192);
+ blendpixel(vid, nx+1, ny, cr, cg, cb, 96);
+ blendpixel(vid, nx-1, ny, cr, cg, cb, 96);
+ blendpixel(vid, nx, ny+1, cr, cg, cb, 96);
+ blendpixel(vid, nx, ny-1, cr, cg, cb, 96);
+ for(int tempx = 2; tempx < 10; tempx++) {
+ for(int tempy = 2; tempy < 10; tempy++) {
+ blendpixel(vid, nx+tempx, ny-tempy, cr, cg, cb, 5);
+ blendpixel(vid, nx-tempx, ny+tempy, cr, cg, cb, 5);
+ blendpixel(vid, nx+tempx, ny+tempy, cr, cg, cb, 5);
+ blendpixel(vid, nx-tempx, ny-tempy, cr, cg, cb, 5);
+ }
+ }
+ } else if(t==PT_SLTW)
{
for(x=-1; x<=1; x++)
{
@@ -3201,10 +3236,10 @@ justdraw:
cg = 0x70;
cb = 0x20;
blendpixel(vid, nx, ny, cr, cg, cb, 192);
- blendpixel(vid, nx+1, ny, cr, cg, cb, 96);
- blendpixel(vid, nx-1, ny, cr, cg, cb, 96);
- blendpixel(vid, nx, ny+1, cr, cg, cb, 96);
- blendpixel(vid, nx, ny-1, cr, cg, cb, 96);
+ blendpixel(vid, nx+1, ny, cr, cg, cb, 5);
+ blendpixel(vid, nx-1, ny, cr, cg, cb, 5);
+ blendpixel(vid, nx, ny+1, cr, cg, cb, 5);
+ blendpixel(vid, nx, ny-1, cr, cg, cb, 5);
for(int tempx = 2; tempx < 10; tempx++) {
for(int tempy = 2; tempy < 10; tempy++) {
blendpixel(vid, nx+tempx, ny-tempy, cr, cg, cb, 5);
@@ -3219,10 +3254,10 @@ justdraw:
cg = 0x70;
cb = 0x20;
blendpixel(vid, nx, ny, cr, cg, cb, 192);
- blendpixel(vid, nx+1, ny, cr, cg, cb, 96);
- blendpixel(vid, nx-1, ny, cr, cg, cb, 96);
- blendpixel(vid, nx, ny+1, cr, cg, cb, 96);
- blendpixel(vid, nx, ny-1, cr, cg, cb, 96);
+ blendpixel(vid, nx+1, ny, cr, cg, cb, 5);
+ blendpixel(vid, nx-1, ny, cr, cg, cb, 5);
+ blendpixel(vid, nx, ny+1, cr, cg, cb, 5);
+ blendpixel(vid, nx, ny-1, cr, cg, cb, 5);
for(int tempx = 2; tempx < 10; tempx++) {
for(int tempy = 2; tempy < 10; tempy++) {
blendpixel(vid, nx+tempx, ny-tempy, cr, cg, cb, 5);