summaryrefslogtreecommitdiff
path: root/includes
diff options
context:
space:
mode:
authorPhilip <philip@philip-linuxlaptop.(none)>2010-11-19 23:01:56 (GMT)
committer Philip <philip@philip-linuxlaptop.(none)>2010-11-19 23:01:56 (GMT)
commitc1182db42d609a181128b818da28d323c39445fc (patch)
tree78d15c7307271034e00f0902904bc555b9ff5799 /includes
parent435f71c7814cf9d4c55168852caf21ac80674490 (diff)
downloadpowder-c1182db42d609a181128b818da28d323c39445fc.zip
powder-c1182db42d609a181128b818da28d323c39445fc.tar.gz
Fixed SWCH for real. Fix repeating spark while creating it. Adjustable x and y for brushes.
Diffstat (limited to 'includes')
-rw-r--r--includes/graphics.h2
-rw-r--r--includes/powder.h4
2 files changed, 3 insertions, 3 deletions
diff --git a/includes/graphics.h b/includes/graphics.h
index e23fe9d..2cb37d3 100644
--- a/includes/graphics.h
+++ b/includes/graphics.h
@@ -137,7 +137,7 @@ pixel *prerender_save(void *save, int size, int *width, int *height);
int render_thumb(void *thumb, int size, int bzip2, pixel *vid_buf, int px, int py, int scl);
-void render_cursor(pixel *vid, int x, int y, int t, int r);
+void render_cursor(pixel *vid, int x, int y, int t, float rx, float ry);
void sdl_open(void);
diff --git a/includes/powder.h b/includes/powder.h
index ae128e6..627b74b 100644
--- a/includes/powder.h
+++ b/includes/powder.h
@@ -540,8 +540,8 @@ void create_box(int x1, int y1, int x2, int y2, int c);
int flood_parts(int x, int y, int c, int cm, int bm);
-int create_parts(int x, int y, int r, int c);
+int create_parts(int x, int y, float rx, float ry, int c);
-void create_line(int x1, int y1, int x2, int y2, int r, int c);
+void create_line(int x1, int y1, int x2, int y2, float rx, float ry, int c);
#endif