Counter Strike : Global Offensive Source Code
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

45 lines
1.5 KiB

  1. //========= Copyright � 1996-2004, Valve LLC, All rights reserved. ============
  2. //
  3. // Purpose: XBox win32 stubs
  4. //
  5. // $NoKeywords: $
  6. //=============================================================================
  7. #pragma once
  8. typedef void* IDirect3D9;
  9. typedef void* IDirect3DDevice9;
  10. typedef void* IDirect3DVertexShader9;
  11. typedef void* IDirect3DPixelShader9;
  12. typedef void* IDirect3DVertexDeclaration9;
  13. typedef void* IDirect3DTexture9;
  14. typedef void* IDirect3DBaseTexture9;
  15. typedef void* IDirect3DCubeTexture9;
  16. typedef void* IDirect3DSurface9;
  17. typedef void* IDirect3DIndexBuffer9;
  18. typedef void* IDirect3DVertexBuffer9;
  19. typedef void* IDirect3DVolumeTexture9;
  20. typedef void ID3DXFont;
  21. typedef void* D3DADAPTER_IDENTIFIER9;
  22. typedef void* D3DCAPS9;
  23. typedef void* D3DMATERIAL9;
  24. typedef void* D3DVIEWPORT9;
  25. typedef void* D3DLIGHT9;
  26. typedef void* D3DVERTEXELEMENT9;
  27. // not sure what behavior to emulate yet
  28. #define D3DLOCK_NOSYSLOCK 0
  29. #define D3DLOCK_DISCARD 0
  30. #define D3DENUM_WHQL_LEVEL 0
  31. // collapse sampler state back into texture state
  32. typedef enum
  33. {
  34. D3DSAMP_ADDRESSU = D3DTSS_ADDRESSU,
  35. D3DSAMP_ADDRESSV = D3DTSS_ADDRESSV,
  36. D3DSAMP_ADDRESSW = D3DTSS_ADDRESSW,
  37. D3DSAMP_MINFILTER = D3DTSS_MINFILTER,
  38. D3DSAMP_MAGFILTER = D3DTSS_MAGFILTER,
  39. D3DSAMP_MIPFILTER = D3DTSS_MIPFILTER,
  40. D3DSAMP_MAXANISOTROPY = D3DTSS_MAXANISOTROPY,
  41. } D3DSAMPLERSTATETYPE;