
The screen shot
---------------

When you press F1 anywhere when running the game, a screen shot
of the current screen will be saved to the directory LINBERTO_SCREENSDIR
which is (by default in the Makefile) /tmp/.

The program makes two files:

LINBERTO_SCREENSDIR/linbertossXXXX.raw  ---> Which contains the image data
                                             (the byte of each pixel).

and

LINBERTO_SCREENSDIR/linbertossXXXX.pal  ---> Which contains the palette in
                                             the format:
                                             "Color index, Red, Green, Blue\n"


The "XXXX" in the filename is a number from 0000 to 9999. Each time a
screen shot is made, the program will try to use the lowest possible
number (0000 by default) if that file exists that number will be incre-
mented by one, until a non existing filename is found.


The screen shot function is not intended for normal gamers. I developed it
for my own use (to put some screen shots in my web pages at
"http://www.grigna.com/diego/linux/linberto/").
So I made it simple, there is not any graphics compression, nor saving in
a known format, it is just only a raw image plus the palette.
I convert it to known formats with other utilities, which I am developing
and that I still don't want to release, because they are a mess and they
are not finished.

