summaryrefslogtreecommitdiff
path: root/includes
diff options
context:
space:
mode:
authorjacksonmj <mj-pt@jacksonmj.co.uk>2011-05-28 22:15:29 (GMT)
committer Simon Robertshaw <simon@hardwired.org.uk>2011-05-29 12:36:11 (GMT)
commitf603e33e74f82fa14bb6747a43773a8b47ceaa3c (patch)
treede64fddd4f65cd42419d3d79a076aa2184dedc2f /includes
parent5e414e64dcb41df0621ac35ffe53c13233469356 (diff)
downloadpowder-f603e33e74f82fa14bb6747a43773a8b47ceaa3c.zip
powder-f603e33e74f82fa14bb6747a43773a8b47ceaa3c.tar.gz
Small speed improvement to eval_move
Warning: may be buggy, test thoroughly.
Diffstat (limited to 'includes')
-rw-r--r--includes/powder.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/includes/powder.h b/includes/powder.h
index f960ee1..4328844 100644
--- a/includes/powder.h
+++ b/includes/powder.h
@@ -862,6 +862,7 @@ unsigned photons[YRES][XRES];
int do_move(int i, int x, int y, float nxf, float nyf);
int try_move(int i, int x, int y, int nx, int ny);
int eval_move(int pt, int nx, int ny, unsigned *rr);
+void init_can_move();
static void create_cherenkov_photon(int pp);
static void create_gain_photon(int pp);