public static void CheckStretchTable() { if (MapLighting.m_AlwaysStretch != null) { return; } MapLighting.m_AlwaysStretch = new bool[16384]; MapLighting.SetAlwaysStretch(3, 167); MapLighting.SetAlwaysStretch(172, 301); MapLighting.SetAlwaysStretch(321, 427); MapLighting.SetAlwaysStretch(441, 499); MapLighting.SetAlwaysStretch(543, 585); MapLighting.SetAlwaysStretch(602, 1029); MapLighting.SetAlwaysStretch(1094, 1145); MapLighting.SetAlwaysStretch(1281, 1296); MapLighting.SetAlwaysStretch(1351, 2539); }
public static int GetShadow(int facet, int x, int y) { return(MapLighting.GetShadow(LandTile.GetVertexNormal(facet, x, y))); }