moved all tile()-related stuff into tile.c which is included from config.def.h, the...