comparison pytouhou/formats/std.py @ 118:c596a1a69402

Fix std parsing
author Thibaut Girka <thib@sitedethib.com>
date Wed, 07 Sep 2011 15:43:46 +0200
parents 340fcda8e64a
children 88361534c77e
comparison
equal deleted inserted replaced
117:1ec8be40880f 118:c596a1a69402
30 30
31 class Stage(object): 31 class Stage(object):
32 _instructions = {0: ('fff', 'set_viewpos'), 32 _instructions = {0: ('fff', 'set_viewpos'),
33 1: ('BBBxff', 'set_fog'), 33 1: ('BBBxff', 'set_fog'),
34 2: ('fff', 'set_viewpos2'), 34 2: ('fff', 'set_viewpos2'),
35 3: ('III', 'start_interpolating_viewpos2'), 35 3: ('Ixxxxxxxx', 'start_interpolating_viewpos2'),
36 4: ('III', 'start_interpolating_fog')} 36 4: ('Ixxxxxxxx', 'start_interpolating_fog')}
37 37
38 def __init__(self): 38 def __init__(self):
39 self.name = '' 39 self.name = ''
40 self.bgms = (('', ''), ('', ''), ('', ''), ('', '')) 40 self.bgms = (('', ''), ('', ''), ('', ''), ('', ''))
41 self.models = [] 41 self.models = []