Add shuttle walls to icon smoothing (#10573)

This commit is contained in:
metalgearsloth
2022-08-14 15:00:40 +10:00
committed by GitHub
parent 21d1e185cf
commit 9eb60ed641
2 changed files with 17 additions and 2 deletions

View File

@@ -49,8 +49,8 @@ src_img = PIL.Image.open(input_name)
input_row = src_img.size[0] // tile_w
tiles = []
# 48 is the amount of tiles that usually exist
for i in range(48):
# 48 is the amount of tiles that usually exist, but 56 covers walls with diagonal variants.
for i in range(56):
tile = PIL.Image.new("RGBA", (tile_w, tile_h))
tx = i % input_row
ty = i // input_row

View File

@@ -49,6 +49,21 @@ conversion_modes = {
[ 46, 46, 46, 46], # 7 : Full
]
),
# TG
"tg_shuttle": ConversionMode(
7, 9,
[
# BR, TL, TR, BL
[ 0, 0, 0, 0],
[ 16, 16, 3, 3],
[ 0, 0, 0, 0],
[ 16, 16, 3, 3],
[ 3, 3, 16, 16],
[ 19, 19, 19, 19],
[ 3, 3, 16, 16],
[ 54, 54, 54, 54],
]
),
# Citadel Station
"citadel": ConversionMode(
7, 3,