changed looks. still needs to be modified
This commit is contained in:
parent
d501059c1b
commit
9bd0824733
44
powder.c
44
powder.c
@ -2884,14 +2884,14 @@ justdraw:
|
||||
}
|
||||
else if(t==PT_SLTW)
|
||||
{
|
||||
for(x=-3; x<3; x++)
|
||||
for(x=-2; x<2; x++)
|
||||
{
|
||||
for(y=-3; y<3; y++)
|
||||
for(y=-2; y<2; y++)
|
||||
{
|
||||
if (abs(x)+abs(y) <2 && !(abs(x)==2||abs(y)==2))
|
||||
if (abs(x)+abs(y) <0 && !(abs(x)==2||abs(y)==2))
|
||||
blendpixel(vid,x+nx,y+ny,64,80,240,100);
|
||||
else if(abs(x)+abs(y) <=3 && abs(x)+abs(y))
|
||||
blendpixel(vid,x+nx,y+ny,64,80,240,70);
|
||||
else if(abs(x)+abs(y) == 1 && abs(x)+abs(y))
|
||||
blendpixel(vid,x+nx,y+ny,64,80,240,95);
|
||||
else if (abs(x)+abs(y) == 2)
|
||||
blendpixel(vid,x+nx,y+ny,64,80,240,90);
|
||||
}
|
||||
@ -2942,15 +2942,15 @@ justdraw:
|
||||
}
|
||||
else if(t==PT_LNTG)
|
||||
{
|
||||
for(x=-3; x<3; x++)
|
||||
for(x=-2; x<2; x++)
|
||||
{
|
||||
for(y=-3; y<3; y++)
|
||||
for(y=-2; y<2; y++)
|
||||
{
|
||||
if (abs(x)+abs(y) <2 && !(abs(x)==2||abs(y)==2))
|
||||
if(abs(x)+abs(y) <0 && !(abs(x)==2||abs(y)==2))
|
||||
blendpixel(vid,x+nx,y+ny,128,160,223,100);
|
||||
if(abs(x)+abs(y) <=3 && abs(x)+abs(y))
|
||||
blendpixel(vid,x+nx,y+ny,128,160,223,70);
|
||||
if (abs(x)+abs(y) == 2)
|
||||
else if(abs(x)+abs(y) == 1 && abs(x)+abs(y))
|
||||
blendpixel(vid,x+nx,y+ny,128,160,223,95);
|
||||
else if (abs(x)+abs(y) == 2)
|
||||
blendpixel(vid,x+nx,y+ny,128,160,223,90);
|
||||
}
|
||||
}
|
||||
@ -2993,14 +2993,14 @@ justdraw:
|
||||
}
|
||||
else if(t==PT_WATR)
|
||||
{
|
||||
for(x=-3; x<4; x++)
|
||||
for(x=-2; x<2; x++)
|
||||
{
|
||||
for(y=-3; y<4; y++)
|
||||
for(y=-2; y<2; y++)
|
||||
{
|
||||
if (abs(x)+abs(y) <2 && !(abs(x)==2||abs(y)==2))
|
||||
if (abs(x)+abs(y) <0 && !(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,70);
|
||||
if(abs(x)+abs(y) == 1 && abs(x)+abs(y))
|
||||
blendpixel(vid,x+nx,y+ny,32,48,208,95);
|
||||
if (abs(x)+abs(y) == 2)
|
||||
blendpixel(vid,x+nx,y+ny,32,48,208,90);
|
||||
}
|
||||
@ -3008,16 +3008,16 @@ justdraw:
|
||||
}
|
||||
else if(t==PT_DSTW)
|
||||
{
|
||||
for(x=-3; x<4; x++)
|
||||
for(x=-2; x<2; x++)
|
||||
{
|
||||
for(y=-3; y<4; y++)
|
||||
for(y=-2; y<2; y++)
|
||||
{
|
||||
if (abs(x)+abs(y) <2 && !(abs(x)==2||abs(y)==2))
|
||||
if (abs(x)+abs(y) <0 && !(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) == 1 && abs(x)+abs(y))
|
||||
blendpixel(vid,x+nx,y+ny,32,48,208,95);
|
||||
if (abs(x)+abs(y) == 2)
|
||||
blendpixel(vid,x+nx,y+ny,32,48,208,70);
|
||||
blendpixel(vid,x+nx,y+ny,32,48,208,90);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user