summaryrefslogtreecommitdiff
path: root/includes/powder.h
diff options
context:
space:
mode:
authorSavely Skresanov <savask@yandex.ru>2012-06-02 14:53:38 (GMT)
committer Savely Skresanov <savask@yandex.ru>2012-06-02 14:59:25 (GMT)
commit7f5408f196002476c4765f1cae833e1441e4b276 (patch)
tree4c5472506662dcb46fd2344c0129443a3a61c3aa /includes/powder.h
parent939265a77de93fd6e9b5136ad948fc16ce077918 (diff)
downloadpowder-7f5408f196002476c4765f1cae833e1441e4b276.zip
powder-7f5408f196002476c4765f1cae833e1441e4b276.tar.gz
Moved soap and stick men graphics things to special functions.
Diffstat (limited to 'includes/powder.h')
-rw-r--r--includes/powder.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/includes/powder.h b/includes/powder.h
index 29aac3b..5a66340 100644
--- a/includes/powder.h
+++ b/includes/powder.h
@@ -274,8 +274,8 @@
#define FLAG_SKIPMOVE 0x2 // skip movement for one frame, only implemented for PHOT
#define FLAG_MOVABLE 0x4 // if can move
-#define GRAPHICS_FUNC_ARGS particle *cpart, int nx, int ny, int *pixel_mode, int* cola, int *colr, int *colg, int *colb, int *firea, int *firer, int *fireg, int *fireb
-#define GRAPHICS_FUNC_SUBCALL_ARGS cpart, nx, ny, pixel_mode, cola, colr, colg, colb, firea, firer, fireg, fireb
+#define GRAPHICS_FUNC_ARGS particle *cpart, int nx, int ny, int *pixel_mode, int* cola, int *colr, int *colg, int *colb, int *firea, int *firer, int *fireg, int *fireb, pixel *vid
+#define GRAPHICS_FUNC_SUBCALL_ARGS cpart, nx, ny, pixel_mode, cola, colr, colg, colb, firea, firer, fireg, fireb, vid
struct particle
@@ -349,6 +349,8 @@ int graphics_ACEL(GRAPHICS_FUNC_ARGS);
int graphics_DCEL(GRAPHICS_FUNC_ARGS);
int graphics_GEL(GRAPHICS_FUNC_ARGS);
int graphics_TRON(GRAPHICS_FUNC_ARGS);
+int graphics_SOAP(GRAPHICS_FUNC_ARGS);
+int graphics_stickmen(GRAPHICS_FUNC_ARGS);
void TRON_init_graphics();