aboutsummaryrefslogtreecommitdiff
path: root/testrlyt.py
diff options
context:
space:
mode:
authorcomex <comexk@gmail.com>2009-02-06 18:54:49 -0500
committercomex <comexk@gmail.com>2009-02-06 18:54:49 -0500
commit27fc9b148381a84cb20749657c4d387f640fdf64 (patch)
tree98fe05b8b4988c3be0c13101aea2d0e3e82c540f /testrlyt.py
parent6ab309e20733773d0a5039051086a6d86db3b43b (diff)
Initial RLAN write support.
Diffstat (limited to '')
-rw-r--r--testrlyt.py59
1 files changed, 4 insertions, 55 deletions
diff --git a/testrlyt.py b/testrlyt.py
index d9722e4..b260f49 100644
--- a/testrlyt.py
+++ b/testrlyt.py
@@ -6,8 +6,7 @@
}),
('txl1', {
'textures': [
- {'unk': 0, 'name': 'icon.tpl'},
- {'unk': 1, 'name': 'opera.tpl'},
+ {'unk': 0, 'name': 'smiley.tpl'},
]
}),
('fnl1', {
@@ -24,7 +23,7 @@
'tev_kcolor': [0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, ],
'unk_color': [0xff, 0xff, 0xff, 0xff], # Possibly the color of the thing itself
'unk_color_2': [0xff, 0xff, 0xff, 0xff],
- 'texref': [ { 'tex': 'opera.tpl', 'wrap_s': 0, 'wrap_t': 0 } ], # screwed up with wrap on
+ 'texref': [ { 'tex': 'smiley.tpl', 'wrap_s': 0, 'wrap_t': 0 } ], # screwed up with wrap on
'ua2': [ (0.0, 0.0, 0.0, 1.0, 1.0) ],
'ua3': [ (1, 4, 0x1e, 0) ], # Changing this --> image disappears (not text, though)
'ua4': None,
@@ -57,64 +56,14 @@
'z': 0
}),
'pas1',
- #('txt1', {
- #'alpha': 0xff,
- #'alpha_2': 0x0,
- #'angle': 0,
- #'flags_1': 1,
- #'flags_2': 0,
- #'height': 38,
- #'name': 'textbox',
- #'width': 400,
- #'x': 0,
- #'y': 50,
- #'xmag': 1,
- #'ymag': 1,
- #'z': 0,
- #'~text.material': 'textmat',
- #'~text.text': 'Some Text',
- #'~text.font_idx': 0,
- #'~text.unk4': 0,
- #'~text.color1': 0xffffffff,
- #'~text.color2': 0xffffffff,
- #'~text.font_size_x': 32.0,
- #'~text.font_size_y': 38.0,
- #'~text.char_space': -1.0,
- #'~text.line_space': -1.0,
- #}),
- #[('txt1', {
- #'alpha': 0xff,
- #'alpha_2': 0x0,
- #'angle': 0,
- #'flags_1': 1,
- #'flags_2': 0,
- #'height': 38,
- #'name': 'textbox%d' % i,
- #'width': 400,
- #'x': random.randint(0, 600),
- #'y': random.randint(0, 600),
- #'xmag': 1,
- #'ymag': 1,
- #'z': 0,
- #'~text.material': 'textmat',
- #'~text.text': 'benzin (and built-in fonts) ftw!',
- #'~text.font_idx': 1,
- #'~text.unk4': 0,
- #'~text.color1': 0xffffffff,
- #'~text.color2': 0xffffffff,
- #'~text.font_size_x': 32.0,
- #'~text.font_size_y': 38.0,
- #'~text.char_space': -1.0,
- #'~text.line_space': -1.0,
- #}) for i in xrange(2, 29)],
('pic1', {
'alpha': 0xff,
'alpha_2': 0x0,
'angle': 0,
'flags_1': 1, # Black if omitted
'flags_2': 4, # "X, Y at center?"
- 'width': 608,
- 'height': 456,
+ 'width': 152,
+ 'height': 152,
'name': 'pic',
'x': 0,
'y': 0,