summaryrefslogtreecommitdiff
path: root/includes
diff options
context:
space:
mode:
authorSimon <simon@hardwired.org.uk>2010-12-19 14:20:38 (GMT)
committer Simon <simon@hardwired.org.uk>2010-12-19 14:20:38 (GMT)
commit92d22ac59060800461d23714b2db1a75f7619d2b (patch)
tree1eb6579fe7dda5228308f7941a1c1fa4af55fddc /includes
parent9c805f864315665a6d7fd5d6c5b319c669f25988 (diff)
downloadpowder-92d22ac59060800461d23714b2db1a75f7619d2b.zip
powder-92d22ac59060800461d23714b2db1a75f7619d2b.tar.gz
Nibble is a noob, also fix for persistent mode bug
Diffstat (limited to 'includes')
-rw-r--r--includes/graphics.h2
-rw-r--r--includes/powder.h2
2 files changed, 3 insertions, 1 deletions
diff --git a/includes/graphics.h b/includes/graphics.h
index 3524395..a5de71a 100644
--- a/includes/graphics.h
+++ b/includes/graphics.h
@@ -131,6 +131,8 @@ void draw_image(pixel *vid, pixel *img, int x, int y, int w, int h, int a);
void dim_copy(pixel *dst, pixel *src);
+void dim_copy_pers(pixel *dst, pixel *src);
+
void render_zoom(pixel *img);
pixel *prerender_save(void *save, int size, int *width, int *height);
diff --git a/includes/powder.h b/includes/powder.h
index 2f8290c..d9fba4d 100644
--- a/includes/powder.h
+++ b/includes/powder.h
@@ -212,7 +212,6 @@ struct particle
float pavg[2];
int flags;
int tmp;
- int (*update_func) (int);
};
typedef struct particle particle;
@@ -240,6 +239,7 @@ struct part_type
unsigned char hconduct;
const char *descs;
const unsigned short properties;
+ int (*update_func) (int);
};
typedef struct part_type part_type;