summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/powder.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/powder.c b/src/powder.c
index d85d498..2d2e099 100644
--- a/src/powder.c
+++ b/src/powder.c
@@ -49,7 +49,12 @@ static void photoelectric_effect(int nx, int ny)
pn_junction_sprk(nx, ny, PT_PSCN);
}
}
-
+/*
+ RETURN-value explenation
+1 = Swap
+0 = No move/Bounce
+2 = Both particles occupy the same space.
+ */
static int eval_move(int pt, int nx, int ny, unsigned *rr)
{
unsigned r;