Also rename "offset" to "origin" which makes a lot more sense for ox/oy attributes.
Renamed flashmap.h to tilemap-common.h as it already contained shared functions.