  ; ===========================================
  ; d3dx.inc copyright MASM32 1998 - 2005
  ; ===========================================

IFNDEF D3DX_INC
D3DX_INC equ <1>

D3DXBuildSpriteTransform PROTO :DWORD,:DWORD,:DWORD,:DWORD
D3DXCheckTextureRequirements PROTO :DWORD,:DWORD,:DWORD,:DWORD,:DWORD
D3DXColorAdjustContrast PROTO :DWORD,:DWORD,:DWORD
D3DXColorAdjustSaturation PROTO :DWORD,:DWORD,:DWORD
D3DXCreateBox PROTO :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
D3DXCreateContext PROTO :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
D3DXCreateContextEx PROTO :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
D3DXCreateCubeMapTexture PROTO :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
D3DXCreateCylinder PROTO :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
D3DXCreateMatrixStack PROTO :DWORD,:DWORD
D3DXCreatePolygon PROTO :DWORD,:DWORD,:DWORD,:DWORD,:DWORD
D3DXCreateSphere PROTO :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
D3DXCreateTeapot PROTO :DWORD,:DWORD,:DWORD
D3DXCreateTexture PROTO :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
D3DXCreateTextureFromFile PROTO :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
D3DXCreateTorus PROTO :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
D3DXDrawSprite3D PROTO :DWORD,:DWORD,:DWORD,:DWORD,:DWORD
D3DXDrawSpriteSimple PROTO :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
D3DXDrawSpriteTransform PROTO :DWORD,:DWORD,:DWORD,:DWORD,:DWORD
D3DXGetCurrentVideoMode PROTO :DWORD,:DWORD
D3DXGetDeviceCaps PROTO :DWORD,:DWORD,:DWORD,:DWORD,:DWORD
D3DXGetDeviceCount PROTO 
D3DXGetDeviceDescription PROTO :DWORD,:DWORD
D3DXGetErrorString PROTO :DWORD,:DWORD,:DWORD
D3DXGetMaxNumVideoModes PROTO :DWORD,:DWORD
D3DXGetMaxSurfaceFormats PROTO :DWORD,:DWORD,:DWORD
D3DXGetSurfaceFormat PROTO :DWORD,:DWORD,:DWORD,:DWORD,:DWORD
D3DXGetVideoMode PROTO :DWORD,:DWORD,:DWORD,:DWORD
D3DXInitialize PROTO 
D3DXLoadTextureFromFile PROTO :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
D3DXLoadTextureFromMemory PROTO :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
D3DXLoadTextureFromSurface PROTO :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
D3DXMakeDDPixelFormat PROTO :DWORD,:DWORD
D3DXMakeSurfaceFormat PROTO :DWORD
D3DXMatrixAffineTransformation PROTO :DWORD,:DWORD,:DWORD,:DWORD,:DWORD
D3DXMatrixInverse PROTO :DWORD,:DWORD,:DWORD
D3DXMatrixLookAt PROTO :DWORD,:DWORD,:DWORD,:DWORD
D3DXMatrixLookAtLH PROTO :DWORD,:DWORD,:DWORD,:DWORD
D3DXMatrixMultiply PROTO :DWORD,:DWORD,:DWORD
D3DXMatrixOrtho PROTO :DWORD,:DWORD,:DWORD,:DWORD,:DWORD
D3DXMatrixOrthoLH PROTO :DWORD,:DWORD,:DWORD,:DWORD,:DWORD
D3DXMatrixOrthoOffCenter PROTO :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
D3DXMatrixOrthoOffCenterLH PROTO :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
D3DXMatrixPerspective PROTO :DWORD,:DWORD,:DWORD,:DWORD,:DWORD
D3DXMatrixPerspectiveFov PROTO :DWORD,:DWORD,:DWORD,:DWORD,:DWORD
D3DXMatrixPerspectiveFovLH PROTO :DWORD,:DWORD,:DWORD,:DWORD,:DWORD
D3DXMatrixPerspectiveLH PROTO :DWORD,:DWORD,:DWORD,:DWORD,:DWORD
D3DXMatrixPerspectiveOffCenter PROTO :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
D3DXMatrixPerspectiveOffCenterLH PROTO :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
D3DXMatrixReflect PROTO :DWORD,:DWORD
D3DXMatrixRotationAxis PROTO :DWORD,:DWORD,:DWORD
D3DXMatrixRotationQuaternion PROTO :DWORD,:DWORD
D3DXMatrixRotationX PROTO :DWORD,:DWORD
D3DXMatrixRotationY PROTO :DWORD,:DWORD
D3DXMatrixRotationYawPitchRoll PROTO :DWORD,:DWORD,:DWORD,:DWORD
D3DXMatrixRotationZ PROTO :DWORD,:DWORD
D3DXMatrixScaling PROTO :DWORD,:DWORD,:DWORD,:DWORD
D3DXMatrixShadow PROTO :DWORD,:DWORD,:DWORD
D3DXMatrixTransformation PROTO :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
D3DXMatrixTranslation PROTO :DWORD,:DWORD,:DWORD,:DWORD
D3DXMatrixTranspose PROTO :DWORD,:DWORD
D3DXMatrixfDeterminant PROTO :DWORD
D3DXPlaneFromPointNormal PROTO :DWORD,:DWORD,:DWORD
D3DXPlaneFromPoints PROTO :DWORD,:DWORD,:DWORD,:DWORD
D3DXPlaneIntersectLine PROTO :DWORD,:DWORD,:DWORD,:DWORD
D3DXPlaneNormalize PROTO :DWORD,:DWORD
D3DXPlaneTransform PROTO :DWORD,:DWORD,:DWORD
D3DXPrepareDeviceForSprite PROTO :DWORD,:DWORD
D3DXQuaternionBaryCentric PROTO :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
D3DXQuaternionExp PROTO :DWORD,:DWORD
D3DXQuaternionInverse PROTO :DWORD,:DWORD
D3DXQuaternionLn PROTO :DWORD,:DWORD
D3DXQuaternionMultiply PROTO :DWORD,:DWORD,:DWORD
D3DXQuaternionNormalize PROTO :DWORD,:DWORD
D3DXQuaternionRotationAxis PROTO :DWORD,:DWORD,:DWORD
D3DXQuaternionRotationMatrix PROTO :DWORD,:DWORD
D3DXQuaternionRotationYawPitchRoll PROTO :DWORD,:DWORD,:DWORD,:DWORD
D3DXQuaternionSlerp PROTO :DWORD,:DWORD,:DWORD,:DWORD
D3DXQuaternionSquad PROTO :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
D3DXQuaternionToAxisAngle PROTO :DWORD,:DWORD,:DWORD
D3DXUninitialize PROTO 
D3DXVec2BaryCentric PROTO :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
D3DXVec2Hermite PROTO :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
D3DXVec2Normalize PROTO :DWORD,:DWORD
D3DXVec2Transform PROTO :DWORD,:DWORD,:DWORD
D3DXVec2TransformCoord PROTO :DWORD,:DWORD,:DWORD
D3DXVec2TransformNormal PROTO :DWORD,:DWORD,:DWORD
D3DXVec3BaryCentric PROTO :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
D3DXVec3Hermite PROTO :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
D3DXVec3Normalize PROTO :DWORD,:DWORD
D3DXVec3Transform PROTO :DWORD,:DWORD,:DWORD
D3DXVec3TransformCoord PROTO :DWORD,:DWORD,:DWORD
D3DXVec3TransformNormal PROTO :DWORD,:DWORD,:DWORD
D3DXVec4BaryCentric PROTO :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
D3DXVec4Cross PROTO :DWORD,:DWORD,:DWORD,:DWORD
D3DXVec4Hermite PROTO :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
D3DXVec4Normalize PROTO :DWORD,:DWORD
D3DXVec4Transform PROTO :DWORD,:DWORD,:DWORD
DirectDrawCreateEx PROTO :DWORD,:DWORD,:DWORD,:DWORD
DirectDrawEnumerateExA PROTO :DWORD,:DWORD,:DWORD
DirectDrawEnumerateEx equ <DirectDrawEnumerateExA>

_CxxThrowException PROTO :DWORD,:DWORD

ELSE
echo -----------------------------------------
echo WARNING Duplicate include file d3dx.inc
echo -----------------------------------------
ENDIF
