mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/PCK-Studio.git
synced 2026-05-22 01:06:35 +00:00
MainForm: Added "Edit Texture Atlas" Button
This commit is contained in:
@@ -710,6 +710,26 @@ namespace PckStudio
|
||||
buttonEdit.Text = "EDIT TILE ANIMATION";
|
||||
buttonEdit.Visible = true;
|
||||
}
|
||||
|
||||
bool isTerrain = file.Filename == "res/terrain.png";
|
||||
bool isItems = file.Filename == "res/items.png";
|
||||
bool isParticles = file.Filename == "res/particles.png";
|
||||
bool isMoonPhases = file.Filename == "res/terrain/moon_phases.png";
|
||||
bool isMapIcons = file.Filename == "res/misc/mapicons.png";
|
||||
bool isAdditionalMapIcons = file.Filename == "res/misc/additionalmapicons.png";
|
||||
bool isXPOrbs = file.Filename == "res/item/xporb.png";
|
||||
bool isExplosions = file.Filename == "res/misc/explosion.png";
|
||||
bool isPaintings = file.Filename == "res/art/kz.png";
|
||||
bool isBanners = file.Filename == "res/item/banner/Banner_Atlas.png";
|
||||
|
||||
if ((
|
||||
isTerrain || isItems || isParticles || isMoonPhases || isPaintings ||
|
||||
isMapIcons || isAdditionalMapIcons || isXPOrbs || isExplosions || isBanners
|
||||
) && file.Type == PckAssetType.TextureFile)
|
||||
{
|
||||
buttonEdit.Text = "EDIT TEXTURE ATLAS";
|
||||
buttonEdit.Visible = true;
|
||||
}
|
||||
}
|
||||
break;
|
||||
|
||||
|
||||
@@ -660,11 +660,14 @@
|
||||
<None Include="Resources\atlases\paintings.png" />
|
||||
<Content Include="Resources\atlases\terrain.png" />
|
||||
<None Include="Resources\external\trello.png" />
|
||||
<None Include="Resources\icons\file_copy.png" />
|
||||
<Content Include="Resources\icons\file_delete.png" />
|
||||
<Content Include="Resources\icons\file_empty.png" />
|
||||
<None Include="Resources\icons\file_export.png" />
|
||||
<None Include="Resources\icons\file_import.png" />
|
||||
<Content Include="Resources\icons\file_new.png" />
|
||||
<None Include="Resources\icons\file_paste.png" />
|
||||
<None Include="Resources\icons\file_restore.png" />
|
||||
<Content Include="Resources\icons\music.png" />
|
||||
<None Include="Resources\icons\ranch.png" />
|
||||
<Content Include="Resources\icons\Replace.png" />
|
||||
|
||||
Reference in New Issue
Block a user