Change std.c.* to core.stdc.*. Add StaticBuffer. Change Texture -> render: use StaticBuffer instead of glBegin/glEnd. Outsource VecN and use it in TileMap.