usage: levelpretty map.tga in.tga out.tga
a basic example:
map.tga contains "base" tiles drawn in the background and pretty tiles drawn in
the foreground. it should contain all the knowldge needed to infer how to
pretty up your level.
in.tga contains a level drawn using all "base" tiles (except where the algorithm
doesn't work -- you can put in fancy tiles to fill in those spaces, the algorithm
will back-wards infer what "base" tile the fancy tile is a substitute for)
out.tga will be generated using the map.tga and the in.tga
(to edit in leveledit and switch between background and foreground press 't')
map.tga bg map.tga fg
.......... ..........
.xxx...... ..789.....
.x.x...... ..4.6.....
.xxx...... ..123.....
.......... ..........
in.tga out.tga
.......... ..........
.xxx...... .789......
.x.x.xxx.. .4.6.789..
.xxx.x.x.. .123.4.6..
.....xxx.. .....123..
levelpretty takes a level drawn with "base" tiles and auto-magically (using the knowledge
supplied in map.tga) turns a basic level into a fancy level. this tool is useful for
rapid development of fancy looking levels that only have a few kinds of base tiles
but those base tiles look better when rendered using lots of fancier tiles.