Mercurial > touhou
comparison pytouhou/formats/ecl.py @ 63:8527fe640844
Implement simple arithmetic instructions.
author | Emmanuel Gil Peyrot <linkmauve@linkmauve.fr> |
---|---|
date | Wed, 24 Aug 2011 17:14:05 -0700 |
parents | 4fe37a620b22 |
children | d469012368b3 |
comparison
equal
deleted
inserted
replaced
62:1f591adcea04 | 63:8527fe640844 |
---|---|
29 5: ('if', 'set_float'), | 29 5: ('if', 'set_float'), |
30 6: ('ii', 'set_random_int'), | 30 6: ('ii', 'set_random_int'), |
31 8: ('if', 'set_random_float'), | 31 8: ('if', 'set_random_float'), |
32 9: ('iff', 'set_random_float2'), | 32 9: ('iff', 'set_random_float2'), |
33 10: ('i', None), | 33 10: ('i', None), |
34 13: ('iii', None), | 34 13: ('iii', 'set_random_int2'), |
35 14: ('iii', None), | 35 14: ('iii', 'substract_int'), |
36 15: ('iii', None), | 36 15: ('iii', 'multiply_int'), |
37 16: ('iii', None), | 37 16: ('iii', 'divide_int'), |
38 17: ('iii', None), | 38 17: ('iii', 'modulo'), |
39 18: ('i', None), | 39 18: ('i', None), |
40 20: ('iff', 'add'), | 40 20: ('iff', 'add_float'), |
41 21: ('iff', 'sub'), | 41 21: ('iff', 'substract_float'), |
42 23: ('iff', None), | 42 23: ('iff', 'divide_float'), |
43 25: ('iffff', None), | 43 25: ('iffff', None), |
44 26: ('i', None), | 44 26: ('i', None), |
45 27: ('ii', 'compare_ints'), | 45 27: ('ii', 'compare_ints'), |
46 28: ('ff', None), | 46 28: ('ff', 'compare_floats'), |
47 29: ('ii', None), | 47 29: ('ii', 'relative_jump?'), |
48 30: ('ii', None), | 48 30: ('ii', 'relative_jump?'), |
49 31: ('ii', 'relative_jump_if_equal'), | 49 31: ('ii', 'relative_jump_if_equal'), |
50 32: ('ii', None), | 50 32: ('ii', 'relative_jump?'), |
51 33: ('ii', None), | 51 33: ('ii', 'relative_jump?'), |
52 34: ('ii', None), | 52 34: ('ii', 'relative_jump?'), |
53 35: ('iif', 'call'), | 53 35: ('iif', 'call'), |
54 36: ('', 'return?'), | 54 36: ('', 'return?'), |
55 39: ('iifii', 'call_if_equal'), | 55 39: ('iifii', 'call_if_equal'), |
56 43: ('fff', 'set_position'), | 56 43: ('fff', 'set_position'), |
57 45: ('ff', 'set_angle_and_speed'), | 57 45: ('ff', 'set_angle_and_speed'), |