Browse Source

Add description to help text

tags/v0.1
Starbeamrainbowlabs 3 years ago
parent
commit
6b158a1adf
2 changed files with 3 additions and 0 deletions
  1. 2
    0
      SpritePacker/Resources/HelpText.txt
  2. 1
    0
      SpritePacker/Sprite.cs

+ 2
- 0
SpritePacker/Resources/HelpText.txt View File

@@ -1,6 +1,8 @@
1 1
 SpritePacker {version}, by Starbeamrainbowlabs
2 2
 Built at {build-date}
3 3
 
4
+An advanced sprite packing tool
5
+
4 6
 Usage:
5 7
     [mono ]./SpritePacker.exe [flags] /path/to/output/file.png [filenames]
6 8
 

+ 1
- 0
SpritePacker/Sprite.cs View File

@@ -50,6 +50,7 @@ namespace SpritePacker
50 50
 		public int Right { get { return area.Right; } }
51 51
 
52 52
 		public int AreaSize { get { return area.Width * area.Height; } }
53
+		public int MaxSideLength { get { return Math.Max(area.Width, area.Height); } }
53 54
 
54 55
 		public Sprite(string inFilename)
55 56
 		{

Loading…
Cancel
Save