public static FogInfo Read(FormatBase input) { FogInfo temp = new FogInfo(); Stuffer.Stuff(temp, input, "FogInfo", true); return(temp); }
public Chunk_MFOG(WMOFile file) : base(file, "MFOG", Magic) { int entryCount = (int)ChunkSize / 48; entries = new FogInfo[entryCount]; for (int i = 0; i < entryCount; i++) entries[i] = FogInfo.Read(file); LogWrite("Loaded " + entryCount + " fog info entries."); }
public static FogInfo Read(FormatBase input) { FogInfo temp = new FogInfo(); Stuffer.Stuff(temp, input, "FogInfo", true); return temp; }