cxbx-shogun
cxbx-shogun copied to clipboard
Add Direct3D 9 renderer
Create an alternative Direct3D 9 renderer alongside the existing Direct3D 8 (August 2007 SDK) renderer.
TODO: Separate in small PRs:
- Use blushogun96's existing work-in-progress Direct3D 9 patch.
- Abstract the key renderer interfaces, methods and structures.
- Provide clean method of switching out between Direct3D 8/9 renderers.
- Update project files to refer to standard install location of the DirectX libraries. DirectX SDK (June 2010) was the last standalone release; now included in the Windows SDK.
- Enable vertex shaders on Direct3D 9 renderer cf EmuIDirect3DDevice8_CreateVertexShader()
- Address tweaks and compatibility improvements.
- Use DirectX 'Developer Runtime' to fix newly introduced ERROR or CORRUPTION level messages..
Note: Windows XP does not support DirectX 10 and above.
Helpful reference materials
http://msdn.microsoft.com/en-us/library/windows/desktop/bb204851(v=vs.85).aspx https://user.xmission.com/~legalize/book/dx9-core.html
wasn't the source code leaked for the xbox? (read it on reddit)