diff options
Diffstat (limited to 'tools/mkasset.py')
-rw-r--r-- | tools/mkasset.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/mkasset.py b/tools/mkasset.py index f21a2f9..c8311b6 100644 --- a/tools/mkasset.py +++ b/tools/mkasset.py | |||
@@ -70,6 +70,8 @@ def carve_image(rgba_bytes, tile_width, tile_height, columns) -> Generator[bytea | |||
70 | yield tile_bytes.copy() | 70 | yield tile_bytes.copy() |
71 | 71 | ||
72 | 72 | ||
73 | # TODO: Palettize it like we do for sprites. Use 2-byte indices to allow up to | ||
74 | # 65k colours. | ||
73 | def convert_tsx(input_filepath, output_filepath): | 75 | def convert_tsx(input_filepath, output_filepath): |
74 | """Converts a Tiled .tsx tileset file to a .TS tile set file.""" | 76 | """Converts a Tiled .tsx tileset file to a .TS tile set file.""" |
75 | xml = ElementTree.parse(input_filepath) | 77 | xml = ElementTree.parse(input_filepath) |