Skip to content

Commit

Permalink
Add shuttle walls to icon smoothing (#10573)
Browse files Browse the repository at this point in the history
  • Loading branch information
metalgearsloth authored Aug 14, 2022
1 parent 21d1e18 commit 9eb60ed
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Tools/iconsmooth.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,8 @@
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
Expand Down
15 changes: 15 additions & 0 deletions Tools/iconsmooth_lib.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,21 @@ def __init__(self, tw, th, states):
[ 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,
Expand Down

0 comments on commit 9eb60ed

Please sign in to comment.