mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-11-09 13:12:37 -05:00
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
|
|
@ -182,6 +182,13 @@ sub make_install {
|
|||
#glob_mkdir("$temp_dir/rocks/demos/lua_scripts");
|
||||
#glob_copy("$ROOT/apps/plugins/lua_scripts/*.lua", "$temp_dir/rocks/demos/lua_scripts/");
|
||||
}
|
||||
#lua picross puzzles
|
||||
if(-e "$ROOT/apps/plugins/picross") {
|
||||
unless (glob_mkdir("$libdir/rocks/games/picross")) {
|
||||
return 0;
|
||||
}
|
||||
glob_install("$ROOT/apps/plugins/picross/*.picross", "$libdir/rocks/games/picross");
|
||||
}
|
||||
|
||||
# all the rest directories
|
||||
foreach my $t (@userstuff) {
|
||||
|
|
@ -533,6 +540,10 @@ sub buildzip {
|
|||
copy("$ROOT/apps/plugins/sokoban.levels", "$temp_dir/rocks/games/sokoban.levels"); # sokoban levels
|
||||
copy("$ROOT/apps/plugins/snake2.levels", "$temp_dir/rocks/games/snake2.levels"); # snake2 levels
|
||||
copy("$ROOT/apps/plugins/rockbox-fonts.config", "$temp_dir/rocks/viewers/");
|
||||
# picross files
|
||||
copy("$ROOT/apps/plugins/picross_default.picross", "$temp_dir/rocks/games/picross_default.picross");
|
||||
copy("$ROOT/apps/plugins/bitmaps/native/picross_numbers.bmp",
|
||||
"$temp_dir/rocks/games/picross_numbers.bmp");
|
||||
}
|
||||
|
||||
if(-e "$temp_dir/rocks/demos/pictureflow.rock") {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue