diff options
| author | Martin Arver <martin.arver@gmail.com> | 2006-03-30 16:52:33 +0000 |
|---|---|---|
| committer | Martin Arver <martin.arver@gmail.com> | 2006-03-30 16:52:33 +0000 |
| commit | 1ccc81bf8f4382e56f0f0ae0779381fb5d4a88c4 (patch) | |
| tree | 4fbf0b25f3b18a9bf45727f6cc17c90bd38ce17a | |
| parent | aecfa286256433c314aa13bbd42c6fddb0a6ff34 (diff) | |
| download | rockbox-1ccc81bf8f4382e56f0f0ae0779381fb5d4a88c4.zip rockbox-1ccc81bf8f4382e56f0f0ae0779381fb5d4a88c4.tar.gz rockbox-1ccc81bf8f4382e56f0f0ae0779381fb5d4a88c4.tar.bz2 rockbox-1ccc81bf8f4382e56f0f0ae0779381fb5d4a88c4.tar.xz | |
Patch #4960 from Dominik Riebeling. Use the screenshot macro for the plugins.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9362 a1c6a512-1295-4272-9138-f99709370657
33 files changed, 45 insertions, 196 deletions
diff --git a/manual/plugins/battery_test.tex b/manual/plugins/battery_test.tex index 6d798f4..8754469 100644 --- a/manual/plugins/battery_test.tex +++ b/manual/plugins/battery_test.tex @@ -1,10 +1,6 @@ \subsection{Battery\_test} -\begin{figure}[h!] -\begin{center} -\includegraphics[width=4cm]{plugins/images/ss-battery_test-\genericimg.png} -\end{center} -\caption{Battery Test} -\end{figure} +\screenshot{plugins/images/ss-battery_test-\genericimg.png}{Battery Test}% +{img:batterytest} This plugin simulates normal power drain by spinning up the disk and reading a big file once every 90 seconds (or thereabouts). Each diff --git a/manual/plugins/bounce.tex b/manual/plugins/bounce.tex index a763677..179e05b 100644 --- a/manual/plugins/bounce.tex +++ b/manual/plugins/bounce.tex @@ -1,10 +1,5 @@ \subsection{Bounce} -\begin{figure}[h] -\begin{center} -\includegraphics[width=4cm]{plugins/images/ss-bounce-\genericimg.png} -\end{center} -\caption{Bounce} -\end{figure} +\screenshot{plugins/images/ss-bounce-\genericimg.png}{Bounce}{img:bounce} This demo is of the word ``Rockbox'' bouncing across the screen. There is also an analogue clock on the Recorder platform. (The Ondio does diff --git a/manual/plugins/brickmania.tex b/manual/plugins/brickmania.tex index 8937e46..e7c8e59 100644 --- a/manual/plugins/brickmania.tex +++ b/manual/plugins/brickmania.tex @@ -1,10 +1,6 @@ \subsection{BrickMania} -\begin{figure}[ht!] -\begin{center} -\includegraphics[width=4cm]{plugins/images/ss-brickmania-\genericimg.png} -\end{center} -\caption{BrickMania} -\end{figure} +\screenshot{plugins/images/ss-brickmania-\genericimg.png}{BrickMania}% +{img:brickmania} \textbf{Aim}: destroy all the bricks by hitting them with the ball once or more. Sometimes a special falls down when you destroy a brick.\\ diff --git a/manual/plugins/bubbles.tex b/manual/plugins/bubbles.tex index cdc68f9..e7b07c0 100644 --- a/manual/plugins/bubbles.tex +++ b/manual/plugins/bubbles.tex @@ -1,10 +1,5 @@ \subsection{Bubbles} -\begin{figure}[ht!] -\begin{center} -\includegraphics[width=4cm]{plugins/images/ss-bubbles-\genericimg.png} -\end{center} -\caption{Bubbles} -\end{figure} +\screenshot{plugins/images/ss-bubbles-\genericimg.png}{Bubbles}{img:bubbles} The goal of the game is to beat each level as quickly as possible by clearing the board of all bubbles. Bubbles are removed from the board when a cluster of three of more of the same type is formed. The game is over when any bubbles on diff --git a/manual/plugins/chess_clock.tex b/manual/plugins/chess_clock.tex index 5429b85..badefce 100644 --- a/manual/plugins/chess_clock.tex +++ b/manual/plugins/chess_clock.tex @@ -1,10 +1,6 @@ \subsection{Chess Clock} -\begin{figure}[h!] -\begin{center} -\includegraphics[width=4cm]{plugins/images/ss-chess_clock-\genericimg.png} -\end{center} -\caption{Chess Clock} -\end{figure} +\screenshot{plugins/images/ss-chess_clock-\genericimg.png}{Chess Clock}% +{img:chessclock} The chess clock plugin is designed to simulate a chess clock, but it can be used diff --git a/manual/plugins/chessbox.tex b/manual/plugins/chessbox.tex index 98849c0..4ee5e2d 100644 --- a/manual/plugins/chessbox.tex +++ b/manual/plugins/chessbox.tex @@ -1,10 +1,5 @@ \subsection{Chessbox} -\begin{figure}[h!] -\begin{center} -\includegraphics[width=4cm]{plugins/images/ss-chessbox-\genericimg.png} -\end{center} -\caption{Chessbox} -\end{figure} +\screenshot{plugins/images/ss-chessbox-\genericimg.png}{Chessbox}{img:chessbox} Chessbox is a chess game with computer AI. The chess engine is a port of GNU Chess 2 by John Stanback.\\ \textbf{Keys} diff --git a/manual/plugins/cube.tex b/manual/plugins/cube.tex index 766aea6..12dbb33 100644 --- a/manual/plugins/cube.tex +++ b/manual/plugins/cube.tex @@ -1,10 +1,5 @@ \subsection{Cube} -\begin{figure}[h!] -\begin{center} -\includegraphics[width=4cm]{plugins/images/ss-cube-\genericimg.png} -\end{center} -\end{figure} -Cube +\screenshot{plugins/images/ss-cube-\genericimg.png}{Cube}{img:cube} This is a rotating cube screen saver in 3D. To see it at full speed, press PLAY and it will run at maximum frame rate. Also you can change the size of the x, y and z axis using LEFT, RIGHT, UP, DOWN, F1 and F2. diff --git a/manual/plugins/demystify.tex b/manual/plugins/demystify.tex index a3dc29d..c6da680 100644 --- a/manual/plugins/demystify.tex +++ b/manual/plugins/demystify.tex @@ -1,10 +1,6 @@ \subsection{Demystify} -\begin{figure}[ht!] -\begin{center} -\includegraphics[width=4cm]{plugins/images/ss-demystify-\genericimg.png} -\end{center} -\caption{Demystify} -\end{figure} +\screenshot{plugins/images/ss-demystify-\genericimg.png}{Demystify}% +{img:demystify} Demystify is a screen saver like demo.\\ \begin{table}[ht!] \begin{center} diff --git a/manual/plugins/fire.tex b/manual/plugins/fire.tex index 00fd2f1..da8e42a 100644 --- a/manual/plugins/fire.tex +++ b/manual/plugins/fire.tex @@ -1,10 +1,5 @@ \subsection{Fire} -\begin{figure}[ht!] -\begin{center} -\includegraphics[width=4cm]{plugins/images/ss-fire-\genericimg.png} -\end{center} -\caption{Fire} -\end{figure} +\screenshot{plugins/images/ss-fire-\genericimg.png}{Fire}{img:fire} Fire is a demo displaying a fire effect. \begin{table}[ht!] diff --git a/manual/plugins/flipit.tex b/manual/plugins/flipit.tex index 8e2491d..548b177 100644 --- a/manual/plugins/flipit.tex +++ b/manual/plugins/flipit.tex @@ -1,10 +1,5 @@ \subsection{Flipit} -\begin{figure}[h!] -\begin{center} -\includegraphics[width=4cm]{plugins/images/ss-flipit-\genericimg.png} -\end{center} -\end{figure} -Flipit plugin +\screenshot{plugins/images/ss-flipit-\genericimg.png}{Flipit}{img:flipit} Flipping the colour of the token under the cursor also flips the tokens above, below, left and right of the cursor. The aim is to end up with diff --git a/manual/plugins/jewels.tex b/manual/plugins/jewels.tex index c372d2c..c13a91d 100644 --- a/manual/plugins/jewels.tex +++ b/manual/plugins/jewels.tex @@ -1,10 +1,5 @@ \subsection{Jewels} -\begin{figure}[h!] -\begin{center} -\includegraphics[width=4cm]{plugins/images/ss-jewels-\genericimg.png} -\end{center} -\caption{Jewels} -\end{figure} +\screenshot{plugins/images/ss-jewels-\genericimg.png}{Jewels}{img:jewels} Jewels is a simple yet addicting game which involves swapping pairs of jewels in order to form connected segments of three or more of the same type. The goal of the game is to score as many points as possible before running out of available moves. Higher points are awarded to larger combos. The game advances to the next level after every one hundred points and randomly clears several jewels.\\ \opt{recorder,recorderv2fm}{Use the direction keys to move the cursor, press Play to select a jewel, press down long on Play to show the menu and press Off to cancel.} diff --git a/manual/plugins/mandelbrot.tex b/manual/plugins/mandelbrot.tex index ae1acfb..4433816 100644 --- a/manual/plugins/mandelbrot.tex +++ b/manual/plugins/mandelbrot.tex @@ -1,10 +1,6 @@ \subsection{Mandelbrot} -\begin{figure}[h!] -\begin{center} -\includegraphics[width=4cm]{plugins/images/ss-mandelbrot-\genericimg.png} -\end{center} -\caption{Mandelbrot} -\end{figure} +\screenshot{plugins/images/ss-mandelbrot-\genericimg.png}{Mandelbrot}% +{img:mandelbrot} This is another demonstration using the grayscale engine. It draws fractal images from the Mandelbrot set. diff --git a/manual/plugins/minesweeper.tex b/manual/plugins/minesweeper.tex index d58e860..d165461 100644 --- a/manual/plugins/minesweeper.tex +++ b/manual/plugins/minesweeper.tex @@ -1,10 +1,6 @@ \subsection{Minesweeper} -\begin{figure}[h!] -\begin{center} -\includegraphics[width=4cm]{plugins/images/ss-minesweeper-\genericimg.png} -\end{center} -\caption{Minesweeper plugin} -\end{figure} +\screenshot{plugins/images/ss-minesweeper-\genericimg.png}% +{Minesweeper plugin}{img:minesweeper} The classic game of minesweeper. Use the UP and DOWN keys to select the required percentage of mines to set the difficulty then press the MENU diff --git a/manual/plugins/mosaic.tex b/manual/plugins/mosaic.tex index 84ee27a..0c88aea 100644 --- a/manual/plugins/mosaic.tex +++ b/manual/plugins/mosaic.tex @@ -1,10 +1,5 @@ \subsection{Mosaic} -\begin{figure}[h!] -\begin{center} -\includegraphics[width=4cm]{plugins/images/ss-mosaic-\genericimg.png} -\end{center} -\caption{Mosaic} -\end{figure} +\screenshot{plugins/images/ss-mosaic-\genericimg.png}{Mosaic}{img:mosaic} This simple graphics demo draws a mosaic picture on the screen of the Jukebox. Press STOP to quit. diff --git a/manual/plugins/oscilloscope.tex b/manual/plugins/oscilloscope.tex index 8324b85..70136ef 100644 --- a/manual/plugins/oscilloscope.tex +++ b/manual/plugins/oscilloscope.tex @@ -1,10 +1,6 @@ \subsection{Oscilloscope} -\begin{figure}[ht!] -\begin{center} -\includegraphics[width=4cm]{plugins/images/ss-oscilloscope-\genericimg.png} -\end{center} -\caption{Oscilloscope} -\end{figure} +\screenshot{plugins/images/ss-oscilloscope-\genericimg.png}{Oscilloscope}% +{img:oscilloscope} This demo shows the shape of the sound samples that make up the music being played. At faster speed rates, the Jukebox is less responsive diff --git a/manual/plugins/pacbox.tex b/manual/plugins/pacbox.tex index bd04a66..be1c67f 100644 --- a/manual/plugins/pacbox.tex +++ b/manual/plugins/pacbox.tex @@ -1,11 +1,6 @@ \subsection{Pacbox} Pacbox is an emulator of the Pacman arcade machine hardware. It is a port of \emph{PIE - Pacman Instructional Emulator} (\url{http://www.ascotti.org/programming/pie/pie.htm}). -\begin{figure}[h!] - \begin{center} - \includegraphics[width=4cm]{plugins/images/ss-pacbox-\genericimg.png} - \end{center} - \caption{Pacbox} -\end{figure} +\screenshot{plugins/images/ss-pacbox-\genericimg.png}{Pacbox}{img:pacbox} \subsubsection{ROMs} To use the emulator to play Pacman, you need a copy of ROMs for "Midway Pacman". diff --git a/manual/plugins/plasma.tex b/manual/plugins/plasma.tex index fb5387d..f693f03 100644 --- a/manual/plugins/plasma.tex +++ b/manual/plugins/plasma.tex @@ -1,10 +1,5 @@ \subsection{Plasma} -\begin{figure}[ht!] -\begin{center} -\includegraphics[width=4cm]{plugins/images/ss-plasma-\genericimg.png} -\end{center} -\caption{Plasma} -\end{figure} +\screenshot{plugins/images/ss-plasma-\genericimg.png}{Plasma}{img:plasma} Plasma is a demo displaying a 80's style retro plasma effect. \begin{table}[ht!] diff --git a/manual/plugins/pong.tex b/manual/plugins/pong.tex index bd01575..a37ac54 100644 --- a/manual/plugins/pong.tex +++ b/manual/plugins/pong.tex @@ -1,10 +1,5 @@ \subsection{Pong} -\begin{figure}[ht!] -\begin{center} -\includegraphics[width=4cm]{plugins/images/ss-pong-\genericimg.png} -\end{center} -\caption{Pong} -\end{figure} +\screenshot{plugins/images/ss-pong-\genericimg.png}{Pong}{img:pong} Pong is a simple two player "tennis game". Whenever a player misses the ball the other scores. \begin{table}[ht!] diff --git a/manual/plugins/rockblox.tex b/manual/plugins/rockblox.tex index b0b024f..3e7dbe0 100644 --- a/manual/plugins/rockblox.tex +++ b/manual/plugins/rockblox.tex @@ -1,10 +1,6 @@ \subsection{Rockblox} -\begin{figure}[h!] -\begin{center} -\includegraphics[width=4cm]{plugins/images/ss-rockblox-\genericimg.png} -\end{center} -\caption{Rockblox plugin} -\end{figure} +\screenshot{plugins/images/ss-rockblox-\genericimg.png}{Rockblox plugin}% +{img:rockblox} This well{}-known game will probably be familiar. The aim of the game is to complete rows with the given pieces (blocks). Pieces can be rotated diff --git a/manual/plugins/rockboy.tex b/manual/plugins/rockboy.tex index 0f20e4f..d6f56eb 100644 --- a/manual/plugins/rockboy.tex +++ b/manual/plugins/rockboy.tex @@ -1,10 +1,5 @@ \subsection{\label{ref:Rockboy}Rockboy} -\begin{figure}[ht!] -\begin{center} -\includegraphics[width=4cm]{plugins/images/ss-rockboy-\genericimg.png} -\end{center} -\caption{Rockboy} -\end{figure} +\screenshot{plugins/images/ss-rockboy-\genericimg.png}{Rockboy}{img:rockboy} Rockboy is a Nintendo Game Boy and Game Boy Color emulator for Rockbox based on the gnuboy emulator. To start a game open a ROM file saved as .gb or .gbc in the file browser.\\ diff --git a/manual/plugins/sliding.tex b/manual/plugins/sliding.tex index 1ec54cb..94ebbd6 100644 --- a/manual/plugins/sliding.tex +++ b/manual/plugins/sliding.tex @@ -1,10 +1,6 @@ \subsection{Sliding Puzzle} -\begin{figure}[h!] -\begin{center} -\includegraphics[width=4cm]{plugins/images/ss-sliding-\genericimg.png} -\end{center} -\caption{Sliding puzzle} -\end{figure} +\screenshot{plugins/images/ss-sliding-\genericimg.png}{Sliding puzzle}% +{img:slidingpuzzle} The classic sliding puzzle game. Rearrange the pieces so that you can see the whole picture. diff --git a/manual/plugins/snake.tex b/manual/plugins/snake.tex index c43d588..79ed153 100644 --- a/manual/plugins/snake.tex +++ b/manual/plugins/snake.tex @@ -1,10 +1,5 @@ \subsection{Snake} -\begin{figure}[h!] -\begin{center} -\includegraphics[width=4cm]{plugins/images/ss-snake-\genericimg.png} -\end{center} -\caption{Snake} -\end{figure} +\screenshot{plugins/images/ss-snake-\genericimg.png}{Snake}{img:snake} This is the popular snake game. The aim is to grow your snake as large as possible by eating the dots that appear on the screen. The game will diff --git a/manual/plugins/snake2.tex b/manual/plugins/snake2.tex index 534f83b..7ba7209 100644 --- a/manual/plugins/snake2.tex +++ b/manual/plugins/snake2.tex @@ -1,10 +1,6 @@ \subsection{Snake 2} -\begin{figure}[h!] -\begin{center} -\includegraphics[width=4cm]{plugins/images/ss-snake2-\genericimg.png} -\end{center} -\caption{Snake 2 {--} The Snake Strikes Back} -\end{figure} +\screenshot{plugins/images/ss-snake2-\genericimg.png}% +{Snake 2 {--} The Snake Strikes Back}{img:snake2} Another version of the Snake game. Move the snake around, and eat the apples that pop up on the screen. Each time an apple is eaten, the diff --git a/manual/plugins/snow.tex b/manual/plugins/snow.tex index ab552c8..e465993 100644 --- a/manual/plugins/snow.tex +++ b/manual/plugins/snow.tex @@ -1,9 +1,5 @@ \subsection{Snow} -\begin{figure}[h!] -\begin{center} -\includegraphics[width=4cm]{plugins/images/ss-snow-\genericimg.png} -\end{center} -\caption{Have you ever seen snow falling?} -\end{figure} +\screenshot{plugins/images/ss-snow-\genericimg.png}% +{Have you ever seen snow falling?}{img:snow} This demo replicates snow falling on your screen. If you love winter, you will love this demo. Or maybe not. diff --git a/manual/plugins/sokoban.tex b/manual/plugins/sokoban.tex index 972afdf..6191284 100644 --- a/manual/plugins/sokoban.tex +++ b/manual/plugins/sokoban.tex @@ -1,10 +1,5 @@ \subsection{Sokoban} -\begin{figure}[h!] -\begin{center} -\includegraphics[width=4cm]{plugins/images/ss-sokoban-\genericimg.png} -\end{center} -\caption{Sokoban} -\end{figure} +\screenshot{plugins/images/ss-sokoban-\genericimg.png}{Sokoban}{img:sokoban} The object of the game is to push boxes into their correct position in a crowded warehouse with a minimal number of pushes and moves. The boxes diff --git a/manual/plugins/solitaire.tex b/manual/plugins/solitaire.tex index 0a180b7..8b65d13 100644 --- a/manual/plugins/solitaire.tex +++ b/manual/plugins/solitaire.tex @@ -1,10 +1,6 @@ \subsection{Solitaire} -\begin{figure}[h!] -\begin{center} -\includegraphics[width=4cm]{plugins/images/ss-solitaire-\genericimg.png} -\end{center} -\caption{Klondike solitaire} -\end{figure} +\screenshot{plugins/images/ss-solitaire-\genericimg.png}{Klondike solitaire}% +{img:solitaire} This is the classic Klondike solitaire game for Rockbox. Select \textbf{help }from the game menu to get an diff --git a/manual/plugins/star.tex b/manual/plugins/star.tex index 29b534f..21bd484 100644 --- a/manual/plugins/star.tex +++ b/manual/plugins/star.tex @@ -1,10 +1,5 @@ \subsection{Star} -\begin{figure}[h!] -\begin{center} -\includegraphics[width=4cm]{plugins/images/ss-star-\genericimg.png} -\end{center} -\caption{Star game} -\end{figure} +\screenshot{plugins/images/ss-star-\genericimg.png}{Star game}{img:star} This is a puzzle game. It is actually a rewrite of Star, a game written by CDK designed for the hp48 calculator. diff --git a/manual/plugins/starfield.tex b/manual/plugins/starfield.tex index ea2a5b0..b42ab16 100644 --- a/manual/plugins/starfield.tex +++ b/manual/plugins/starfield.tex @@ -1,10 +1,5 @@ \subsection{Starfield} -\begin{figure}[ht!] -\begin{center} -\includegraphics[width=4cm]{plugins/images/ss-starfield-\genericimg.png} -\end{center} -\caption{Starfield} -\end{figure} +\screenshot{plugins/images/ss-starfield-\genericimg.png}{Starfield}{img:starfield} Starfield simulation (like the classic screensaver). \begin{table}[ht!] diff --git a/manual/plugins/stopwatch.tex b/manual/plugins/stopwatch.tex index 67b0fa6..65799e2 100644 --- a/manual/plugins/stopwatch.tex +++ b/manual/plugins/stopwatch.tex @@ -1,10 +1,5 @@ \subsection{Stopwatch} -\begin{figure}[h!] -\begin{center} -\includegraphics[width=4cm]{plugins/images/ss-stopwatch-\genericimg.png} -\end{center} -\end{figure} -Recorder stopwatch Player stopwatch +\screenshot{plugins/images/ss-stopwatch-\genericimg.png}{Stopwatch}{img:stopwatch} A simple stopwatch program with support for saving times. diff --git a/manual/plugins/sudoku.tex b/manual/plugins/sudoku.tex index f7e7f81..a819755 100644 --- a/manual/plugins/sudoku.tex +++ b/manual/plugins/sudoku.tex @@ -1,10 +1,5 @@ \subsection{\label{ref:Sudoku}Sudoku} -\begin{figure}[ht!] -\begin{center} -\includegraphics[width=4cm]{plugins/images/ss-sudoku-\genericimg.png} -\end{center} -\caption{Sudoku} -\end{figure} +\screenshot{plugins/images/ss-sudoku-\genericimg.png}{Sudoku}{img:sudoku} To play Sudoku you need sudoku games stored as .ss files (see links below). Once you have your .ss file just open it in the normal file browser to start playing. You can create and save your own grids under the "New" menu option. diff --git a/manual/plugins/vumeter.tex b/manual/plugins/vumeter.tex index 781753e..812ee6f 100644 --- a/manual/plugins/vumeter.tex +++ b/manual/plugins/vumeter.tex @@ -1,9 +1,5 @@ \subsection{VU meter} -\begin{figure}[h!] -\begin{center} -\includegraphics[width=4cm]{plugins/images/ss-vumeter-\genericimg.png} -\end{center} -\end{figure} +\screenshot{plugins/images/ss-vumeter-\genericimg.png}{VU-Meter}{} This is a VU meter, which displays the volume of the left and right audio channels. There are 3 types of meter selectable. The analogue diff --git a/manual/plugins/wormlet.tex b/manual/plugins/wormlet.tex index b1b7e03..b0438f8 100644 --- a/manual/plugins/wormlet.tex +++ b/manual/plugins/wormlet.tex @@ -1,10 +1,6 @@ \subsection{Wormlet} -{\centering\itshape [Warning: Image ignored] % Unhandled or unsupported graphics: -%\includegraphics[width=4.15cm,height=2.35cm]{images/rockbox-manual-img47.png} - \newline -Wormlet game -\par} +%\screenshot{images/rockbox-manual-img47.png}{Wormlet game}{} Wormlet is a multi{}-user multi{}-worm game on a multi{}-threaded multi{}-functional Rockbox console. You navigate a hungry little worm. diff --git a/manual/plugins/xobox.tex b/manual/plugins/xobox.tex index d6f1961..a1384c4 100644 --- a/manual/plugins/xobox.tex +++ b/manual/plugins/xobox.tex @@ -1,10 +1,5 @@ \subsection{Xobox} -\begin{figure}[ht!] -\begin{center} -\includegraphics[width=4cm]{plugins/images/ss-xobox-\genericimg.png} -\end{center} -\caption{Xobox} -\end{figure} +\screenshot{plugins/images/ss-xobox-\genericimg.png}{Xobox}{} Xobox is a simple clone of the well known arcade game Qix. The aim of the game is to section off parts of the arena with your trail in order to remove that section from the game. Be careful not to get in the way of |