mirror of
https://github.com/aseprite/aseprite.git
synced 2024-12-24 12:14:18 +00:00
Cel position must be signed WORD in .ase format specs (fix #1246)
This commit is contained in:
parent
f97dc79946
commit
7fe6037862
@ -1,5 +1,5 @@
|
||||
ASE Files (.ASE) Format description
|
||||
Copyright (C) 2001-2015 by David Capello
|
||||
Copyright (C) 2001-2016 by David Capello
|
||||
----------------------------------------------------------------------
|
||||
|
||||
1. References
|
||||
@ -17,10 +17,9 @@ ASE files use Intel (little-endian) byte order.
|
||||
|
||||
BYTE An 8-bit unsigned integer value
|
||||
WORD A 16-bit unsigned integer value
|
||||
SIGNED WORD A 16-bit signed integer value
|
||||
DWORD A 32-bit unsigned integer value
|
||||
LONG A 32-bit signed integer value
|
||||
BYTE[n] "n" bytes.
|
||||
RECT Four LONGs (in the order: x-pos, y-pos, width, heigth)
|
||||
STRING length=WORD (how many characters to read next)
|
||||
string=BYTE[length]
|
||||
The \0 character isn't included.
|
||||
@ -187,8 +186,8 @@ Cel Chunk (0x2005)
|
||||
layer/frame.
|
||||
|
||||
WORD Layer index (see NOTE.2)
|
||||
WORD X position
|
||||
WORD Y position
|
||||
SIGNED WORD X position
|
||||
SIGNED WORD Y position
|
||||
BYTE Opacity level
|
||||
WORD Cel type
|
||||
BYTE[7] For future (set to zero)
|
||||
@ -216,8 +215,8 @@ Cel Chunk (0x2005)
|
||||
Mask Chunk (0x2016) DEPRECATED
|
||||
----------------------------------------
|
||||
|
||||
WORD X position
|
||||
WORD Y position
|
||||
SIGNED WORD X position
|
||||
SIGNED WORD Y position
|
||||
WORD Width
|
||||
WORD Height
|
||||
BYTE[8] For future (set to zero)
|
||||
|
Loading…
Reference in New Issue
Block a user