1
0
mirror of https://github.com/SquidDev-CC/CC-Tweaked synced 2024-12-26 01:50:29 +00:00
CC-Tweaked/tools
Jonathan Coates 53546b9f57
Split some textures into sprite sheets
- Split buttons.png into individual textures.
 - Split corners_xyz.png into the following:

   - borders_xyz.png: A nine-sliced texture of the computer borders.
   - pocket_bottom_xyz.png: A horizontally 3-sliced texture of the
     bottom part of a pocket computer.
   - sidebar_xyz.png: A vertically 3-sliced texture of the computer
     sidebar.

While not splitting the sliced textures into smaller ones may seem a
little odd, it's consistent with what vanilla does in 1.20.2, and I
think will make editing them easier than juggling 9 textures.

I do want to make this more data-driven in the future, but that will
have to wait until the changes in 1.20.2.

This also adds a tools/update-resources.py program, which performs this
transformation on a given resource pack.
2023-08-27 18:02:51 +01:00
..
language.py License CC:T according to the REUSE specification (#1351) 2023-03-15 21:52:13 +00:00
parse-reports.py License CC:T according to the REUSE specification (#1351) 2023-03-15 21:52:13 +00:00
screenshots.py Fix client tests not running on Forge 2023-07-22 19:40:50 +01:00
update-resources.py Split some textures into sprite sheets 2023-08-27 18:02:51 +01:00