From 2c7e47fc121014c1218d58248cd7c49cf2f38f0a Mon Sep 17 00:00:00 2001 From: Nathan Korth Date: Sat, 25 Feb 2012 10:34:26 -0500 Subject: New plugin: Picross Picross is a puzzle game also known as Picture Crossword, Nonograms, or Paint By Numbers. See http://en.wikipedia.org/wiki/Nonogram for information on how to play. Update 1: nicer graphics with less images, fixed directory listing, changed how the board works to make a lot of math more sane Update 2: added missing rb.yield to viewPicture loop Update 3: you can now save a game in progress Update 4: fixed a file pointer leak, improved the numbers font Update 5: no images, use vector num draw library add zoom, freedraw -- Bilgus Change-Id: Idc476b46b6eaa10818400fa789701d5bac83467f --- apps/plugins/picross/picross.make | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 apps/plugins/picross/picross.make (limited to 'apps/plugins/picross/picross.make') diff --git a/apps/plugins/picross/picross.make b/apps/plugins/picross/picross.make new file mode 100644 index 0000000000..7e78c0fb1c --- /dev/null +++ b/apps/plugins/picross/picross.make @@ -0,0 +1,24 @@ +# __________ __ ___. +# Open \______ \ ____ ____ | | _\_ |__ _______ ___ +# Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ / +# Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < < +# Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \ +# \/ \/ \/ \/ \/ +# $Id$ +# + +LUASCR_SRCDIR := $(APPSDIR)/plugins/picross +LUASCR_BUILDDIR := $(BUILDDIR)/apps/plugins/picross +LUASCRS := $(wildcard $(LUASCR_SRCDIR)/*.picross) + +#DUMMY := $(info [${LUASCRS}]) + +DUMMY : all + +all: $(subst $(LUASCR_SRCDIR)/,$(LUASCR_BUILDDIR)/,$(LUASCRS)) + +$(LUASCR_BUILDDIR)/%.picross: $(LUASCR_SRCDIR)/%.picross | $(LUASCR_BUILDDIR) + $(call PRINTS,CP $(subst $(LUASCR_SRCDIR)/,,$<))cp $< $@ + +$(LUASCR_BUILDDIR): + $(call PRINTS,MKDIR $@)mkdir -p $(LUASCR_BUILDDIR)/ -- cgit v1.2.3