diff options
| author | Savely Skresanov <savask@yandex.ru> | 2012-06-02 14:53:38 (GMT) |
|---|---|---|
| committer | Savely Skresanov <savask@yandex.ru> | 2012-06-02 14:59:25 (GMT) |
| commit | 7f5408f196002476c4765f1cae833e1441e4b276 (patch) | |
| tree | 4c5472506662dcb46fd2344c0129443a3a61c3aa /includes | |
| parent | 939265a77de93fd6e9b5136ad948fc16ce077918 (diff) | |
| download | powder-7f5408f196002476c4765f1cae833e1441e4b276.zip powder-7f5408f196002476c4765f1cae833e1441e4b276.tar.gz | |
Moved soap and stick men graphics things to special functions.
Diffstat (limited to 'includes')
| -rw-r--r-- | includes/powder.h | 6 | ||||
| -rw-r--r-- | includes/powdergraphics.h | 15 |
2 files changed, 11 insertions, 10 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(); diff --git a/includes/powdergraphics.h b/includes/powdergraphics.h index 66286c6..3684f2c 100644 --- a/includes/powdergraphics.h +++ b/includes/powdergraphics.h @@ -28,7 +28,6 @@ #define PMODE_LFLARE 0x00000040 #define PMODE_ADD 0x00000080 #define PMODE_BLEND 0x00000100 -#define PSPEC_STICKMAN 0x00000200 #define OPTIONS 0x0000F000 #define NO_DECO 0x00001000 @@ -43,13 +42,13 @@ #define EFFECT_GRAVOUT 0x02000000 #define EFFECT_LINES 0x04000000 -#define RENDER_EFFE OPTIONS | PSPEC_STICKMAN | EFFECT | PMODE_SPARK | PMODE_FLARE | PMODE_LFLARE -#define RENDER_FIRE OPTIONS | PSPEC_STICKMAN | PMODE_FLAT | PMODE_ADD | PMODE_BLEND | FIREMODE -#define RENDER_GLOW OPTIONS | PSPEC_STICKMAN | PMODE_FLAT | PMODE_GLOW | PMODE_ADD | PMODE_BLEND -#define RENDER_BLUR OPTIONS | PSPEC_STICKMAN | PMODE_FLAT | PMODE_BLUR | PMODE_ADD | PMODE_BLEND -#define RENDER_BLOB OPTIONS | PSPEC_STICKMAN | PMODE_FLAT | PMODE_BLOB | PMODE_ADD | PMODE_BLEND -#define RENDER_BASC OPTIONS | PSPEC_STICKMAN | PMODE_FLAT | PMODE_ADD | PMODE_BLEND -#define RENDER_NONE OPTIONS | PSPEC_STICKMAN | PMODE_FLAT +#define RENDER_EFFE OPTIONS | EFFECT | PMODE_SPARK | PMODE_FLARE | PMODE_LFLARE +#define RENDER_FIRE OPTIONS | PMODE_FLAT | PMODE_ADD | PMODE_BLEND | FIREMODE +#define RENDER_GLOW OPTIONS | PMODE_FLAT | PMODE_GLOW | PMODE_ADD | PMODE_BLEND +#define RENDER_BLUR OPTIONS | PMODE_FLAT | PMODE_BLUR | PMODE_ADD | PMODE_BLEND +#define RENDER_BLOB OPTIONS | PMODE_FLAT | PMODE_BLOB | PMODE_ADD | PMODE_BLEND +#define RENDER_BASC OPTIONS | PMODE_FLAT | PMODE_ADD | PMODE_BLEND +#define RENDER_NONE OPTIONS | PMODE_FLAT #define COLOUR_HEAT 0x00000001 #define COLOUR_LIFE 0x00000002 |
