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.

24 lines
895 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. define(`d_TexReadHdr', `
  16. D3DCOLOR C_TexRead_$1_$2_$3(INT32 iU, INT32 iV, INT32 iShiftU, PUINT8 pBits, PD3DI_SPANTEX pTex);')dnl
  17. d_RepStr(`d_RepStr(`d_RepStr(`d_TexReadHdr(AA, BB, CC)',
  18. `AA', `Palette8', `Palette4', `B8G8R8', `B8G8R8A8', `B5G6R5', `B5G5R5', `B5G5R5A1',
  19. `B4G4R4A4', `L8', `L8A8', `Palette8A', `Palette4A')',
  20. `BB', `NoBorder', `Border')',
  21. `CC', `NoColorKey', `ColorKey')