Mercurial > touhou
changeset 402:88e2a2485b2b
Add a version attribute to ANM0 and latest discovered instruction.
author | Emmanuel Gil Peyrot <linkmauve@linkmauve.fr> |
---|---|
date | Sat, 16 Feb 2013 19:31:29 +0100 |
parents | 3ce4065840e9 |
children | 9589a01e6edf |
files | pytouhou/formats/anm0.py |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/pytouhou/formats/anm0.py +++ b/pytouhou/formats/anm0.py @@ -61,7 +61,7 @@ class ANM0(object): 21: ('', 'wait'), 22: ('i', 'interrupt_label'), 23: ('', 'set_corner_relative_placement'), - 24: ('', None), + 24: ('', 'wait_ex'), 25: ('i', 'set_allow_offset'), #TODO: better name 26: ('i', 'set_automatic_orientation'), 27: ('f', 'shift_texture_x'), @@ -72,6 +72,7 @@ class ANM0(object): def __init__(self): + self.version = 0 self.size = (0, 0) self.first_name = None self.secondary_name = None @@ -145,4 +146,3 @@ class ANM0(object): self.scripts[i][j] = time, opcode, args return self -