diff options
| author | Philip <philip@philip-linuxlaptop.(none)> | 2010-11-12 17:46:02 (GMT) |
|---|---|---|
| committer | Philip <philip@philip-linuxlaptop.(none)> | 2010-11-12 17:46:02 (GMT) |
| commit | ebcded767e1e35a3431b4938cb9dd39b6b8ad188 (patch) | |
| tree | ae59c29202d7095eecea81c745c494bb909f5312 /src/interface.c | |
| parent | 383b2ad709e8b03702c8590ce944639ddd471e7b (diff) | |
| download | powder-ebcded767e1e35a3431b4938cb9dd39b6b8ad188.zip powder-ebcded767e1e35a3431b4938cb9dd39b6b8ad188.tar.gz | |
First release of the mod
Diffstat (limited to 'src/interface.c')
| -rw-r--r-- | src/interface.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/interface.c b/src/interface.c index 90684a3..7fae854 100644 --- a/src/interface.c +++ b/src/interface.c @@ -170,7 +170,7 @@ void add_sign_ui(pixel *vid_buf, int mx, int my) draw_icon(vid_buf, x0+68, y0+42, 0x9E, ju == 1); draw_icon(vid_buf, x0+86, y0+42, 0x9F, ju == 2); - drawrect(vid_buf,x0+104,y0+42,26,15,255,255,255,255); + @@ -180,6 +180,8 @@ void add_sign_ui(pixel *vid_buf, int mx, int my) drawtext(vid_buf, x0+138, y0+45, "\x85", 255, 255, 255, 255); drawtext(vid_buf, x0+152, y0+46, "Delete", 255, 255, 255, 255); drawrect(vid_buf, x0+134, y0+42, 50, 15, 255, 255, 255, 255); + drawrect(vid_buf,x0+104,y0+42,26,15,255,255,255,255); + drawtext(vid_buf, x0+110, y0+48, "Mv.", 255, 255, 255, 255); } drawtext(vid_buf, x0+5, y0+69, "OK", 255, 255, 255, 255); @@ -196,7 +198,7 @@ void add_sign_ui(pixel *vid_buf, int mx, int my) if(b && !bq && mx>=x0+86 && mx<=x0+103 && my>=y0+42 && my<=y0+59) ju = 2; - if(b && !bq && mx>=x0+104 && mx<=x0+130 && my>=y0+42 && my<=y0+59) + if(!nm && b && !bq && mx>=x0+104 && mx<=x0+130 && my>=y0+42 && my<=y0+59) { MSIGN = i; break; |
