aboutsummaryrefslogtreecommitdiff
path: root/write-brlan.py
diff options
context:
space:
mode:
authorcomex <comexk@gmail.com>2009-02-14 19:34:11 -0500
committercomex <comexk@gmail.com>2009-02-14 19:34:11 -0500
commit13f85338ac2c1c28ac5fb0c6f364156ab50e7a28 (patch)
treee447ca0ec96097afc3af1f25c659882e24df831e /write-brlan.py
parent215cd892afdf8827b3c73d7b726bf073a729ef4c (diff)
old change
Diffstat (limited to '')
-rw-r--r--write-brlan.py17
1 files changed, 12 insertions, 5 deletions
diff --git a/write-brlan.py b/write-brlan.py
index a01f287..e9fa710 100644
--- a/write-brlan.py
+++ b/write-brlan.py
@@ -1,11 +1,18 @@
import sys, struct, re
from ethyl import *
-CAT_COORDS = 0x1000000
-CAT_2_UNK = 0x2000000 # alpha and stuff
-COORD_X = 0
-COORD_Y = 1
-
+CAT_COORDS = 0x1000000
+CAT_2_UNK = 0x2000000 # alpha and stuff
+COORD_X = 0
+COORD_Y = 1
+COORD_Z = 2
+COORD_FLIP_X = 3
+COORD_FLIP_Y = 4
+COORD_ANGLE = 5
+COORD_XMAG = 6
+COORD_YMAG = 7
+COORD_WIDTH = 8
+COORD_HEIGHT = 9
f = open(sys.argv[1], 'r')
data = eval(f.read())
f.close()