rockbox/manual/plugins/rocklife.tex
Alex Parker b7330ca295 Correct manual keymaps for plugins recently converted to PLA, and use manual PLA defines for them.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26380 a1c6a512-1295-4272-9138-f99709370657
2010-05-29 15:23:22 +00:00

36 lines
No EOL
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)\\
\PluginCancel
\opt{HAVEREMOTEKEYMAP}{& \PluginRCCancel}
& Exit\\
\end{btnmap}