From f68e55ebfdf1ac7d2e5f6edc0b972462ba1e7c49 Mon Sep 17 00:00:00 2001 From: Ellpeck Date: Sun, 25 Oct 2020 01:45:01 +0200 Subject: [PATCH] moved DataTextureAtlas to MLEM.Data --- {MLEM/Textures => MLEM.Data}/DataTextureAtlas.cs | 4 ++-- Utilities/Populate Data Texture Atlas.lua | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) rename {MLEM/Textures => MLEM.Data}/DataTextureAtlas.cs (99%) diff --git a/MLEM/Textures/DataTextureAtlas.cs b/MLEM.Data/DataTextureAtlas.cs similarity index 99% rename from MLEM/Textures/DataTextureAtlas.cs rename to MLEM.Data/DataTextureAtlas.cs index 8c76658..dd07265 100644 --- a/MLEM/Textures/DataTextureAtlas.cs +++ b/MLEM.Data/DataTextureAtlas.cs @@ -1,4 +1,3 @@ -using System; using System.Collections.Generic; using System.Globalization; using System.IO; @@ -6,8 +5,9 @@ using System.Text.RegularExpressions; using Microsoft.Xna.Framework; using Microsoft.Xna.Framework.Content; using Microsoft.Xna.Framework.Graphics; +using MLEM.Textures; -namespace MLEM.Textures { +namespace MLEM.Data { /// /// This class represents an atlas of objects which are loaded from a special texture atlas file. /// To load a data texture atlas, you can use . diff --git a/Utilities/Populate Data Texture Atlas.lua b/Utilities/Populate Data Texture Atlas.lua index 30e72fe..b207139 100644 --- a/Utilities/Populate Data Texture Atlas.lua +++ b/Utilities/Populate Data Texture Atlas.lua @@ -1,4 +1,4 @@ --- This is a lua script for Aseprite that allows automatically populating a MLEM Data Texture Atlas. +-- This is a lua script for Aseprite that allows automatically populating a MLEM.Data Data Texture Atlas. -- To use this script, you need to select a rectangular area that should be your texture region. -- If you want a custom pivot point, you also need to un-select exactly one pixel, the pivot point. -- When you then execute the script and input the name of the texture region, it gets appended to the "SpriteName.atlas" file. @@ -23,7 +23,7 @@ end ::foundPivot:: -- open the name dialog -local dialog = Dialog("Copy Texture Atlas Data") +local dialog = Dialog("Populate Data Texture Atlas") :entry{ id = "name", label = "Region Name", focus = true } :button{ id = "ok", text="&OK" } :button{ text = "&Cancel" }