Mercurial > touhou
comparison pytouhou/formats/std.py @ 1:57667251d040
Oops
author | Thibaut Girka <thib@sitedethib.com> |
---|---|
date | Mon, 01 Aug 2011 15:44:46 +0200 |
parents | 6b2c7af2384c |
children | 58bc264aba38 |
comparison
equal
deleted
inserted
replaced
0:6b2c7af2384c | 1:57667251d040 |
---|---|
77 if (frame, message_type, size) == (0xffffffff, 0xffff, 0xffff): | 77 if (frame, message_type, size) == (0xffffffff, 0xffff, 0xffff): |
78 break | 78 break |
79 if size != 0x0c: | 79 if size != 0x0c: |
80 raise Exception #TODO | 80 raise Exception #TODO |
81 data = file.read(12) | 81 data = file.read(12) |
82 #TODO: do something useful with this | 82 #TODO: maybe add another class for instructions... |
83 stage.script.append((frame, message_type, data)) | |
83 | 84 |
84 return stage | 85 return stage |
85 | 86 |