Nuclide
Software Development Kit for id Tech
|
Classes | |
struct | hlmaterials_lut |
hlmaterial to classname mapper table More... | |
Macros | |
#define | SURF_NODAMAGE 0x1i |
#define | SURF_SLICK 0x2i |
#define | SURF_SKY 0x4i |
#define | SURF_LADDER 0x8i |
#define | SURF_NOIMPACT 0x10i |
#define | SURF_NOMARKS 0x20i |
#define | SURF_Q3FLESH 0x40i |
#define | SURF_NODRAW 0x80i |
#define | SURF_HINT 0x100i |
#define | SURF_SKIP 0x200i |
#define | SURF_NOLIGHTMAP 0x400i |
#define | SURF_POINTLIGHT 0x800i |
#define | SURF_METALSTEPS 0x1000i |
#define | SURF_NOSTEPS 0x2000i |
#define | SURF_NONSOLID 0x4000i |
#define | SURF_LIGHTFILTER 0x8000i |
#define | SURF_ALPHASHADOW 0x10000i |
#define | SURF_NODLIGHT 0x20000i |
#define | SURF_DUST 0x40000i |
#define | SURF_LEAKSTEAM 0x00080000i /* when shot, the material emits steam */ |
#define | SURF_LEAKWATER 0x00100000i /* when shot, the material emits water */ |
#define | SURF_RESERVED1 0x00200000i |
#define | SURF_RESERVED2 0x00400000i |
#define | SURF_RESERVED3 0x00800000i |
#define | SURF_RESERVED4 0x01000000i |
#define | SURF_RESERVED5 0x02000000i |
#define | SURF_RESERVED6 0x04000000i |
#define | SURF_PENETRATE 0x08000000i |
#define | SURF_MASK 0x0FFFFFFFi |
#define | SURF_ALIEN 0x10000000i |
#define | SURF_BLOODYFLESH 0x20000000i |
#define | SURF_FOLIAGE 0x30000000i |
#define | SURF_COMPUTER 0x40000000i |
#define | SURF_DIRT 0x50000000i |
#define | SURF_VENT 0x60000000i |
#define | SURF_GRATE 0x70000000i |
#define | SURF_METAL 0x80000000i |
#define | SURF_GLASS 0x90000000i |
#define | SURF_SAND 0xA0000000i |
#define | SURF_SLOSH 0xB0000000i |
#define | SURF_SNOW 0xC0000000i |
#define | SURF_TILE 0xD0000000i |
#define | SURF_WOOD 0xE0000000i |
#define | SURF_CONCRETE 0xF0000000i |
Functions | |
string | Materials_SurfDataForTexture (string textureName) |
Returns the SurfData assigned to the texture. More... | |
void | Materials_Init (void) |
Initializes the material -> surfdata look-up table. More... | |
Variables | |
hashtable | g_hashMaterials |
hlmaterials_lut * | g_hlmlut |
var int | g_hlmlut_count |
var int | g_hlmaterial_entries |
var bool | g_materialsAreLegacy |
string | materials_file |
const int | CONTENTBIT_NONE = 0x00000000i |
const int | CONTENTBIT_SOLID = 0x00000001i |
const int | CONTENTBIT_UNUSED1 = 0x00000002i |
const int | CONTENTBIT_UNUSED2 = 0x00000004i |
const int | CONTENTBIT_LAVA = 0x00000008i |
const int | CONTENTBIT_SLIME = 0x00000010i |
const int | CONTENTBIT_WATER = 0x00000020i |
const int | CONTENTBIT_UNUSED3 = 0x00000040i |
const int | CONTENTBIT_GRENADECLIP = 0x00000080i |
const int | CONTENTBIT_UNUSED4 = 0x00000100i |
const int | CONTENTBIT_UNUSED5 = 0x00000200i |
const int | CONTENTBIT_UNUSED6 = 0x00000400i |
const int | CONTENTBIT_UNUSED7 = 0x00000800i |
const int | CONTENTBIT_UNUSED8 = 0x00001000i |
const int | CONTENTBIT_UNUSED9 = 0x00002000i |
const int | CONTENTBIT_FTELADDER = 0x00004000i |
const int | CONTENTBIT_VEHICLECLIP = 0x00008000i |
const int | CONTENTBIT_PLAYERCLIP = 0x00010000i |
const int | CONTENTBIT_MONSTERCLIP = 0x00020000i |
const int | CONTENTBIT_PROJECTILE = 0x00040000i |
const int | CONTENTBIT_UNUSED12 = 0x00080000i |
const int | CONTENTBIT_CLUSTERPORTAL = 0x00100000i |
const int | CONTENTBIT_DONOTENTER = 0x00200000i |
const int | CONTENTBIT_BOTCLIP = 0x00400000i |
const int | CONTENTBIT_MOVER = 0x00800000i |
const int | CONTENTBIT_UNUSED13 = 0x01000000i |
const int | CONTENTBIT_BODY = 0x02000000i |
const int | CONTENTBIT_CORPSE = 0x04000000i |
const int | CONTENTBIT_UNUSED14 = 0x08000000i |
const int | CONTENTBIT_UNUSED15 = 0x10000000i |
const int | CONTENTBIT_Q2LADDER = 0x20000000i |
const int | CONTENTBIT_UNUSED16 = 0x40000000i |
const int | CONTENTBIT_SKY = 0x80000000i |
const int | CONTENTBITS_MONSTER = CONTENTBIT_SOLID|CONTENTBIT_BODY|CONTENTBIT_MONSTERCLIP|CONTENTBIT_BOTCLIP |
#define SURF_ALIEN 0x10000000i |
#define SURF_ALPHASHADOW 0x10000i |
#define SURF_BLOODYFLESH 0x20000000i |
#define SURF_COMPUTER 0x40000000i |
#define SURF_CONCRETE 0xF0000000i |
#define SURF_DIRT 0x50000000i |
#define SURF_DUST 0x40000i |
#define SURF_FOLIAGE 0x30000000i |
#define SURF_GLASS 0x90000000i |
#define SURF_GRATE 0x70000000i |
#define SURF_HINT 0x100i |
#define SURF_LADDER 0x8i |
#define SURF_LEAKSTEAM 0x00080000i /* when shot, the material emits steam */ |
#define SURF_LEAKWATER 0x00100000i /* when shot, the material emits water */ |
#define SURF_LIGHTFILTER 0x8000i |
#define SURF_MASK 0x0FFFFFFFi |
#define SURF_METAL 0x80000000i |
#define SURF_METALSTEPS 0x1000i |
#define SURF_NODAMAGE 0x1i |
#define SURF_NODLIGHT 0x20000i |
#define SURF_NODRAW 0x80i |
#define SURF_NOIMPACT 0x10i |
#define SURF_NOLIGHTMAP 0x400i |
#define SURF_NOMARKS 0x20i |
#define SURF_NONSOLID 0x4000i |
#define SURF_NOSTEPS 0x2000i |
#define SURF_PENETRATE 0x08000000i |
#define SURF_POINTLIGHT 0x800i |
#define SURF_Q3FLESH 0x40i |
#define SURF_RESERVED1 0x00200000i |
#define SURF_RESERVED2 0x00400000i |
#define SURF_RESERVED3 0x00800000i |
#define SURF_RESERVED4 0x01000000i |
#define SURF_RESERVED5 0x02000000i |
#define SURF_RESERVED6 0x04000000i |
#define SURF_SAND 0xA0000000i |
#define SURF_SKIP 0x200i |
#define SURF_SKY 0x4i |
#define SURF_SLICK 0x2i |
#define SURF_SLOSH 0xB0000000i |
#define SURF_SNOW 0xC0000000i |
#define SURF_TILE 0xD0000000i |
#define SURF_VENT 0x60000000i |
#define SURF_WOOD 0xE0000000i |
enum materialType_t |
const int CONTENTBIT_BODY = 0x02000000i |
const int CONTENTBIT_BOTCLIP = 0x00400000i |
const int CONTENTBIT_CLUSTERPORTAL = 0x00100000i |
const int CONTENTBIT_CORPSE = 0x04000000i |
const int CONTENTBIT_DONOTENTER = 0x00200000i |
const int CONTENTBIT_FTELADDER = 0x00004000i |
const int CONTENTBIT_GRENADECLIP = 0x00000080i |
const int CONTENTBIT_LAVA = 0x00000008i |
const int CONTENTBIT_MONSTERCLIP = 0x00020000i |
const int CONTENTBIT_MOVER = 0x00800000i |
const int CONTENTBIT_NONE = 0x00000000i |
const int CONTENTBIT_PLAYERCLIP = 0x00010000i |
const int CONTENTBIT_PROJECTILE = 0x00040000i |
const int CONTENTBIT_Q2LADDER = 0x20000000i |
const int CONTENTBIT_SKY = 0x80000000i |
const int CONTENTBIT_SLIME = 0x00000010i |
const int CONTENTBIT_SOLID = 0x00000001i |
const int CONTENTBIT_UNUSED1 = 0x00000002i |
const int CONTENTBIT_UNUSED12 = 0x00080000i |
const int CONTENTBIT_UNUSED13 = 0x01000000i |
const int CONTENTBIT_UNUSED14 = 0x08000000i |
const int CONTENTBIT_UNUSED15 = 0x10000000i |
const int CONTENTBIT_UNUSED16 = 0x40000000i |
const int CONTENTBIT_UNUSED2 = 0x00000004i |
const int CONTENTBIT_UNUSED3 = 0x00000040i |
const int CONTENTBIT_UNUSED4 = 0x00000100i |
const int CONTENTBIT_UNUSED5 = 0x00000200i |
const int CONTENTBIT_UNUSED6 = 0x00000400i |
const int CONTENTBIT_UNUSED7 = 0x00000800i |
const int CONTENTBIT_UNUSED8 = 0x00001000i |
const int CONTENTBIT_UNUSED9 = 0x00002000i |
const int CONTENTBIT_VEHICLECLIP = 0x00008000i |
const int CONTENTBIT_WATER = 0x00000020i |
const int CONTENTBITS_MONSTER = CONTENTBIT_SOLID|CONTENTBIT_BODY|CONTENTBIT_MONSTERCLIP|CONTENTBIT_BOTCLIP |
hashtable g_hashMaterials |
var int g_hlmaterial_entries |
hlmaterials_lut* g_hlmlut |
var int g_hlmlut_count |
var bool g_materialsAreLegacy |
string materials_file |