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

This utility works basically the same as galaxiespicture: you feed it a .xbm bitmap on standard input, and it constructs a game ID which solves to exactly that image. It will pre-fill some squares if that's necessary to resolve ambiguity, or leave the grid completely blank if it can.
26 lines
648 B
Makefile
26 lines
648 B
Makefile
# -*- makefile -*-
|
|
|
|
pattern : [X] GTK COMMON pattern pattern-icon|no-icon
|
|
|
|
pattern : [G] WINDOWS COMMON pattern pattern.res|noicon.res
|
|
|
|
patternsolver : [U] pattern[STANDALONE_SOLVER] STANDALONE
|
|
patternsolver : [C] pattern[STANDALONE_SOLVER] STANDALONE
|
|
|
|
patternpicture : [U] pattern[STANDALONE_PICTURE_GENERATOR] STANDALONE
|
|
patternpicture : [C] pattern[STANDALONE_PICTURE_GENERATOR] STANDALONE
|
|
|
|
ALL += pattern[COMBINED]
|
|
|
|
!begin am gtk
|
|
GAMES += pattern
|
|
!end
|
|
|
|
!begin >list.c
|
|
A(pattern) \
|
|
!end
|
|
|
|
!begin >gamedesc.txt
|
|
pattern:pattern.exe:Pattern:Pattern puzzle:Fill in the pattern in the grid, given only the lengths of runs of black squares.
|
|
!end
|