|
|
@ -156,6 +156,9 @@ def FindDirectXSDK(version):
|
|
|
|
return "C:\\Program Files (x86)\\Microsoft DirectX SDK (June 2008)"
|
|
|
|
return "C:\\Program Files (x86)\\Microsoft DirectX SDK (June 2008)"
|
|
|
|
if os.path.isfile("C:\\Program Files (x86)\\Microsoft DirectX SDK (June 2010)\\Include\\d3d9.h"):
|
|
|
|
if os.path.isfile("C:\\Program Files (x86)\\Microsoft DirectX SDK (June 2010)\\Include\\d3d9.h"):
|
|
|
|
return "C:\\Program Files (x86)\\Microsoft DirectX SDK (June 2010)"
|
|
|
|
return "C:\\Program Files (x86)\\Microsoft DirectX SDK (June 2010)"
|
|
|
|
|
|
|
|
dxSdkDir = os.getenv('DXSDK_DIR')
|
|
|
|
|
|
|
|
if dxSdkDir and os.path.isfile(os.path.join(dxSdkDir, "Include\\d3d9.h")):
|
|
|
|
|
|
|
|
return dxSdkDir
|
|
|
|
return
|
|
|
|
return
|
|
|
|
|
|
|
|
|
|
|
|
def HasXAudio2(path):
|
|
|
|
def HasXAudio2(path):
|
|
|
|