Fix Life and heat display, implement alpha, blend and add, fix FILT, INVS and BRAY + others

This commit is contained in:
Simon Robertshaw
2011-10-28 23:48:57 +01:00
parent 7413654b9f
commit e46f26684b
5 changed files with 107 additions and 55 deletions

View File

@@ -75,7 +75,7 @@ struct gcache_item
{
int isready;
int pixel_mode;
int colr, colg, colb;
int cola, colr, colg, colb;
int firea, firer, fireg, fireb;
};
typedef struct gcache_item gcache_item;

View File

@@ -246,8 +246,8 @@
#define FLAG_STAGNANT 1
#define GRAPHICS_FUNC_ARGS particle *cpart, int nx, int ny, int *pixel_mode, int *colr, int *colg, int *colb, int *firea, int *firer, int *fireg, int *fireb
#define GRAPHICS_FUNC_SUBCALL_ARGS cpart, nx, ny, pixel_mode, 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
#define GRAPHICS_FUNC_SUBCALL_ARGS cpart, nx, ny, pixel_mode, cola, colr, colg, colb, firea, firer, fireg, fireb
struct particle