* make upload_texture* functions void as there is no error condition any more
* make flip_blocks functions nonmember and move them to cpp
* move block definition to cpp
* move defines to cpp