Team Fortress 2 Source Code as on 22/4/2020
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.

26 lines
898 B

  1. //========= Copyright Valve Corporation, All rights reserved. ============//
  2. //
  3. // Purpose:
  4. //
  5. // $NoKeywords: $
  6. //
  7. //=============================================================================//
  8. #if !defined( R_EFXEXTERNH )
  9. #define R_EFXEXTERNH
  10. #ifdef _WIN32
  11. #pragma once
  12. #endif
  13. struct dlight_t;
  14. class IMaterial;
  15. int Draw_DecalIndex ( int id );
  16. int Draw_DecalIndexFromName ( char *name, bool *found );
  17. void R_DecalShoot ( int textureIndex, int entity, const model_t *model,
  18. const Vector& position, const Vector *saxis, int flags, const color32 &rgbaColor, const Vector *pNormal );
  19. void R_PlayerDecalShoot ( IMaterial *material, void *userdata, int entity, const model_t *model,
  20. const Vector& position, const Vector *saxis, int flags, const color32 &rgbaColor );
  21. dlight_t *CL_AllocDlight ( int key );
  22. dlight_t *CL_AllocElight ( int key );
  23. #endif