mirror of
https://github.com/alliedmodders/hl2sdk.git
synced 2024-12-23 01:59:43 +08:00
42 lines
1.1 KiB
C
42 lines
1.1 KiB
C
//========= Copyright © 1996-2005, Valve Corporation, All rights reserved. ============//
|
|
//
|
|
// Purpose:
|
|
//
|
|
//=============================================================================//
|
|
|
|
#ifndef DECALS_H
|
|
#define DECALS_H
|
|
#ifdef _WIN32
|
|
#pragma once
|
|
#endif
|
|
|
|
#define CHAR_TEX_CONCRETE 'C'
|
|
#define CHAR_TEX_METAL 'M'
|
|
#define CHAR_TEX_DIRT 'D'
|
|
#define CHAR_TEX_VENT 'V'
|
|
#define CHAR_TEX_GRATE 'G'
|
|
#define CHAR_TEX_TILE 'T'
|
|
#define CHAR_TEX_SLOSH 'S'
|
|
#define CHAR_TEX_WOOD 'W'
|
|
#define CHAR_TEX_COMPUTER 'P'
|
|
#define CHAR_TEX_GLASS 'Y'
|
|
#define CHAR_TEX_FLESH 'F'
|
|
#define CHAR_TEX_BLOODYFLESH 'B'
|
|
#define CHAR_TEX_CLIP 'I'
|
|
#define CHAR_TEX_ANTLION 'A'
|
|
#define CHAR_TEX_ALIENFLESH 'H'
|
|
#define CHAR_TEX_FOLIAGE 'O'
|
|
#define CHAR_TEX_SAND 'N'
|
|
#define CHAR_TEX_PLASTIC 'L'
|
|
|
|
abstract_class IDecalEmitterSystem
|
|
{
|
|
public:
|
|
virtual int GetDecalIndexForName( char const *decalname ) = 0;
|
|
virtual char const *TranslateDecalForGameMaterial( char const *decalName, unsigned char gamematerial ) = 0;
|
|
};
|
|
|
|
extern IDecalEmitterSystem *decalsystem;
|
|
|
|
#endif // DECALS_H
|