diff options
| author | Rangi <remy.oukaour+rangi42@gmail.com> | 2020-04-07 18:06:10 -0400 |
|---|---|---|
| committer | Rangi <remy.oukaour+rangi42@gmail.com> | 2020-04-08 12:14:37 -0400 |
| commit | 865d623846520b210c140d1c8e20157c47c06726 (patch) | |
| tree | f119115f6f64fe48636155627d420417aeaab3c4 /Makefile | |
| parent | d076dc25e05b68eb36e9930eba52e74be2c012ba (diff) | |
Remove unused nonmatching files for electro_ball.png and sgb_border.bin
electro_ball.png needed to preserve one whitespace tile which tools/gfx would normally remove. Preserving a list of tile indexes has been added as a general feature to tools/gfx.
sgb_border.bin needed to remove the 20x18 center area of $00 bytes. This is achievable with the standard tr utility.
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -51,7 +51,7 @@ crystal-au: pokecrystal-au.gbc clean: rm -f $(roms) $(crystal_obj) $(crystal11_obj) $(crystal_au_obj) $(roms:.gbc=.map) $(roms:.gbc=.sym) - find gfx \( -name "*.[12]bpp" -o -name "*.lz" -o -name "*.gbcpal" \) -delete + find gfx \( -name "*.[12]bpp" -o -name "*.lz" -o -name "*.gbcpal" -o -name "*.sgb.tilemap" \) -delete find gfx/pokemon -mindepth 1 ! -path "gfx/pokemon/unown/*" \( -name "bitmask.asm" -o -name "frames.asm" -o -name "front.animated.tilemap" -o -name "front.dimensions" \) -delete $(MAKE) clean -C tools/ @@ -226,12 +226,12 @@ gfx/battle/dude.2bpp: rgbgfx += -h gfx/font/unused_bold_font.1bpp: tools/gfx += --trim-whitespace gfx/sgb/sgb_border.2bpp: tools/gfx += --trim-whitespace +gfx/sgb/sgb_border.sgb.tilemap: gfx/sgb/sgb_border.bin ; tr < $< -d '\000' > $@ gfx/mobile/ascii_font.2bpp: tools/gfx += --trim-whitespace gfx/mobile/dialpad.2bpp: tools/gfx += --trim-whitespace gfx/mobile/dialpad_cursor.2bpp: tools/gfx += --trim-whitespace -gfx/mobile/electro_ball.2bpp: tools/gfx += --trim-whitespace -gfx/mobile/electro_ball_nonmatching.2bpp: tools/gfx += --remove-duplicates --remove-xflip +gfx/mobile/electro_ball.2bpp: tools/gfx += --remove-duplicates --remove-xflip --preserve=0x39 gfx/mobile/mobile_splash.2bpp: tools/gfx += --remove-duplicates --remove-xflip gfx/mobile/card.2bpp: tools/gfx += --trim-whitespace gfx/mobile/card_2.2bpp: tools/gfx += --trim-whitespace |
