Usage:

xpm2xrally file.xpm

Will print in standard output the map data (only the map data... still needs to tell the name and tileset if want to make that a level... or just copy into a level)

The width and height of the map will be the width and height of the xpm image (tip: Use a icon editor like kiconedit to make the files) 

The xpm files must have 5 colors:
white -> passable tiles
black -> impassable tiles
yellow -> flags
red -> enemy cars
blue -> player car

Note that this must be the pure colors (#0000ff to blue, #ffff00 to yellow, etc.). Also note that this program doesn't do any error checking routine, so things may not work very well...

Everyone is welcomed to send me any contribution (at perdig@linuxbr.com.br)

By the way, this program is GPL'ed, if that isn't explicit... :)
