I have some OBJ files to import into my freeGLUT program. The game is like minecraft, so simple pixelated-like textures are a must. I'm trying to get as close to MC as I can, so I'm using Minetest (since it's coded in C++ with OpenGL) as my example. However my "blocks" need specific information such as:
1 2
ID
FLAGS (CAN_BUILD, NO_BUILD, SOLID_FORM, WALKTHRU_FORM, etc.)
I was thinking about storing this data in an XML document like so: