faa2cb9942
- Reduce need to press multiple buttons at the same time to quit a plugin - Have "Menu" be default way to quit plugins or to access plugin menu - Fall back to (Long) "Select" or Long "Menu" in cases where Menu button isn't available (e.g. in ImageViewer and many games) out of scope: boomshine, lua_scripts, Rockpaint, Doom, Duke3D, Pacbox, Quake, Sgt-Puzzles, Wolf3D, XWorld, Minesweeper, Pixel Painter, Spacerocks Change-Id: I6d4dc7174695fe4b8ee9cbaccb21bdbfe6af5c48
37 lines
No EOL
1.1 KiB
TeX
37 lines
No EOL
1.1 KiB
TeX
\subsection{Rocklife}
|
|
|
|
This an implementation of J. H. Conway's Game of Life (see
|
|
\url{http://en.wikipedia.org/wiki/Conway%27s_Game_of_Life} for a detailed
|
|
description).
|
|
|
|
Rockbox can open files with a configuration description (\fname{.cells} files).
|
|
Just ``play'' such file and the game configuration stored in it will be loaded
|
|
into this plugin.
|
|
|
|
A \fname{.cells} file is a text file. A capital `O' marks a live cell, a dot
|
|
marks a dead cell, all other characters are ignored. Everything on a line
|
|
starting with an exclamation sign (and including it) is a comment and is
|
|
ignored.
|
|
|
|
\begin{btnmap}
|
|
\PluginSelect
|
|
\opt{HAVEREMOTEKEYMAP}{& \PluginRCSelect}
|
|
& Play/pause\\
|
|
|
|
\PluginDown
|
|
\opt{HAVEREMOTEKEYMAP}{& \PluginRCDown}
|
|
& Change growth mode\\
|
|
|
|
\PluginRight
|
|
\opt{HAVEREMOTEKEYMAP}{& \PluginRCRight}
|
|
& Next generation\\
|
|
|
|
\PluginLeft
|
|
\opt{HAVEREMOTEKEYMAP}{& \PluginRCLeft}
|
|
& Status (only when paused)\\
|
|
|
|
\nopt{IPOD_4G_PAD,IPOD_3G_PAD}{\PluginCancel}
|
|
\opt{IPOD_4G_PAD,IPOD_3G_PAD}{\ButtonMenu}
|
|
\opt{HAVEREMOTEKEYMAP}{& \PluginRCCancel}
|
|
& Exit\\
|
|
\end{btnmap} |