14#define IS_LIQUID(mat) ((mat)==Mat_Water)
15#define IS_CLIPPED(mat) ((mat)==Mat_Glass)
36 MatFlag_IndexShift = 0,
37 MatFlag_VolumeShift = 2,
38 MatFlag_ClipShift = 5,
39 MatFlag_FlagShift = 8,
41 MatFlag_Index = 3 << MatFlag_IndexShift,
42 MatFlag_Volume = 7 << MatFlag_VolumeShift,
43 MatFlag_Clip = 7 << MatFlag_ClipShift,
44 MatFlag_Flags = 0xFF << MatFlag_FlagShift
64 Mat_Water = 1 << MatFlag_VolumeShift,
65 Mat_Glass = 3 << MatFlag_VolumeShift,
67 Mat_NoClip = 1 << MatFlag_ClipShift,
68 Mat_Clip = 2 << MatFlag_ClipShift,
69 Mat_GameClip = 3 << MatFlag_ClipShift,
71 Mat_Death = 1 << MatFlag_FlagShift,
72 Mat_Alpha = 4 << MatFlag_FlagShift
89 KeyRepeat_Console = 1<<0,
91 KeyRepeat_EditMode = 1<<2,
98 LightEnt_NoShadow = 1<<0,
99 LightEnt_Static = 1<<1,
100 LightEnt_Volumetric = 1<<2,
101 LightEnt_NoSpecular = 1<<3
107 DynLight_Shrink = 1<<8,
108 DynLight_Expand = 1<<9,
109 DynLight_Flash = 1<<10
116 EditMatFlag_Empty = 0x10000,
117 EditMatFlag_NotEmpty = 0x20000,
118 EditMatFlag_Solid = 0x30000,
119 EditMatFlag_NotSolid = 0x40000
139 Part_RailMuzzleFlash,
140 Part_PulseMuzzleFlash,
161 Model_CullVFC = 1<<0,
162 Model_CullDist = 1<<1,
163 Model_CullOccluded = 1<<2,
164 Model_CullQuery = 1<<3,
165 Model_FullBright = 1<<4,
166 Model_NoRender = 1<<5,
167 Model_Mapmodel = 1<<6,
168 Model_NoBatch = 1<<7,
169 Model_OnlyShadow = 1<<8,
170 Model_NoShadow = 1<<9,
171 Model_ForceShadow = 1<<10,
172 Model_ForceTransparent = 1<<11