diff options
| author | Simon Robertshaw <simon@hardwired.org.uk> | 2011-05-05 19:14:35 (GMT) |
|---|---|---|
| committer | Simon Robertshaw <simon@hardwired.org.uk> | 2011-05-05 19:14:35 (GMT) |
| commit | 5aefd0cb01facdda852960c03489991461aaed62 (patch) | |
| tree | 5d6528ecd26bc03ca18f02c1ec5c0eb5e7e7a269 /src/graphics.c | |
| parent | fb408ab82b8ae7a033899fc25ffcba3813549c54 (diff) | |
| download | powder-5aefd0cb01facdda852960c03489991461aaed62.zip powder-5aefd0cb01facdda852960c03489991461aaed62.tar.gz | |
Initial soap commit
Diffstat (limited to 'src/graphics.c')
| -rw-r--r-- | src/graphics.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/graphics.c b/src/graphics.c index c0fce81..fe153ec 100644 --- a/src/graphics.c +++ b/src/graphics.c @@ -1495,6 +1495,13 @@ void draw_parts(pixel *vid) nx = (int)(parts[i].x+0.5f); ny = (int)(parts[i].y+0.5f); + + if (t==PT_SOAP) + { + //if ((parts[i].ctype&0x01 == 0x01) && (parts[i].ctype&0x02 == 0x02)) + // draw_line(vid, nx, ny, (int)(parts[parts[i].tmp].x+0.5f), (int)(parts[parts[i].tmp].y+0.5f), 245, 245, 220, XRES+BARSIZE); + } + if (cmode!=CM_HEAT) { if (t==PT_STKM) //Just draw head here |
