aboutsummaryrefslogtreecommitdiff
path: root/parse-brlan.py
diff options
context:
space:
mode:
authorcomex <comexk@gmail.com>2009-01-29 21:04:33 -0500
committercomex <comexk@gmail.com>2009-01-29 21:04:33 -0500
commit5264bd8c3e9fa48750b0ced76c07e04ef039e430 (patch)
treeead9c42df08c91f6fa342aeadaeada55c4a0f96c /parse-brlan.py
parent8edaf638429568b8f2dc1b0f2a806ba7847dbd53 (diff)
now makes working brlyts!
Diffstat (limited to 'parse-brlan.py')
-rw-r--r--parse-brlan.py10
1 files changed, 10 insertions, 0 deletions
diff --git a/parse-brlan.py b/parse-brlan.py
index 8004d3d..13c2101 100644
--- a/parse-brlan.py
+++ b/parse-brlan.py
@@ -12,6 +12,16 @@ ch = iff_to_chunks(rlan[offs:])
assert len(ch) == nel
+# Holy indirection
+# rlan
+# pai1
+# timg
+# anim
+# anim body
+# aent
+# aent body
+#
+
for typ, chunk in ch:
assert typ == 'pai1'
framesize, flags, _, num_timgs, num_anims, anim_offset = struct.unpack('>hbbhhI', chunk[:0xc])