Exemplo n.º 1
0
        /// <summary>
        /// Gets the spriteset for a given terrain in this Descriptor.
        /// </summary>
        /// <returns></returns>
        public SpriteCollection GetTerrainSpriteset(string terrain)
        {
            //LogFile.WriteLine("Descriptor.GetTerrainSpriteset");

            return(ResourceInfo.LoadSpriteset(terrain, _dirTerrain, 2, Pal));                   // TODO: Should the '2' be '4' for TFTD ...
        }                                                                                       // no, Ufopaedia.org "Image Formats" says TFTD terrains have 2-byte Tab-offsets.