Leaked source code of windows server 2003
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.

33 lines
990 B

  1. //-----------------------------------------------------------------------------
  2. //
  3. // This file generates the headers for the texture addressing functions.
  4. //
  5. // Copyright (C) Microsoft Corporation, 1997.
  6. //
  7. // WARNING WARNING WARNING
  8. // This h file generated from a mh file.
  9. // EDIT THE MH FILE.
  10. // I warned you.
  11. // WARNING WARNING WARNING
  12. //
  13. //-----------------------------------------------------------------------------
  14. include(`m4hdr.mh')dnl
  15. #ifdef __cplusplus
  16. extern "C" {
  17. #endif
  18. define(`d_TexReadHdr', `
  19. D3DCOLOR MMX_TexRead_$1_$2_$3(INT32 iU, INT32 iV, INT32 iShiftU, PUINT8 pBits, PD3DI_SPANTEX pTex);')dnl
  20. d_RepStr(`d_RepStr(`d_RepStr(`d_TexReadHdr(AA, BB, CC)',
  21. `AA', `Palette8', `Palette4', `B8G8R8', `B8G8R8A8', `B5G6R5', `B5G5R5', `B5G5R5A1', `B4G4R4',
  22. `B4G4R4A4', `L8', `L8A8', `Palette8A', `Palette4A')',
  23. `BB', `NoBorder', `Border')',
  24. `CC', `NoColorKey', `ColorKey')
  25. #ifdef __cplusplus
  26. }
  27. #endif