Remove support for asking for a specific alignment. Now, the only
supported alignment is 16 bytes, and all sizes are rounded up to 16
bytes. This is the minimum alignment needed for some palettes, which is
the most restrictive case.
This change is a bit wasteful, but it only really matters for 4-color
palettes and textures, which can be aligned to 8 bytes, and it isn't a
problem because:
- 4-color palettes, which can be aligned to 8 bytes, would rarely use
fewer than 4 colors. Even if they do use fewer than 4 colors, it would
only waste 8 bytes.
- Textures: It's impossible that a texture doesn't have a size that is
multiple of 16. It can only happen if the texture has a width of 8
pixels and a height that isn't a multiple of two... which is a very
unusual situation.
The benefit of this change is that the code is much easier to understand
and much more maintainable, which will be needed when support for
compressed textures is added, as the code will need to support more
features.
With a bit of help of `indent -linux`, but mostly by hand. Also used
`iconv -f ISO-8859-1 -t UTF-8//TRANSLIT` to convert to UTF-8.
There is still some refactoring left to do.