This would allow you to rotate the tile in any angle and also mirror/flip it in every possible way.
ATM the tilemap is using (int), we could add there space for rotation code (2 bits) and mirror code (1 bit)
And still, theres 29 bits for the tile indexes, so we cant run out of indexes, biggest maps take 512*512 tiles, or maybe 1024*1024, and thats just a million tiles, while 2^29 = 536870912, so it would only make the map size limits into (sqrt(2^29)*32)/512 = 1448x1448 size Spring map, which is ridiculously large and nobody will ever make that big maps with this shitty map format anyways.
Those rotated or / and mirrored tiles could be rendered into the memory correctly, so you dont need to rotate them while you render the tiles (unless its very fast operation...).
So basically this hack would just allow you to make smaller filesize in maps if you have tiled them in that way.
This wouldnt need any changes in the map format, since we could just change the way how spring reads the current map format (SMF and SMT files).
DDS format shouldnt be a problem either, since the format doesnt care about the pixel positions, so you could even rotate the DDS DXT1 compressed tiles without recalculating it completely (i heard its very CPU heavy thing to do).
I like this idea.
