FS#5725 - New Puzzle Game "PegBox"; with changes by myself:
- button definitions for m:robe 100 and sansa c200 - adapted graphics for m:robe 100 - use image size directly from auto-generated headers - save data files in correct directory - manual chapter (still missing most screenshots) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16957 a1c6a512-1295-4272-9138-f99709370657
|
@ -48,6 +48,7 @@ mpegplayer,viewers
|
|||
nim,games
|
||||
oscilloscope,demos
|
||||
pacbox,games
|
||||
pegbox,games
|
||||
pictureflow,demos
|
||||
plasma,demos
|
||||
pong,games
|
||||
|
|
|
@ -67,6 +67,7 @@ demystify.c
|
|||
jewels.c
|
||||
minesweeper.c
|
||||
oscilloscope.c
|
||||
pegbox.c
|
||||
pong.c
|
||||
sliding_puzzle.c
|
||||
snake.c
|
||||
|
|
|
@ -321,6 +321,51 @@ minesweeper_tiles.12x12x2.bmp
|
|||
minesweeper_tiles.8x8x1.bmp
|
||||
#endif
|
||||
|
||||
/* PegBox */
|
||||
#if (LCD_WIDTH >= 320) && (LCD_HEIGHT >= 240) && (LCD_DEPTH >= 16)
|
||||
pegbox_menu_top.320x68x16.bmp
|
||||
pegbox_menu_items.120x32x16.bmp
|
||||
pegbox_pieces.24x24x16.bmp
|
||||
pegbox_header.320x40x16.bmp
|
||||
#elif (LCD_WIDTH >= 240) && (LCD_HEIGHT >= 192) && (LCD_DEPTH >= 16)
|
||||
pegbox_menu_top.240x80x16.bmp
|
||||
pegbox_menu_items.120x32x16.bmp
|
||||
pegbox_pieces.16x16x16.bmp
|
||||
pegbox_header.240x40x16.bmp
|
||||
#elif (LCD_WIDTH >= 220) && (LCD_HEIGHT >= 176) && (LCD_DEPTH >= 16)
|
||||
pegbox_menu_top.220x60x16.bmp
|
||||
pegbox_menu_items.70x20x16.bmp
|
||||
pegbox_pieces.16x16x16.bmp
|
||||
pegbox_header.220x40x16.bmp
|
||||
#elif (LCD_WIDTH >= 176) && (LCD_HEIGHT >= 132) && (LCD_DEPTH >= 16)
|
||||
pegbox_menu_top.176x46x16.bmp
|
||||
pegbox_menu_items.60x17x16.bmp
|
||||
pegbox_pieces.12x12x16.bmp
|
||||
pegbox_header.176x28x16.bmp
|
||||
#elif (LCD_WIDTH >= 160) && (LCD_HEIGHT >= 128) && (LCD_DEPTH >= 16)
|
||||
pegbox_menu_top.160x42x16.bmp
|
||||
pegbox_menu_items.60x17x16.bmp
|
||||
pegbox_pieces.12x12x16.bmp
|
||||
pegbox_header.160x24x16.bmp
|
||||
#elif (LCD_WIDTH >= 160) && (LCD_HEIGHT >= 128) && (LCD_DEPTH > 1)
|
||||
pegbox_menu_top.160x42x4.bmp
|
||||
pegbox_menu_items.60x17x4.bmp
|
||||
pegbox_pieces.12x12x4.bmp
|
||||
pegbox_header.160x24x4.bmp
|
||||
#elif (LCD_WIDTH >= 138) && (LCD_HEIGHT >= 110) && (LCD_DEPTH > 1)
|
||||
pegbox_menu_top.138x34x4.bmp
|
||||
pegbox_menu_items.60x17x4.bmp
|
||||
pegbox_pieces.8x8x1.bmp
|
||||
pegbox_header.138x28x4.bmp
|
||||
#elif (LCD_WIDTH >= 160) && (LCD_HEIGHT >= 128) && (LCD_DEPTH == 1)
|
||||
pegbox_menu_top.160x42x1.bmp
|
||||
pegbox_menu_items.60x17x1.bmp
|
||||
pegbox_pieces.12x12x1.bmp
|
||||
pegbox_header.160x24x1.bmp
|
||||
#else
|
||||
pegbox_pieces.8x8x1.bmp
|
||||
#endif
|
||||
|
||||
/* Rockblox */
|
||||
#if (LCD_WIDTH == 320) && (LCD_HEIGHT == 240) && (LCD_DEPTH == 16)
|
||||
rockblox_background.320x240x16.bmp
|
||||
|
|
BIN
apps/plugins/bitmaps/native/pegbox_header.138x28x4.bmp
Normal file
After Width: | Height: | Size: 2.1 KiB |
BIN
apps/plugins/bitmaps/native/pegbox_header.160x24x1.bmp
Normal file
After Width: | Height: | Size: 542 B |
BIN
apps/plugins/bitmaps/native/pegbox_header.160x24x16.bmp
Normal file
After Width: | Height: | Size: 7.6 KiB |
BIN
apps/plugins/bitmaps/native/pegbox_header.160x24x4.bmp
Normal file
After Width: | Height: | Size: 2 KiB |
BIN
apps/plugins/bitmaps/native/pegbox_header.176x28x16.bmp
Normal file
After Width: | Height: | Size: 9.7 KiB |
BIN
apps/plugins/bitmaps/native/pegbox_header.220x40x16.bmp
Normal file
After Width: | Height: | Size: 17 KiB |
BIN
apps/plugins/bitmaps/native/pegbox_header.240x40x16.bmp
Normal file
After Width: | Height: | Size: 19 KiB |
BIN
apps/plugins/bitmaps/native/pegbox_header.320x40x16.bmp
Normal file
After Width: | Height: | Size: 25 KiB |
BIN
apps/plugins/bitmaps/native/pegbox_menu_items.120x32x16.bmp
Normal file
After Width: | Height: | Size: 101 KiB |
BIN
apps/plugins/bitmaps/native/pegbox_menu_items.60x17x1.bmp
Normal file
After Width: | Height: | Size: 1.3 KiB |
BIN
apps/plugins/bitmaps/native/pegbox_menu_items.60x17x16.bmp
Normal file
After Width: | Height: | Size: 27 KiB |
BIN
apps/plugins/bitmaps/native/pegbox_menu_items.60x17x4.bmp
Normal file
After Width: | Height: | Size: 4.9 KiB |
BIN
apps/plugins/bitmaps/native/pegbox_menu_items.70x20x16.bmp
Normal file
After Width: | Height: | Size: 37 KiB |
BIN
apps/plugins/bitmaps/native/pegbox_menu_top.138x34x4.bmp
Normal file
After Width: | Height: | Size: 2.5 KiB |
BIN
apps/plugins/bitmaps/native/pegbox_menu_top.160x42x1.bmp
Normal file
After Width: | Height: | Size: 902 B |
BIN
apps/plugins/bitmaps/native/pegbox_menu_top.160x42x16.bmp
Normal file
After Width: | Height: | Size: 20 KiB |
BIN
apps/plugins/bitmaps/native/pegbox_menu_top.160x42x4.bmp
Normal file
After Width: | Height: | Size: 3.4 KiB |
BIN
apps/plugins/bitmaps/native/pegbox_menu_top.176x46x16.bmp
Normal file
After Width: | Height: | Size: 24 KiB |
BIN
apps/plugins/bitmaps/native/pegbox_menu_top.220x60x16.bmp
Normal file
After Width: | Height: | Size: 52 KiB |
BIN
apps/plugins/bitmaps/native/pegbox_menu_top.240x80x16.bmp
Normal file
After Width: | Height: | Size: 56 KiB |
BIN
apps/plugins/bitmaps/native/pegbox_menu_top.320x68x16.bmp
Normal file
After Width: | Height: | Size: 64 KiB |
BIN
apps/plugins/bitmaps/native/pegbox_pieces.12x12x1.bmp
Normal file
After Width: | Height: | Size: 398 B |
BIN
apps/plugins/bitmaps/native/pegbox_pieces.12x12x16.bmp
Normal file
After Width: | Height: | Size: 2 KiB |
BIN
apps/plugins/bitmaps/native/pegbox_pieces.12x12x4.bmp
Normal file
After Width: | Height: | Size: 2 KiB |
BIN
apps/plugins/bitmaps/native/pegbox_pieces.16x16x16.bmp
Normal file
After Width: | Height: | Size: 3.6 KiB |
BIN
apps/plugins/bitmaps/native/pegbox_pieces.24x24x16.bmp
Normal file
After Width: | Height: | Size: 7.9 KiB |
BIN
apps/plugins/bitmaps/native/pegbox_pieces.8x8x1.bmp
Normal file
After Width: | Height: | Size: 286 B |
1207
apps/plugins/pegbox.c
Normal file
BIN
manual/plugins/images/ss-pegbox-132x80x16.png
Normal file
After Width: | Height: | Size: 3.8 KiB |
BIN
manual/plugins/images/ss-pegbox-160x128x1.png
Normal file
After Width: | Height: | Size: 700 B |
|
@ -40,6 +40,8 @@ text files, chip8 games), or from the \setting{Open with} option on the
|
|||
|
||||
\opt{h1xx,m5,lcd_color}{\input{plugins/pacbox.tex}}
|
||||
|
||||
\opt{lcd_bitmap}{\input{plugins/pegbox.tex}}
|
||||
|
||||
\opt{lcd_bitmap}{\input{plugins/pong.tex}}
|
||||
|
||||
\opt{lcd_bitmap}{\input{plugins/robotfindskitten.tex}}
|
||||
|
|
92
manual/plugins/pegbox.tex
Normal file
|
@ -0,0 +1,92 @@
|
|||
% $Id: pegbox.tex 16693 2008-03-18 09:24:35Z roolku $ %
|
||||
\subsection{Pegbox}
|
||||
\screenshot{plugins/images/ss-pegbox}{pegbox}{img:pegbox}
|
||||
To beat each level, you must destroy all of the pegs. If two like pegs are
|
||||
pushed into each other they disappear except for triangles which form a solid
|
||||
block and crosses which allow you to choose a replacement block.
|
||||
|
||||
\begin{table}
|
||||
\begin{btnmap}{}{}
|
||||
\multicolumn{2}{c}{\textbf{In game}}\\\hline
|
||||
|
||||
\opt{RECORDER_PAD,ARCHOS_AV300_PAD,ONDIO_PAD,IRIVER_H100_PAD,IRIVER_H300_PAD,IAUDIO_X5_PAD,GIGABEAT_PAD,MROBE100_PAD,SANSA_E200_PAD}{\ButtonUp, \ButtonDown, }
|
||||
\opt{IPOD_4G_PAD,IPOD_3G_PAD}{\ButtonMenu, \ButtonPlay, }
|
||||
\opt{IRIVER_H10_PAD}{\ButtonScrollUp, \ButtonScrollDown, }
|
||||
\ButtonLeft, \ButtonRight
|
||||
& to move around\\
|
||||
|
||||
\opt{RECORDER_PAD}{\ButtonOn}
|
||||
\opt{ONDIO_PAD}{\ButtonMenu}
|
||||
\opt{IRIVER_H100_PAD,IRIVER_H300_PAD}{\ButtonSelect}
|
||||
\opt{IPOD_4G_PAD,IPOD_3G_PAD,IPOD_1G2G_PAD}{\ButtonSelect}
|
||||
\opt{IAUDIO_X5_PAD}{\ButtonSelect}
|
||||
\opt{IRIVER_H10_PAD}{\ButtonPlay}
|
||||
\opt{SANSA_E200_PAD}{\ButtonSelect}
|
||||
\opt{GIGABEAT_PAD}{\ButtonSelect}
|
||||
\opt{MROBE100_PAD}{\ButtonSelect}
|
||||
\opt{SANSA_C200_PAD}{\ButtonSelect}
|
||||
& to select\\
|
||||
|
||||
\opt{RECORDER_PAD}{\ButtonOff}
|
||||
\opt{ONDIO_PAD}{\ButtonOFF}
|
||||
\opt{IRIVER_H100_PAD,IRIVER_H300_PAD}{\ButtonOff}
|
||||
\opt{IPOD_4G_PAD,IPOD_3G_PAD,IPOD_1G2G_PAD}{\ButtonSelect + \ButtonMenu}
|
||||
\opt{IAUDIO_X5_PAD}{\ButtonPower}
|
||||
\opt{IRIVER_H10_PAD}{\ButtonPower}
|
||||
\opt{SANSA_E200_PAD}{\ButtonPower}
|
||||
\opt{GIGABEAT_PAD}{\ButtonPower}
|
||||
\opt{MROBE100_PAD}{\ButtonPower}
|
||||
\opt{SANSA_C200_PAD}{\ButtonPower}
|
||||
& to quit\\
|
||||
|
||||
\opt{RECORDER_PAD}{\ButtonF2}
|
||||
\opt{ONDIO_PAD}{\ButtonMenu + \ButtonUp}
|
||||
\opt{IRIVER_H100_PAD,IRIVER_H300_PAD}{\ButtonMode}
|
||||
\opt{IPOD_4G_PAD,IPOD_3G_PAD,IPOD_1G2G_PAD}{\ButtonSelect + \ButtonRight}
|
||||
\opt{IAUDIO_X5_PAD}{\ButtonPlay + \ButtonRight}
|
||||
\opt{IRIVER_H10_PAD}{\ButtonFf}
|
||||
\opt{SANSA_E200_PAD}{\ButtonRec}
|
||||
\opt{GIGABEAT_PAD}{\ButtonMenu}
|
||||
\opt{MROBE100_PAD}{\ButtonMenu}
|
||||
\opt{SANSA_C200_PAD}{\ButtonRec + \ButtonSelect}
|
||||
& to save\\
|
||||
|
||||
\opt{RECORDER_PAD}{\ButtonOn}
|
||||
\opt{ONDIO_PAD}{\ButtonMenu + \ButtonDown}
|
||||
\opt{IRIVER_H100_PAD,IRIVER_H300_PAD}{\ButtonSelect}
|
||||
\opt{IPOD_4G_PAD,IPOD_3G_PAD,IPOD_1G2G_PAD}{\ButtonSelect + \ButtonLeft}
|
||||
\opt{IAUDIO_X5_PAD}{\ButtonPlay + \ButtonLeft}
|
||||
\opt{IRIVER_H10_PAD}{long \ButtonFf}
|
||||
\opt{SANSA_E200_PAD}{\ButtonSelect}
|
||||
\opt{GIGABEAT_PAD}{\ButtonA}
|
||||
\opt{MROBE100_PAD}{\ButtonPlay}
|
||||
\opt{SANSA_C200_PAD}{\ButtonRec}
|
||||
& to restart level\\
|
||||
|
||||
\opt{RECORDER_PAD}{\ButtonF1}
|
||||
\opt{ONDIO_PAD}{\ButtonMenu + \ButtonLeft}
|
||||
\opt{IRIVER_H100_PAD,IRIVER_H300_PAD}{\ButtonOn}
|
||||
\opt{IPOD_4G_PAD,IPOD_3G_PAD,IPOD_1G2G_PAD}{\ButtonScrollBack}
|
||||
\opt{IAUDIO_X5_PAD}{\ButtonPlay + \ButtonUp}
|
||||
\opt{IRIVER_H10_PAD}{\ButtonFf + \ButtonScrollUp}
|
||||
\opt{SANSA_E200_PAD}{\ButtonScrollUp}
|
||||
\opt{GIGABEAT_PAD}{\ButtonVolUp}
|
||||
\opt{MROBE100_PAD}{\ButtonDisplay}
|
||||
\opt{SANSA_C200_PAD}{\ButtonRec + \ButtonVolUp}
|
||||
& to go up a level\\
|
||||
|
||||
\opt{RECORDER_PAD}{\ButtonF3}
|
||||
\opt{ONDIO_PAD}{\ButtonMenu + \ButtonRight}
|
||||
\opt{IRIVER_H100_PAD,IRIVER_H300_PAD}{\ButtonRec}
|
||||
\opt{IPOD_4G_PAD,IPOD_3G_PAD,IPOD_1G2G_PAD}{\ButtonScrollFwd}
|
||||
\opt{IAUDIO_X5_PAD}{\ButtonPlay + \ButtonDown}
|
||||
\opt{IRIVER_H10_PAD}{\ButtonFf + \ButtonScrollDown}
|
||||
\opt{SANSA_E200_PAD}{\ButtonDown}
|
||||
\opt{GIGABEAT_PAD}{\ButtonVolDown}
|
||||
\opt{MROBE100_PAD}{Long \ButtonDisplay}
|
||||
\opt{SANSA_C200_PAD}{\ButtonRec + \ButtonVolDown}
|
||||
& to go down a level\\
|
||||
|
||||
\end{btnmap}
|
||||
\end{table}
|
||||
|