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.

24 lines
687 B

  1. //========= Copyright Valve Corporation, All rights reserved. ============//
  2. //
  3. // Purpose:
  4. //
  5. //=============================================================================//
  6. #ifndef MACRO_TEXTURE_H
  7. #define MACRO_TEXTURE_H
  8. #ifdef _WIN32
  9. #pragma once
  10. #endif
  11. #include "mathlib/vector.h"
  12. // The macro texture looks for a TGA file with the same name as the BSP file and in
  13. // the same directory. If it finds one, it maps this texture onto the world dimensions
  14. // (in the worldspawn entity) and masks all lightmaps with it.
  15. void InitMacroTexture( const char *pBSPFilename );
  16. void ApplyMacroTextures( int iFace, const Vector &vWorldPos, Vector &outLuxel );
  17. #endif // MACRO_TEXTURE_H