summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTreeki <treeki@gmail.com>2013-04-30 18:02:25 +0200
committerTreeki <treeki@gmail.com>2013-04-30 18:02:25 +0200
commit7145e658d7847194642d7a5a5b7d76ab9d9a01c7 (patch)
treeb7b6578bd8ce74841fc9745ba5bb43bcf8cd9f67
parentf268bc9860f271d600c2522818a5111926a3dbc1 (diff)
downloadkoopatlas-7145e658d7847194642d7a5a5b7d76ab9d9a01c7.tar.gz
koopatlas-7145e658d7847194642d7a5a5b7d76ab9d9a01c7.zip
add Tiling_Cloud to RGBA8 hardcode listHEADmaster
-rw-r--r--src/exporter.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/exporter.py b/src/exporter.py
index d396eb2..98307d4 100644
--- a/src/exporter.py
+++ b/src/exporter.py
@@ -286,7 +286,8 @@ class KPMapExporter:
w, h = doodad.size
data += struct.pack('>fffffii', x, y, w, h, doodad.angle, 0, len(doodad.animations))
- is_rgba8 = (doodad.source[0].startswith('Cloud'))
+ is_rgba8 = doodad.source[0].startswith('Cloud') or \
+ doodad.source[0].startswith('Tiling_Cloud')
texInfo.add((doodad.source[0], doodad.source[1].height() * doodad.source[1].width() * (4 if is_rgba8 else 2)))
texture = doodad.source[1]