Pārlūkot izejas kodu

Add description to help text

tags/v0.1
Starbeamrainbowlabs pirms 3 gadiem
vecāks
revīzija
6b158a1adf
2 mainītis faili ar 3 papildinājumiem un 0 dzēšanām
  1. +2
    -0
      SpritePacker/Resources/HelpText.txt
  2. +1
    -0
      SpritePacker/Sprite.cs

+ 2
- 0
SpritePacker/Resources/HelpText.txt Parādīt failu

@@ -1,6 +1,8 @@
SpritePacker {version}, by Starbeamrainbowlabs
Built at {build-date}

An advanced sprite packing tool

Usage:
[mono ]./SpritePacker.exe [flags] /path/to/output/file.png [filenames]


+ 1
- 0
SpritePacker/Sprite.cs Parādīt failu

@@ -50,6 +50,7 @@ namespace SpritePacker
public int Right { get { return area.Right; } }

public int AreaSize { get { return area.Width * area.Height; } }
public int MaxSideLength { get { return Math.Max(area.Width, area.Height); } }

public Sprite(string inFilename)
{

Notiek ielāde…
Atcelt
Saglabāt