diff options
| author | Felix Wallin <nibbler.v1@gmail.com> | 2010-08-16 12:34:37 (GMT) |
|---|---|---|
| committer | FacialTurd <simon@hardwired.org.uk> | 2010-08-16 12:35:44 (GMT) |
| commit | abc9efe10f90775ba47a64640d838a823504092c (patch) | |
| tree | b9a5b4858de80123065e6aeac2043131beba71e1 | |
| parent | 81063864a46ef5407ed10aec66c8c9d5791078e9 (diff) | |
| download | powder-abc9efe10f90775ba47a64640d838a823504092c.zip powder-abc9efe10f90775ba47a64640d838a823504092c.tar.gz | |
now for destilled water too.
| -rw-r--r-- | powder.c | 16 |
1 files changed, 15 insertions, 1 deletions
@@ -2961,7 +2961,21 @@ justdraw: blendpixel(vid,x+nx,y+ny,32,48,208,70); } } - } + } + else if(t==PT_DSTW) + for(x=-3; x<4; x++) + { + for(y=-3; y<4; y++) + { + if (abs(x)+abs(y) <2 && !(abs(x)==2||abs(y)==2)) + blendpixel(vid,x+nx,y+ny,32,48,208,100); + if(abs(x)+abs(y) <=3 && abs(x)+abs(y)) + blendpixel(vid,x+nx,y+ny,32,48,208,50); + if (abs(x)+abs(y) == 2) + blendpixel(vid,x+nx,y+ny,32,48,208,70); + } + } + else if(t==PT_WTRV) { if(cmode == 3||cmode==4) |
