Graphics Functions Cleanup
Added some more functions to Direct3D9 and made OpenGL versions match it.
Added that light attentuation shit.
Added some calls to DX9enable.
Implemented Direct3D 9.0 surfaces.
Added alpha blending to D3D9 surfaces.
Added missing perspective function.
Added more surface functions to Direct3D 9.0
Merge pull request #444 from RobertBColton/master

Graphics Functions Cleanup