5 Commits

Author SHA1 Message Date
Geoffrey 9aa9c2ee35 Uniformize getDigitSize code with the previous fix’s.
It returns the same results except when palette.length === 0: it now returns 0 instead of -Infinity.
It’s also probably easier to grasp, and more efficient.
2015-08-23 15:53:55 +02:00
Geoffrey eeb142c1b5 Bugfix in spriteUnravel: digitsize was incorrectly determined when parsing a palette. 2015-08-23 15:53:54 +02:00
Josh Goldberg e4e4b30a62 Fixed TypeScript errors
It all works now.
2015-06-29 17:28:01 -04:00
Josh Goldberg 82281e198a "Converted" to TS (contains errors from old JS)
The old code gave extra properties to elements. Gonna have to work
around that.
2015-06-29 17:14:33 -04:00
Josh Goldberg d54afeb3ae Brought in references 2015-06-29 16:19:43 -04:00