Beispiel #1
0
        public Chunk_MCLY(ADTFile file)
            : base(file, "MCLY", Magic)
        {
            int nLayers = (int)ChunkSize / 16;
            layers = new MCLYLayer[nLayers];

            for (int i = 0; i < nLayers; i++)
                layers[i] = new MCLYLayer(file.readUInt32(), file.readUInt32(), file.readUInt32(), file.readUInt32());
        }
Beispiel #2
0
        public Chunk_MCLY(ADTFile file) : base(file, "MCLY", Magic)
        {
            int nLayers = (int)ChunkSize / 16;

            layers = new MCLYLayer[nLayers];

            for (int i = 0; i < nLayers; i++)
            {
                layers[i] = new MCLYLayer(file.readUInt32(), file.readUInt32(), file.readUInt32(), file.readUInt32());
            }
        }