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.

35 lines
1.6 KiB

  1. //----------------------------------------------------------------------------
  2. //
  3. // rampif.h
  4. //
  5. // Declares external interface for ramp material handling.
  6. //
  7. // Copyright (C) Microsoft Corporation, 1997.
  8. //
  9. //----------------------------------------------------------------------------
  10. #ifndef _RAMPIF_H_
  11. #define _RAMPIF_H_
  12. struct RLDDIRampLightingDriver;
  13. RLDDIRampLightingDriver* RLDDIRampCreate(PD3DI_RASTCTX pCtx);
  14. void RLDDIRampDestroy(RLDDIRampLightingDriver* drv);
  15. void RLDDIRampBeginSceneHook(RLDDIRampLightingDriver* driver);
  16. void RLDDIRampEndSceneHook(RLDDIRampLightingDriver* driver);
  17. long RLDDIRampMaterialChanged(RLDDIRampLightingDriver* driver, D3DMATERIALHANDLE hMat);
  18. long RLDDIRampSetMaterial(RLDDIRampLightingDriver* driver, D3DMATERIALHANDLE hMat);
  19. long RLDDIRampCreateMaterial(RLDDIRampLightingDriver* driver, D3DMATERIALHANDLE hMat, PD3DI_RASTCTX pCtx);
  20. long RLDDIRampDestroyMaterial(RLDDIRampLightingDriver* driver, D3DMATERIALHANDLE hMat);
  21. unsigned long RLDDIRampMaterialToPixel(RLDDIRampLightingDriver* driver, D3DMATERIALHANDLE hMat);
  22. long RLDDIRampUpdateDDPalette(PD3DI_RASTCTX pCtx);
  23. long RLDDIRampMakePaletteRGB8(RLDDIRampLightingDriver* driver);
  24. long RLDDIRampPaletteChanged(RLDDIRampLightingDriver* driver, D3DTEXTUREHANDLE hTex);
  25. void Ramp_Mono_ScaleImage_8(PD3DI_RASTCTX pCtx, D3DMATERIALHANDLE hMat, LPD3DRECT pRect);
  26. void Ramp_Mono_ScaleImage_16(PD3DI_RASTCTX pCtx, D3DMATERIALHANDLE hMat, LPD3DRECT pRect);
  27. void Ramp_Mono_ScaleImage_24(PD3DI_RASTCTX pCtx, D3DMATERIALHANDLE hMat, LPD3DRECT pRect);
  28. void Ramp_Mono_ScaleImage_32(PD3DI_RASTCTX pCtx, D3DMATERIALHANDLE hMat, LPD3DRECT pRect);
  29. #endif // _RAMPIF_H_