diff options
| author | Simon Robertshaw <simon@hardwired.org.uk> | 2011-10-24 16:20:18 (GMT) |
|---|---|---|
| committer | Simon Robertshaw <simon@hardwired.org.uk> | 2011-10-24 16:20:18 (GMT) |
| commit | 8f91f948c1082b09eba53f01704e98abc6bd611e (patch) | |
| tree | 2c86c6d8963cc867752eb61bf0c319662b91f7f3 /src/elements/plsm.c | |
| parent | 66fd41673b5e1c3a2d86af1a6f0c7f565639a482 (diff) | |
| download | powder-8f91f948c1082b09eba53f01704e98abc6bd611e.zip powder-8f91f948c1082b09eba53f01704e98abc6bd611e.tar.gz | |
Generate fire/plasma gradients at runtime, makes editing easier
Diffstat (limited to 'src/elements/plsm.c')
| -rw-r--r-- | src/elements/plsm.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/elements/plsm.c b/src/elements/plsm.c index 6cd0275..7fa99bb 100644 --- a/src/elements/plsm.c +++ b/src/elements/plsm.c @@ -1,4 +1,5 @@ #include <element.h> +#include "hmap.h" int graphics_PLSM(GRAPHICS_FUNC_ARGS) { @@ -12,7 +13,7 @@ int graphics_PLSM(GRAPHICS_FUNC_ARGS) *fireg = *colg; *fireb = *colb; - *pixel_mode = PMODE_NONE; //Clear default, don't draw pixel + *pixel_mode = PMODE_GLOW; //Clear default, don't draw pixel *pixel_mode |= FIRE_ADD; //Returning 0 means dynamic, do not cache return 0; |
