2018-12-04 19:19:31 -06:00
|
|
|
|
using Microsoft.Xna.Framework.Content.Pipeline;
|
2018-12-05 02:28:09 -06:00
|
|
|
|
using Newtonsoft.Json;
|
2018-12-04 19:19:31 -06:00
|
|
|
|
using System.IO;
|
2019-01-13 22:05:34 -06:00
|
|
|
|
using TImport = System.String;
|
2018-12-04 19:19:31 -06:00
|
|
|
|
|
|
|
|
|
namespace RecrownedAthenaeum.Pipeline.TextureAtlas
|
|
|
|
|
{
|
2019-01-13 17:09:27 -06:00
|
|
|
|
[ContentImporter(".tatlas", DisplayName = "Texture Atlas Importer", DefaultProcessor = "TextureAtlasProcessor")]
|
2019-01-13 22:05:34 -06:00
|
|
|
|
internal class TextureAtlasImporter : ContentImporter<TImport>
|
2018-12-04 19:19:31 -06:00
|
|
|
|
{
|
2019-01-13 22:05:34 -06:00
|
|
|
|
public override TImport Import(string filename, ContentImporterContext context)
|
2018-12-04 19:19:31 -06:00
|
|
|
|
{
|
2019-01-13 22:05:34 -06:00
|
|
|
|
return File.ReadAllText(filename);
|
2018-12-04 19:19:31 -06:00
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|