You've already forked pokecrystal-board
mirror of
https://gitlab.com/xCrystal/pokecrystal-board.git
synced 2025-04-09 05:44:44 -07:00
normal.gbcpal → front.gbcpal
Eliminate redundant Makefile rules Keep Makefile's Pokemon-specific hack rules next to the misc file-specific graphics rules
This commit is contained in:
32
Makefile
32
Makefile
@@ -99,6 +99,20 @@ pokecrystal11.gbc: $(crystal11_obj) pokecrystal.link
|
|||||||
tools/lzcomp -- $< $@)
|
tools/lzcomp -- $< $@)
|
||||||
|
|
||||||
|
|
||||||
|
### Pokemon pic graphics rules
|
||||||
|
|
||||||
|
gfx/pokemon/%/front.animated.2bpp: gfx/pokemon/%/front.2bpp gfx/pokemon/%/front.dimensions
|
||||||
|
tools/pokemon_animation_graphics -o $@ $^
|
||||||
|
gfx/pokemon/%/front.animated.tilemap: gfx/pokemon/%/front.2bpp gfx/pokemon/%/front.dimensions
|
||||||
|
tools/pokemon_animation_graphics -t $@ $^
|
||||||
|
gfx/pokemon/%/bitmask.asm: gfx/pokemon/%/front.animated.tilemap gfx/pokemon/%/front.dimensions
|
||||||
|
tools/pokemon_animation -b $^ > $@
|
||||||
|
gfx/pokemon/%/frames.asm: gfx/pokemon/%/front.animated.tilemap gfx/pokemon/%/front.dimensions
|
||||||
|
tools/pokemon_animation -f $^ > $@
|
||||||
|
gfx/pokemon/%/back.2bpp: gfx/pokemon/%/back.png
|
||||||
|
$(RGBGFX) -h -o $@ $<
|
||||||
|
|
||||||
|
|
||||||
### Terrible hacks to match animations. Delete these rules if you don't care about matching.
|
### Terrible hacks to match animations. Delete these rules if you don't care about matching.
|
||||||
|
|
||||||
# Dewgong has an unused tile id in its last frame. The tile itself is missing.
|
# Dewgong has an unused tile id in its last frame. The tile itself is missing.
|
||||||
@@ -119,24 +133,6 @@ gfx/pokemon/girafarig/front.animated.tilemap: gfx/pokemon/girafarig/front.2bpp g
|
|||||||
tools/pokemon_animation_graphics --girafarig -t $@ $^
|
tools/pokemon_animation_graphics --girafarig -t $@ $^
|
||||||
|
|
||||||
|
|
||||||
### Pokemon pic graphics rules
|
|
||||||
|
|
||||||
gfx/pokemon/%/front.dimensions: gfx/pokemon/%/front.png
|
|
||||||
tools/png_dimensions $< $@
|
|
||||||
gfx/pokemon/%/normal.gbcpal: gfx/pokemon/%/front.png
|
|
||||||
$(RGBGFX) -p $@ $<
|
|
||||||
gfx/pokemon/%/back.2bpp: gfx/pokemon/%/back.png
|
|
||||||
$(RGBGFX) -h -o $@ $<
|
|
||||||
gfx/pokemon/%/bitmask.asm: gfx/pokemon/%/front.animated.tilemap gfx/pokemon/%/front.dimensions
|
|
||||||
tools/pokemon_animation -b $^ > $@
|
|
||||||
gfx/pokemon/%/frames.asm: gfx/pokemon/%/front.animated.tilemap gfx/pokemon/%/front.dimensions
|
|
||||||
tools/pokemon_animation -f $^ > $@
|
|
||||||
gfx/pokemon/%/front.animated.2bpp: gfx/pokemon/%/front.2bpp gfx/pokemon/%/front.dimensions
|
|
||||||
tools/pokemon_animation_graphics -o $@ $^
|
|
||||||
gfx/pokemon/%/front.animated.tilemap: gfx/pokemon/%/front.2bpp gfx/pokemon/%/front.dimensions
|
|
||||||
tools/pokemon_animation_graphics -t $@ $^
|
|
||||||
|
|
||||||
|
|
||||||
### Misc file-specific graphics rules
|
### Misc file-specific graphics rules
|
||||||
|
|
||||||
gfx/new_game/shrink1.2bpp: rgbgfx += -h
|
gfx/new_game/shrink1.2bpp: rgbgfx += -h
|
||||||
|
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user