summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFelix Wallin <nibbler.v1@gmail.com>2010-08-16 18:16:35 (GMT)
committer Felix Wallin <nibbler.v1@gmail.com>2010-08-16 18:16:35 (GMT)
commit76a2dfac7e64c9638c83f75c8dbab62a7b1f3ebc (patch)
treed0e33b8800a0f068011f5f50f1326f9f5217140c
parent9f6a5b7e3b0034dd1be94dd157ce61daf02e8e07 (diff)
downloadpowder-76a2dfac7e64c9638c83f75c8dbab62a7b1f3ebc.zip
powder-76a2dfac7e64c9638c83f75c8dbab62a7b1f3ebc.tar.gz
various other things
-rwxr-xr-xpowder.c29
1 files changed, 29 insertions, 0 deletions
diff --git a/powder.c b/powder.c
index 9132dd6..59c1e3e 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++)