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.

32 lines
821 B

  1. //===== Copyright � 1996-2005, Valve Corporation, All rights reserved. ======//
  2. //
  3. // Purpose:
  4. //
  5. // $NoKeywords: $
  6. //
  7. //===========================================================================//
  8. #ifndef DECAL_H
  9. #define DECAL_H
  10. #ifdef _WIN32
  11. #pragma once
  12. #endif
  13. #include "gl_model_private.h"
  14. #ifndef DRAW_H
  15. #include "draw.h"
  16. #endif
  17. void Decal_Init( void );
  18. void Decal_Shutdown( void );
  19. IMaterial *Draw_DecalMaterial( int index );
  20. int Draw_DecalIndexFromName( char *name, bool *found );
  21. const char * Draw_DecalNameFromIndex( int index );
  22. void Draw_DecalSetName( int decal, char *name );
  23. void R_DecalShoot( int textureIndex, int entity, const model_t *model, const Vector &position, const Vector *saxis, int flags, const color32 &rgbaColor );
  24. int Draw_DecalMax( void );
  25. #endif // DECAL_H