diff 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
line wrap: on
line diff
--- a/pytouhou/formats/anm0.py
+++ b/pytouhou/formats/anm0.py
@@ -33,12 +33,24 @@ class Animations(object):
                      10: ('fff', 'set_3d_rotations_speed'),
                      11: ('ff', 'set_scale_speed'),
                      12: ('ii', 'fade'),
+                     13: ('', None),
+                     14: ('', None),
                      15: ('', 'keep_still'),
                      16: ('i', 'set_random_sprite'),
+                     17: ('fff', None),
+                     18: ('ffii', None),
+                     19: ('ffii', None),
+                     20: ('fffi', None),
+                     21: ('', None),
+                     22: ('i', None),
                      23: ('', 'set_corner_relative_placement'),
+                     24: ('', None),
+                     25: ('i', 'set_allow_offset'), #TODO: better name
+                     26: ('i', None),
                      27: ('f', 'shift_texture_x'),
                      28: ('f', 'shift_texture_y'),
-                     30: ('ffi', 'scale_in')}
+                     30: ('ffi', 'scale_in'),
+                     31: ('i', None)}
 
 
     def __init__(self):