aboutsummaryrefslogtreecommitdiff
path: root/testrlyt.py
diff options
context:
space:
mode:
Diffstat (limited to 'testrlyt.py')
-rw-r--r--testrlyt.py32
1 files changed, 29 insertions, 3 deletions
diff --git a/testrlyt.py b/testrlyt.py
index 32c53c5..9619263 100644
--- a/testrlyt.py
+++ b/testrlyt.py
@@ -13,6 +13,7 @@
('fnl1', {
'files': [
{'unk': 0, 'name': 'wbf1.brfna'},
+ {'unk': 0, 'name': 'wbf2.brfna'},
]
}),
('mat1', {
@@ -46,19 +47,44 @@
'x': 0,
'y': 50,
'xmag': 1,
- 'ymag': 2,
+ 'ymag': 1,
'z': 0,
'~text.material': 'textmat',
'~text.text': 'Some Text',
'~text.font_idx': 0,
'~text.unk4': 0,
- '~text.unk6': 0xffffffff,
- '~text.unk7': 0xffffffff,
+ '~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': -250,
+ 'y': -50 + 5*i,
+ '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': 0xff + 0x01080800*i,
+ '~text.color2': 0xff + 0x08080100*i,
+ '~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, 30)],
('pic1', {
'alpha': 0xff,
'alpha_2': 0x0,