mirror of
git://git.tartarus.org/simon/puzzles.git
synced 2025-04-21 08:01:30 -07:00
Files

Bridges only needs a loop detector for its non-default 'don't allow loops' mode. But the one it had was using the graph-pruning strategy, which means it had the dumb-bell bug - two loops joined by a path would highlight the path as well as the loops. Switching to the new findloop system fixes that bug. A side effect is that I've been able to remove the 'scratch' array from the game_state, which was only used by the old loop finder, so that should save memory.
22 lines
438 B
Makefile
22 lines
438 B
Makefile
# -*- makefile -*-
|
|
|
|
BRIDGES_EXTRA = dsf findloop
|
|
|
|
bridges : [X] GTK COMMON bridges BRIDGES_EXTRA bridges-icon|no-icon
|
|
|
|
bridges : [G] WINDOWS COMMON bridges BRIDGES_EXTRA bridges.res|noicon.res
|
|
|
|
ALL += bridges[COMBINED] BRIDGES_EXTRA
|
|
|
|
!begin am gtk
|
|
GAMES += bridges
|
|
!end
|
|
|
|
!begin >list.c
|
|
A(bridges) \
|
|
!end
|
|
|
|
!begin >gamedesc.txt
|
|
bridges:bridges.exe:Bridges:Bridge-placing puzzle:Connect all the islands with a network of bridges.
|
|
!end
|