Ejemplo n.º 1
0
        private void LoadCompleteThread()
        {
            AreaData area = AreaData.Get(session);

            if ((completeMeta = area.GetCompleteScreenMeta()) != null && completeMeta.Atlas != null)
            {
                completeAtlas = Atlas.FromAtlas(Path.Combine("Graphics", "Atlases", completeMeta.Atlas), Atlas.AtlasDataFormat.PackerNoAtlas);
            }
            else if ((completeXml = area.CompleteScreenXml) != null && completeXml.HasAttr("atlas"))
            {
                completeAtlas = Atlas.FromAtlas(Path.Combine("Graphics", "Atlases", completeXml.Attr("atlas")), Atlas.AtlasDataFormat.PackerNoAtlas);
            }

            completeLoaded = true;
        }