From e862d4a79b934a20d8c4cd283ff8292681b63314 Mon Sep 17 00:00:00 2001 From: Simon Tatham Date: Wed, 24 Feb 2016 19:05:43 +0000 Subject: Net: use the new findloop for loop detection. I've removed the old algorithm (the one described as 'footpath dsf' in the findloop.c appendix comment, though I hadn't thought of that name at the time), and replaced it with calls to the new API. This should have no functional effect: there weren't any known bugs in the previous loop-finder that affected currently supported play modes. But this generality improvement means that non-orientable playing surfaces could be supported in the future, which would have confused the old algorithm. And Net, being the only puzzle as yet that's played on a torus, is perhaps the one most likely to want to generalise further at some point. --- net.R | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'net.R') diff --git a/net.R b/net.R index 30701d9..8e98216 100644 --- a/net.R +++ b/net.R @@ -1,6 +1,6 @@ # -*- makefile -*- -NET_EXTRA = tree234 dsf +NET_EXTRA = tree234 dsf findloop net : [X] GTK COMMON net NET_EXTRA net-icon|no-icon -- cgit v1.1