mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/PCK-Studio.git
synced 2026-06-19 02:31:57 +00:00
Renamed atlas resources
This commit is contained in:
@@ -21,7 +21,7 @@ namespace PckStudio.Internal
|
||||
{
|
||||
Profiler.Start();
|
||||
{
|
||||
_entityImages ??= Resources.entities_sheet.SplitHorizontal(32).ToArray();
|
||||
_entityImages ??= Resources.entities_atlas.SplitHorizontal(32).ToArray();
|
||||
DataCacher ??= new FileCacher(Program.AppDataCache);
|
||||
_ = Tiles.JsonBlockData;
|
||||
_ = Tiles.JsonItemData;
|
||||
|
||||
@@ -63,28 +63,28 @@ namespace PckStudio.Internal.Json
|
||||
internal static List<JsonTileInfo> ExplosionTileInfos => JsonExplosionData.Explosion;
|
||||
|
||||
private static Image[] _itemImages;
|
||||
public static Image[] ItemImages => _itemImages ??= Resources.items_sheet.SplitHorizontal(16).ToArray();
|
||||
public static Image[] ItemImages => _itemImages ??= Resources.items_atlas.SplitHorizontal(16).ToArray();
|
||||
|
||||
private static Image[] _blockImages;
|
||||
public static Image[] BlockImages => _blockImages ??= Resources.terrain_sheet.SplitHorizontal(16).ToArray();
|
||||
public static Image[] BlockImages => _blockImages ??= Resources.terrain_atlas.SplitHorizontal(16).ToArray();
|
||||
|
||||
private static Image[] _particleImages;
|
||||
public static Image[] ParticleImages => _particleImages ??= Resources.particles_sheet.SplitHorizontal(16).ToArray();
|
||||
public static Image[] ParticleImages => _particleImages ??= Resources.particles_atlas.SplitHorizontal(16).ToArray();
|
||||
|
||||
private static Image[] _moonPhaseImages;
|
||||
public static Image[] MoonPhaseImages => _moonPhaseImages ??= Resources.moon_phases_sheet.SplitHorizontal(4).ToArray();
|
||||
public static Image[] MoonPhaseImages => _moonPhaseImages ??= Resources.moon_phases_atlas.SplitHorizontal(4).ToArray();
|
||||
|
||||
private static Image[] _mapIconImages;
|
||||
public static Image[] MapIconImages => _mapIconImages ??= Resources.map_icons_sheet.SplitHorizontal(4).ToArray();
|
||||
public static Image[] MapIconImages => _mapIconImages ??= Resources.map_icons_atlas.SplitHorizontal(4).ToArray();
|
||||
|
||||
private static Image[] _additionalMapIconImages;
|
||||
public static Image[] AdditionalMapIconImages => _additionalMapIconImages ??= Resources.additional_map_icons_sheet.SplitHorizontal(4).ToArray();
|
||||
public static Image[] AdditionalMapIconImages => _additionalMapIconImages ??= Resources.additional_map_icons_atlas.SplitHorizontal(4).ToArray();
|
||||
|
||||
private static Image[] _experienceOrbIconImages;
|
||||
public static Image[] ExperienceOrbImages => _experienceOrbIconImages ??= Resources.experience_orbs_sheet.SplitHorizontal(4).ToArray();
|
||||
public static Image[] ExperienceOrbImages => _experienceOrbIconImages ??= Resources.experience_orbs_atlas.SplitHorizontal(4).ToArray();
|
||||
|
||||
private static Image[] _explosionImages;
|
||||
public static Image[] ExplosionImages => _explosionImages ??= Resources.explosion_sheet.SplitHorizontal(4).ToArray();
|
||||
public static Image[] ExplosionImages => _explosionImages ??= Resources.explosion_atlas.SplitHorizontal(4).ToArray();
|
||||
|
||||
private static ImageList GetImageList(Image[] images)
|
||||
{
|
||||
|
||||
@@ -636,7 +636,6 @@
|
||||
<None Include="Resources\atlases\mapIconData.json" />
|
||||
<None Include="Resources\atlases\moonPhaseData.json" />
|
||||
<None Include="Resources\atlases\particleData.json" />
|
||||
<None Include="Resources\atlases\tileData.json" />
|
||||
<None Include="Resources\TexturePackIcon.png" />
|
||||
<None Include="Resources\binka\binkawin.asi" />
|
||||
<None Include="Resources\fileTemplates\1.91_colours.col" />
|
||||
|
||||
36
PCK-Studio/Properties/Resources.Designer.cs
generated
36
PCK-Studio/Properties/Resources.Designer.cs
generated
@@ -73,9 +73,9 @@ namespace PckStudio.Properties {
|
||||
/// <summary>
|
||||
/// Looks up a localized resource of type System.Drawing.Bitmap.
|
||||
/// </summary>
|
||||
public static System.Drawing.Bitmap additional_map_icons_sheet {
|
||||
public static System.Drawing.Bitmap additional_map_icons_atlas {
|
||||
get {
|
||||
object obj = ResourceManager.GetObject("additional_map_icons_sheet", resourceCulture);
|
||||
object obj = ResourceManager.GetObject("additional_map_icons_atlas", resourceCulture);
|
||||
return ((System.Drawing.Bitmap)(obj));
|
||||
}
|
||||
}
|
||||
@@ -277,9 +277,9 @@ namespace PckStudio.Properties {
|
||||
/// <summary>
|
||||
/// Looks up a localized resource of type System.Drawing.Bitmap.
|
||||
/// </summary>
|
||||
public static System.Drawing.Bitmap entities_sheet {
|
||||
public static System.Drawing.Bitmap entities_atlas {
|
||||
get {
|
||||
object obj = ResourceManager.GetObject("entities_sheet", resourceCulture);
|
||||
object obj = ResourceManager.GetObject("entities_atlas", resourceCulture);
|
||||
return ((System.Drawing.Bitmap)(obj));
|
||||
}
|
||||
}
|
||||
@@ -329,9 +329,9 @@ namespace PckStudio.Properties {
|
||||
/// <summary>
|
||||
/// Looks up a localized resource of type System.Drawing.Bitmap.
|
||||
/// </summary>
|
||||
public static System.Drawing.Bitmap experience_orbs_sheet {
|
||||
public static System.Drawing.Bitmap experience_orbs_atlas {
|
||||
get {
|
||||
object obj = ResourceManager.GetObject("experience_orbs_sheet", resourceCulture);
|
||||
object obj = ResourceManager.GetObject("experience_orbs_atlas", resourceCulture);
|
||||
return ((System.Drawing.Bitmap)(obj));
|
||||
}
|
||||
}
|
||||
@@ -369,9 +369,9 @@ namespace PckStudio.Properties {
|
||||
/// <summary>
|
||||
/// Looks up a localized resource of type System.Drawing.Bitmap.
|
||||
/// </summary>
|
||||
public static System.Drawing.Bitmap explosion_sheet {
|
||||
public static System.Drawing.Bitmap explosion_atlas {
|
||||
get {
|
||||
object obj = ResourceManager.GetObject("explosion_sheet", resourceCulture);
|
||||
object obj = ResourceManager.GetObject("explosion_atlas", resourceCulture);
|
||||
return ((System.Drawing.Bitmap)(obj));
|
||||
}
|
||||
}
|
||||
@@ -538,9 +538,9 @@ namespace PckStudio.Properties {
|
||||
/// <summary>
|
||||
/// Looks up a localized resource of type System.Drawing.Bitmap.
|
||||
/// </summary>
|
||||
public static System.Drawing.Bitmap items_sheet {
|
||||
public static System.Drawing.Bitmap items_atlas {
|
||||
get {
|
||||
object obj = ResourceManager.GetObject("items_sheet", resourceCulture);
|
||||
object obj = ResourceManager.GetObject("items_atlas", resourceCulture);
|
||||
return ((System.Drawing.Bitmap)(obj));
|
||||
}
|
||||
}
|
||||
@@ -558,9 +558,9 @@ namespace PckStudio.Properties {
|
||||
/// <summary>
|
||||
/// Looks up a localized resource of type System.Drawing.Bitmap.
|
||||
/// </summary>
|
||||
public static System.Drawing.Bitmap map_icons_sheet {
|
||||
public static System.Drawing.Bitmap map_icons_atlas {
|
||||
get {
|
||||
object obj = ResourceManager.GetObject("map_icons_sheet", resourceCulture);
|
||||
object obj = ResourceManager.GetObject("map_icons_atlas", resourceCulture);
|
||||
return ((System.Drawing.Bitmap)(obj));
|
||||
}
|
||||
}
|
||||
@@ -615,9 +615,9 @@ namespace PckStudio.Properties {
|
||||
/// <summary>
|
||||
/// Looks up a localized resource of type System.Drawing.Bitmap.
|
||||
/// </summary>
|
||||
public static System.Drawing.Bitmap moon_phases_sheet {
|
||||
public static System.Drawing.Bitmap moon_phases_atlas {
|
||||
get {
|
||||
object obj = ResourceManager.GetObject("moon_phases_sheet", resourceCulture);
|
||||
object obj = ResourceManager.GetObject("moon_phases_atlas", resourceCulture);
|
||||
return ((System.Drawing.Bitmap)(obj));
|
||||
}
|
||||
}
|
||||
@@ -730,9 +730,9 @@ namespace PckStudio.Properties {
|
||||
/// <summary>
|
||||
/// Looks up a localized resource of type System.Drawing.Bitmap.
|
||||
/// </summary>
|
||||
public static System.Drawing.Bitmap particles_sheet {
|
||||
public static System.Drawing.Bitmap particles_atlas {
|
||||
get {
|
||||
object obj = ResourceManager.GetObject("particles_sheet", resourceCulture);
|
||||
object obj = ResourceManager.GetObject("particles_atlas", resourceCulture);
|
||||
return ((System.Drawing.Bitmap)(obj));
|
||||
}
|
||||
}
|
||||
@@ -870,9 +870,9 @@ namespace PckStudio.Properties {
|
||||
/// <summary>
|
||||
/// Looks up a localized resource of type System.Drawing.Bitmap.
|
||||
/// </summary>
|
||||
public static System.Drawing.Bitmap terrain_sheet {
|
||||
public static System.Drawing.Bitmap terrain_atlas {
|
||||
get {
|
||||
object obj = ResourceManager.GetObject("terrain_sheet", resourceCulture);
|
||||
object obj = ResourceManager.GetObject("terrain_atlas", resourceCulture);
|
||||
return ((System.Drawing.Bitmap)(obj));
|
||||
}
|
||||
}
|
||||
|
||||
@@ -223,7 +223,7 @@
|
||||
<data name="INFO_ICON" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\Resources\iconImageList\INFO ICON.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||
</data>
|
||||
<data name="terrain_sheet" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<data name="terrain_atlas" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\Resources\atlases\terrain.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||
</data>
|
||||
<data name="tu53colours" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
@@ -232,7 +232,7 @@
|
||||
<data name="clock" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\Resources\icons\clock.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||
</data>
|
||||
<data name="items_sheet" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<data name="items_atlas" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\Resources\atlases\items.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||
</data>
|
||||
<data name="CHANGELOG" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
@@ -277,7 +277,7 @@
|
||||
<data name="blank" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\Resources\iconImageList\blank.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||
</data>
|
||||
<data name="entities_sheet" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<data name="entities_atlas" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\Resources\atlases\entities.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||
</data>
|
||||
<data name="entityData" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
@@ -325,16 +325,16 @@
|
||||
<data name="ProjectLogo" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\..\ProjectLogo.ico;System.Drawing.Icon, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||
</data>
|
||||
<data name="moon_phases_sheet" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<data name="moon_phases_atlas" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\Resources\atlases\moon_phases.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||
</data>
|
||||
<data name="additional_map_icons_sheet" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<data name="additional_map_icons_atlas" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\Resources\atlases\additional_mapicons.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||
</data>
|
||||
<data name="map_icons_sheet" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<data name="map_icons_atlas" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\Resources\atlases\map_icons.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||
</data>
|
||||
<data name="experience_orbs_sheet" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<data name="experience_orbs_atlas" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\Resources\atlases\experience_orbs.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||
</data>
|
||||
<data name="blockData" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
@@ -346,7 +346,7 @@
|
||||
<data name="explosionData" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\Resources\atlases\explosionData.json;System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089;Windows-1252</value>
|
||||
</data>
|
||||
<data name="explosion_sheet" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<data name="explosion_atlas" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\Resources\atlases\explosion.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||
</data>
|
||||
<data name="itemData" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
@@ -361,7 +361,7 @@
|
||||
<data name="particleData" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\Resources\atlases\particleData.json;System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089;Windows-1252</value>
|
||||
</data>
|
||||
<data name="particles_sheet" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<data name="particles_atlas" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\Resources\atlases\particles.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||
</data>
|
||||
</root>
|
||||
Reference in New Issue
Block a user