diff options
| author | Alex Marshall <SquidMan72@gmail.com> | 2009-02-15 03:58:54 -0800 |
|---|---|---|
| committer | Alex Marshall <SquidMan72@gmail.com> | 2009-02-15 03:58:54 -0800 |
| commit | 6024450ee6a5300dc78720460d893c3a11d0b61c (patch) | |
| tree | 8b858da9c821bad59d351087632ac50c102472ee /write-brlan.py | |
| parent | 5614e8c852cb627d05736a01d3a349966faa4d24 (diff) | |
| parent | 13f85338ac2c1c28ac5fb0c6f364156ab50e7a28 (diff) | |
Merge git@github.com:SquidMan/benzin
Diffstat (limited to '')
| -rw-r--r-- | write-brlan.py | 17 |
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() |
