DB/LiquidMaterial: Difference between revisions
Jump to navigation
Jump to search
m (Marlamin moved page LiquidMaterial.dbc to DB/LiquidMaterial) |
mNo edit summary |
||
Line 17: | Line 17: | ||
|3 || flags || Boolean || &1: isTransparent | |3 || flags || Boolean || &1: isTransparent | ||
|} | |} | ||
== mapping as of 15464 == | == mapping as of 15464 == |
Revision as of 00:59, 23 February 2016
This file got added with Wrath of the Lich King.
Note that mapping to shaders etc is hardcoded. (see table below)
Structure
Column | Field | Type | Notes |
---|---|---|---|
1 | ID | Integer | |
2 | LiquidVertexFormat | Flags | |
3 | flags | Boolean | &1: isTransparent |
mapping as of 15464
switch (materialId) { case 1: return new Liquid::CMaterialWater(); case 2: return new Liquid::CMaterialMagma(); case 3: return new Liquid::CMaterialWater(); // yes, twice case 4: return new Liquid::CMaterialMagma(); // yes, twice case 5: return new Liquid::CMaterialMercury(); case 10: return new Liquid::CMaterialFog(); case 8: default: return new Liquid::CMaterialDebug(); }
6.0.1.18179
struct LiquidMaterialRec { uint32_t m_ID; uint32_t m_LVF; uint32_t m_flags; };