diff options
Diffstat (limited to 'gfx')
-rw-r--r-- | gfx/data_select/data_select.attrmap | bin | 0 -> 1024 bytes | |||
-rw-r--r-- | gfx/data_select/data_select.bin.xor | bin | 0 -> 3282 bytes | |||
-rw-r--r-- | gfx/data_select/data_select.png | bin | 0 -> 2006 bytes | |||
-rw-r--r-- | gfx/data_select/data_select.tilemap | bin | 0 -> 1024 bytes | |||
-rw-r--r-- | gfx/data_select/data_select.tilemap_attrmap.xor | bin | 0 -> 839 bytes | |||
-rw-r--r-- | gfx/gfx.mk | 17 |
6 files changed, 15 insertions, 2 deletions
diff --git a/gfx/data_select/data_select.attrmap b/gfx/data_select/data_select.attrmap Binary files differnew file mode 100644 index 0000000..36dedc9 --- /dev/null +++ b/gfx/data_select/data_select.attrmap diff --git a/gfx/data_select/data_select.bin.xor b/gfx/data_select/data_select.bin.xor Binary files differnew file mode 100644 index 0000000..064f8da --- /dev/null +++ b/gfx/data_select/data_select.bin.xor diff --git a/gfx/data_select/data_select.png b/gfx/data_select/data_select.png Binary files differnew file mode 100644 index 0000000..ea64d58 --- /dev/null +++ b/gfx/data_select/data_select.png diff --git a/gfx/data_select/data_select.tilemap b/gfx/data_select/data_select.tilemap Binary files differnew file mode 100644 index 0000000..63f5f73 --- /dev/null +++ b/gfx/data_select/data_select.tilemap diff --git a/gfx/data_select/data_select.tilemap_attrmap.xor b/gfx/data_select/data_select.tilemap_attrmap.xor Binary files differnew file mode 100644 index 0000000..f8274ae --- /dev/null +++ b/gfx/data_select/data_select.tilemap_attrmap.xor @@ -1,8 +1,21 @@ -gfx := $(patsubst %.png, $(dir_build)/%.bin, \ - $(call rwildcard, gfx, *.png)) +gfx_exceptions := \ +$(dir_build)/gfx/data_select/data_select.bin + +gfx := $(filter-out $(gfx_exceptions), \ + $(patsubst %.png, $(dir_build)/%.bin, \ + $(call rwildcard, gfx, *.png))) RGBGFXFLAGS := $(dir_build)/%.bin: %.png | $$(dir $$@) $(RGBGFX) $(RGBGFXFLAGS) -o $@ $< $(dir_build)/gfx/sprites/%.bin: RGBGFXFLAGS = -h + +# data_select.tilemap_attrmap.xor decompresses to data_select.tilemap concatenated with data_select.attrmap +$(dir_build)/gfx/data_select/data_select.tilemap_attrmap: gfx/data_select/data_select.tilemap gfx/data_select/data_select.attrmap | $$(dir $$@) + cat $^ > $@ + +# data_select.bin.xor decompresses to 2bpp-encoded data_select.png with an extra byte $33 (ASCII "3") appended +$(dir_build)/gfx/data_select/data_select.bin: gfx/data_select/data_select.bin.png | $$(dir $$@) + $(RGBGFX) $(RGBGFXFLAGS) -o $@ $< + printf 3 >> $@ |