forked from len0rd/rockbox
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
This commit is contained in:
parent
3ae48284c1
commit
2c7e47fc12
8 changed files with 872 additions and 0 deletions
24
apps/plugins/picross/picross.make
Normal file
24
apps/plugins/picross/picross.make
Normal file
|
|
@ -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)/
|
||||
7
apps/plugins/picross/picross_default.picross
Executable file
7
apps/plugins/picross/picross_default.picross
Executable file
|
|
@ -0,0 +1,7 @@
|
|||
# simple default puzzle
|
||||
|
||||
****..*...*..
|
||||
*...*.*...*..
|
||||
****..*.*****
|
||||
*.....*...*..
|
||||
*.....*...*..
|
||||
7
apps/plugins/picross/rb.picross
Normal file
7
apps/plugins/picross/rb.picross
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
#open source jukebox firmware
|
||||
|
||||
****...**...***.*..*..............
|
||||
*...*.*..*.*....*.*.*.............
|
||||
****..*..*.*....**..***...**..*..*
|
||||
*..**.*..*.*....*.*.*..*.*..*..**.
|
||||
*...*..**...***.*..****...**..*..*
|
||||
Loading…
Add table
Add a link
Reference in a new issue