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.
 
 
 
 
 
 

34 lines
869 B

//========= Copyright Valve Corporation, All rights reserved. ============//
//
// Purpose:
//
// $NoKeywords: $
//=============================================================================//
#ifndef PHYSICS_MATERIAL_H
#define PHYSICS_MATERIAL_H
#pragma once
#include "vphysics_interface.h"
class IVP_Material;
class IVP_Material_Manager;
class IPhysicsSurfacePropsInternal : public IPhysicsSurfaceProps
{
public:
virtual IVP_Material *GetIVPMaterial( int materialIndex ) = 0;
virtual int GetIVPMaterialIndex( const IVP_Material *pIVP ) const = 0;
virtual IVP_Material_Manager *GetIVPManager( void ) = 0;
virtual int RemapIVPMaterialIndex( int ivpMaterialIndex ) const = 0;
};
extern IPhysicsSurfacePropsInternal *physprops;
// Special material indices outside of the normal system
enum
{
MATERIAL_INDEX_SHADOW = 0xF000,
};
#endif // PHYSICS_MATERIAL_H