summaryrefslogtreecommitdiff
path: root/src/elements/newgraphics.c
diff options
context:
space:
mode:
authorSimon 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)
commit8f91f948c1082b09eba53f01704e98abc6bd611e (patch)
tree2c86c6d8963cc867752eb61bf0c319662b91f7f3 /src/elements/newgraphics.c
parent66fd41673b5e1c3a2d86af1a6f0c7f565639a482 (diff)
downloadpowder-8f91f948c1082b09eba53f01704e98abc6bd611e.zip
powder-8f91f948c1082b09eba53f01704e98abc6bd611e.tar.gz
Generate fire/plasma gradients at runtime, makes editing easier
Diffstat (limited to 'src/elements/newgraphics.c')
-rw-r--r--src/elements/newgraphics.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/elements/newgraphics.c b/src/elements/newgraphics.c
index 2f7be03..7a8fc32 100644
--- a/src/elements/newgraphics.c
+++ b/src/elements/newgraphics.c
@@ -1,4 +1,6 @@
#include <element.h>
+#include "hmap.h"
+
int graphics_QRTZ(GRAPHICS_FUNC_ARGS) //QRTZ and PQRT
{
int t = cpart->type, z = cpart->tmp - 5;//speckles!