summaryrefslogtreecommitdiff
path: root/includes
diff options
context:
space:
mode:
authorPhilip <philip@philip-linuxlaptop.(none)>2010-10-30 03:37:15 (GMT)
committer Philip <philip@philip-linuxlaptop.(none)>2010-10-30 03:37:15 (GMT)
commit8f397f3a039794bf01a4e0ad3d9de0ed9e5d5184 (patch)
tree80ad794d5cfe919679701c7eb36922f6c63793eb /includes
parentbb3b1a52ac2e5ad935640558f312c767a8ad9f15 (diff)
downloadpowder-8f397f3a039794bf01a4e0ad3d9de0ed9e5d5184.zip
powder-8f397f3a039794bf01a4e0ad3d9de0ed9e5d5184.tar.gz
moving signs! i think everything still works, click the weird random extra button, someone can add an icon later.
Diffstat (limited to 'includes')
-rw-r--r--includes/defines.h2
-rw-r--r--includes/interface.h2
2 files changed, 3 insertions, 1 deletions
diff --git a/includes/defines.h b/includes/defines.h
index 0f80ab6..8ffa449 100644
--- a/includes/defines.h
+++ b/includes/defines.h
@@ -90,7 +90,7 @@ extern int death;
struct sign
{
- int x,y,ju;
+ int x,y,ju,m;
char text[256];
};
typedef struct sign sign;
diff --git a/includes/interface.h b/includes/interface.h
index ddc260d..b378a99 100644
--- a/includes/interface.h
+++ b/includes/interface.h
@@ -153,6 +153,8 @@ void get_sign_pos(int i, int *x0, int *y0, int *w, int *h);
void add_sign_ui(pixel *vid_buf, int mx, int my);
+void move_sign(pixel *vid_buf,int i);
+
void ui_edit_draw(pixel *vid_buf, ui_edit *ed);
void ui_edit_process(int mx, int my, int mb, ui_edit *ed);