(XDK) Make generate_pp more generic and more like make_d3dpp from
d3d9_pc.cpp