Outlined Material Surfaces

Renamed d3d_set_texturing to texture_set_enabled and outlined the material surfaces API.

OpenGL mode has been deprecated the old graphics system won't
work on the new graphics cards, the new graphic's system must make full use
of VBO's and the old graphics system can use Vertex Array/Attrib Pointers for
compatbility with old and new cards, although don't waste your time fixing
the old graphics system as the new one is going to become the default eventually.
Pull when ready.