comparison pytouhou/formats/hint.py @ 404:6c0cb3eee33e

Add MoF’s hints support, and fix the Text timeout interface.
author Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
date Sun, 24 Mar 2013 10:29:37 +0100
parents 7aa70f0def38
children d1f0bb0b7a17
comparison
equal deleted inserted replaced
403:9589a01e6edf 404:6c0cb3eee33e
74 tokens.append((field, None)) 74 tokens.append((field, None))
75 75
76 stage_mode = False 76 stage_mode = False
77 tip_mode = False 77 tip_mode = False
78 stage = None 78 stage = None
79 tip = None
79 hints = cls() 80 hints = cls()
80 stages = hints.stages 81 stages = hints.stages
81 82
82 for token in tokens: 83 for token in tokens:
83 key = token[0] 84 key = token[0]