diff options
| author | Jørgen P. Tjernø <[email protected]> | 2013-12-02 19:31:46 -0800 |
|---|---|---|
| committer | Jørgen P. Tjernø <[email protected]> | 2013-12-02 19:46:31 -0800 |
| commit | f56bb35301836e56582a575a75864392a0177875 (patch) | |
| tree | de61ddd39de3e7df52759711950b4c288592f0dc /sp/src/utils/common/utilmatlib.h | |
| parent | Mark some more files as text. (diff) | |
| download | source-sdk-2013-f56bb35301836e56582a575a75864392a0177875.tar.xz source-sdk-2013-f56bb35301836e56582a575a75864392a0177875.zip | |
Fix line endings. WHAMMY.
Diffstat (limited to 'sp/src/utils/common/utilmatlib.h')
| -rw-r--r-- | sp/src/utils/common/utilmatlib.h | 82 |
1 files changed, 41 insertions, 41 deletions
diff --git a/sp/src/utils/common/utilmatlib.h b/sp/src/utils/common/utilmatlib.h index f73a73d0..9d2e0b57 100644 --- a/sp/src/utils/common/utilmatlib.h +++ b/sp/src/utils/common/utilmatlib.h @@ -1,41 +1,41 @@ -//========= Copyright Valve Corporation, All rights reserved. ============//
-//
-// Purpose:
-//
-// $Workfile: $
-// $Date: $
-// $NoKeywords: $
-//=============================================================================//
-
-#ifndef UTILMATLIB_H
-#define UTILMATLIB_H
-
-#ifdef _WIN32
-#pragma once
-#endif
-
-#define MATERIAL_NOT_FOUND NULL
-
-class IMaterialSystem;
-extern IMaterialSystem *g_pMaterialSystem;
-
-typedef void *MaterialSystemMaterial_t;
-
-#define UTILMATLIB_NEEDS_BUMPED_LIGHTMAPS 0
-#define UTILMATLIB_NEEDS_LIGHTMAP 1
-#define UTILMATLIB_OPACITY 2
-
-enum { UTILMATLIB_ALPHATEST = 0, UTILMATLIB_OPAQUE, UTILMATLIB_TRANSLUCENT };
-
-void InitMaterialSystem( const char *materialBaseDirPath, CreateInterfaceFn fileSystemFactory );
-void ShutdownMaterialSystem( );
-MaterialSystemMaterial_t FindMaterial( const char *materialName, bool *pFound, bool bComplain = true );
-void GetMaterialDimensions( MaterialSystemMaterial_t materialHandle, int *width, int *height );
-int GetMaterialShaderPropertyBool( MaterialSystemMaterial_t materialHandle, int propID );
-int GetMaterialShaderPropertyInt( MaterialSystemMaterial_t materialHandle, int propID );
-const char *GetMaterialVar( MaterialSystemMaterial_t materialHandle, const char *propertyName );
-void GetMaterialReflectivity( MaterialSystemMaterial_t materialHandle, float *reflectivityVect );
-const char *GetMaterialShaderName( MaterialSystemMaterial_t materialHandle );
-
-
-#endif // UTILMATLIB_H
+//========= Copyright Valve Corporation, All rights reserved. ============// +// +// Purpose: +// +// $Workfile: $ +// $Date: $ +// $NoKeywords: $ +//=============================================================================// + +#ifndef UTILMATLIB_H +#define UTILMATLIB_H + +#ifdef _WIN32 +#pragma once +#endif + +#define MATERIAL_NOT_FOUND NULL + +class IMaterialSystem; +extern IMaterialSystem *g_pMaterialSystem; + +typedef void *MaterialSystemMaterial_t; + +#define UTILMATLIB_NEEDS_BUMPED_LIGHTMAPS 0 +#define UTILMATLIB_NEEDS_LIGHTMAP 1 +#define UTILMATLIB_OPACITY 2 + +enum { UTILMATLIB_ALPHATEST = 0, UTILMATLIB_OPAQUE, UTILMATLIB_TRANSLUCENT }; + +void InitMaterialSystem( const char *materialBaseDirPath, CreateInterfaceFn fileSystemFactory ); +void ShutdownMaterialSystem( ); +MaterialSystemMaterial_t FindMaterial( const char *materialName, bool *pFound, bool bComplain = true ); +void GetMaterialDimensions( MaterialSystemMaterial_t materialHandle, int *width, int *height ); +int GetMaterialShaderPropertyBool( MaterialSystemMaterial_t materialHandle, int propID ); +int GetMaterialShaderPropertyInt( MaterialSystemMaterial_t materialHandle, int propID ); +const char *GetMaterialVar( MaterialSystemMaterial_t materialHandle, const char *propertyName ); +void GetMaterialReflectivity( MaterialSystemMaterial_t materialHandle, float *reflectivityVect ); +const char *GetMaterialShaderName( MaterialSystemMaterial_t materialHandle ); + + +#endif // UTILMATLIB_H |