summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFelix Wallin <nibbler.v1@gmail.com>2010-08-16 12:30:04 (GMT)
committer FacialTurd <simon@hardwired.org.uk>2010-08-16 12:33:58 (GMT)
commit81063864a46ef5407ed10aec66c8c9d5791078e9 (patch)
tree365294553db998f144f5487906c202dc353fb1c9
parent6bd48d059f3c10c2a3a9e080e3bb91bebab283de (diff)
downloadpowder-81063864a46ef5407ed10aec66c8c9d5791078e9.zip
powder-81063864a46ef5407ed10aec66c8c9d5791078e9.tar.gz
WATAAH
-rw-r--r--powder.c17
1 files changed, 16 insertions, 1 deletions
diff --git a/powder.c b/powder.c
index ffc6568..99a3dd1 100644
--- a/powder.c
+++ b/powder.c
@@ -2947,6 +2947,21 @@ justdraw:
}
}
}
+ else if(t==PT_WATR)
+ {
+ 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)
@@ -10518,4 +10533,4 @@ int main(int argc, char *argv[])
http_done();
return 0;
-} \ No newline at end of file
+}