Mercurial > touhou
comparison pytouhou/formats/anm0.py @ 71:a03d7a94b997
Add support for a few ANM instructions
author | Thibaut Girka <thib@sitedethib.com> |
---|---|
date | Sat, 27 Aug 2011 20:42:16 +0200 |
parents | a142e57218a0 |
children | 6a08f44fa01b |
comparison
equal
deleted
inserted
replaced
70:7c1f20407b3e | 71:a03d7a94b997 |
---|---|
31 7: ('', 'toggle_mirrored'), | 31 7: ('', 'toggle_mirrored'), |
32 9: ('fff', 'set_3d_rotations'), | 32 9: ('fff', 'set_3d_rotations'), |
33 10: ('fff', 'set_3d_rotations_speed'), | 33 10: ('fff', 'set_3d_rotations_speed'), |
34 11: ('ff', 'set_scale_speed'), | 34 11: ('ff', 'set_scale_speed'), |
35 12: ('ii', 'fade'), | 35 12: ('ii', 'fade'), |
36 13: ('', None), | |
37 14: ('', None), | |
36 15: ('', 'keep_still'), | 38 15: ('', 'keep_still'), |
37 16: ('i', 'set_random_sprite'), | 39 16: ('i', 'set_random_sprite'), |
40 17: ('fff', None), | |
41 18: ('ffii', None), | |
42 19: ('ffii', None), | |
43 20: ('fffi', None), | |
44 21: ('', None), | |
45 22: ('i', None), | |
38 23: ('', 'set_corner_relative_placement'), | 46 23: ('', 'set_corner_relative_placement'), |
47 24: ('', None), | |
48 25: ('i', 'set_allow_offset'), #TODO: better name | |
49 26: ('i', None), | |
39 27: ('f', 'shift_texture_x'), | 50 27: ('f', 'shift_texture_x'), |
40 28: ('f', 'shift_texture_y'), | 51 28: ('f', 'shift_texture_y'), |
41 30: ('ffi', 'scale_in')} | 52 30: ('ffi', 'scale_in'), |
53 31: ('i', None)} | |
42 | 54 |
43 | 55 |
44 def __init__(self): | 56 def __init__(self): |
45 self.size = (0, 0) | 57 self.size = (0, 0) |
46 self.first_name = None | 58 self.first_name = None |