From 76a2dfac7e64c9638c83f75c8dbab62a7b1f3ebc Mon Sep 17 00:00:00 2001 From: Felix Wallin Date: Mon, 16 Aug 2010 20:16:35 +0200 Subject: [PATCH] various other things --- powder.c | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/powder.c b/powder.c index 9132dd6d9..59c1e3eda 100755 --- a/powder.c +++ b/powder.c @@ -3023,6 +3023,35 @@ justdraw: } } } + else if(t==PT_NITR) + { + for(x=-1; x<=1; x++) + { + for(y=-1; y<=1; y++) + { + if ((abs(x) == 0) && (abs(y) == 0)) + blendpixel(vid,x+nx,y+ny,32,224,16,100); + else if (abs(y) != 0 || abs(x) != 0) + blendpixel(vid,x+nx,y+ny,32,224,16,50); + } + } + + } + else if(t==PT_LRBD) + { + for(x=-1; x<=1; x++) + { + for(y=-1; y<=1; y++) + { + if ((abs(x) == 0) && (abs(y) == 0)) + blendpixel(vid,x+nx,y+ny,170,170,170,100); + else if (abs(y) != 0 || abs(x) != 0) + blendpixel(vid,x+nx,y+ny,170,170,170,50); + } + } + + } + else if(t==PT_NBLE) { for(x=-1; x<=1; x++)