mirror of
git://git.tartarus.org/simon/puzzles.git
synced 2025-04-20 23:51:29 -07:00
Improve connectedness-error highlighting in Range.
The previous approach of scanning the grid by depth-first search was fine for deciding whether it was connected, but not so good for pointing out where the mistake was in the grid. Replaced that code with a dsf-based version, which identifies all connected components so that an easy followup pass can highlight all but the largest as erroneous. [originally from svn r10223]
This commit is contained in:
8
range.R
8
range.R
@ -1,10 +1,12 @@
|
||||
# -*- makefile -*-
|
||||
|
||||
range : [X] GTK COMMON range range-icon|no-icon
|
||||
RANGE_EXTRA = dsf
|
||||
|
||||
range : [G] WINDOWS COMMON range range.res|noicon.res
|
||||
range : [X] GTK COMMON range RANGE_EXTRA range-icon|no-icon
|
||||
|
||||
ALL += range[COMBINED]
|
||||
range : [G] WINDOWS COMMON range RANGE_EXTRA range.res|noicon.res
|
||||
|
||||
ALL += range[COMBINED] RANGE_EXTRA
|
||||
|
||||
!begin am gtk
|
||||
GAMES += range
|
||||
|
Reference in New Issue
Block a user