Added support for TileTool common types

This feels a bit weird, but for now it works. It's not like the code
generator is going to be used for anything else at the moment.
These don't belong in the project.

Files are generated files.