2020-03-04 21:14:41 +00:00
|
|
|
#include ../Makefile.inc
|
|
|
|
|
|
|
|
PNG2RLE = ../../gr-utils/png2rle
|
2020-03-05 03:25:46 +00:00
|
|
|
PNG2GR = ../../gr-utils/png2gr
|
|
|
|
LZSA = ~/research/lzsa/lzsa/lzsa
|
2020-03-04 21:14:41 +00:00
|
|
|
|
|
|
|
all: mist_graphics.inc
|
|
|
|
|
2020-03-05 03:25:46 +00:00
|
|
|
|
2020-03-04 21:14:41 +00:00
|
|
|
####
|
|
|
|
|
|
|
|
mist_graphics.inc: \
|
2020-03-25 05:17:59 +00:00
|
|
|
dock_n.lzsa dock_s.lzsa dock_e.lzsa dock_w.lzsa dock_w_open.lzsa \
|
2020-07-09 05:31:22 +00:00
|
|
|
dock_shipup_e.lzsa dock_shipup_n.lzsa \
|
2020-03-05 03:25:46 +00:00
|
|
|
dock_switch_n.lzsa dock_switch_s.lzsa \
|
2020-07-09 05:31:22 +00:00
|
|
|
dock_switch_shipup_s.lzsa \
|
2020-03-05 03:25:46 +00:00
|
|
|
dock_steps_w.lzsa \
|
2020-07-04 03:06:11 +00:00
|
|
|
cat_letter.lzsa \
|
2020-03-05 03:25:46 +00:00
|
|
|
above_dock_e.lzsa above_dock_n.lzsa above_dock_s.lzsa \
|
2020-07-09 05:31:22 +00:00
|
|
|
above_dock_shipup_s.lzsa above_dock_shipup_e.lzsa \
|
2020-03-05 03:25:46 +00:00
|
|
|
step_base_s.lzsa step_base_n.lzsa \
|
|
|
|
step_land1_w.lzsa step_land1_e.lzsa \
|
2020-07-09 05:31:22 +00:00
|
|
|
step_land1_shipup_e.lzsa \
|
2020-03-05 03:25:46 +00:00
|
|
|
step_land2_e.lzsa step_land2_w.lzsa \
|
2020-07-09 05:31:22 +00:00
|
|
|
step_land2_shipup_e.lzsa \
|
2020-03-05 16:49:46 +00:00
|
|
|
step_dentist_n.lzsa step_dentist_e.lzsa step_dentist_w.lzsa \
|
2020-07-09 05:31:22 +00:00
|
|
|
step_dentist_shipup_e.lzsa \
|
2020-03-05 03:25:46 +00:00
|
|
|
step_land3_w.lzsa step_land3_e.lzsa \
|
2020-07-09 05:31:22 +00:00
|
|
|
step_land3_shipup_e.lzsa \
|
2020-03-05 03:25:46 +00:00
|
|
|
step_top_e.lzsa step_top_w.lzsa step_top_n.lzsa step_top_s.lzsa \
|
2020-07-09 05:31:22 +00:00
|
|
|
step_top_shipup_e.lzsa \
|
2020-07-08 03:06:14 +00:00
|
|
|
pool_n.lzsa pool_s.lzsa pool_e.lzsa pool_w.lzsa \
|
2020-07-08 22:35:58 +00:00
|
|
|
pool_shipup_s.lzsa \
|
2020-07-07 21:07:53 +00:00
|
|
|
clock_e.lzsa clock_n.lzsa clock_s.lzsa clock_bridge.lzsa \
|
2020-03-05 03:25:46 +00:00
|
|
|
spaceship_far_e.lzsa spaceship_far_n.lzsa \
|
2020-07-08 15:23:08 +00:00
|
|
|
tree1_n.lzsa tree1_s.lzsa \
|
2020-07-08 22:35:58 +00:00
|
|
|
tree1_shipup_n.lzsa \
|
2020-07-08 15:23:08 +00:00
|
|
|
tree2_n.lzsa tree2_s.lzsa tree2_e.lzsa tree2_w.lzsa \
|
2020-04-15 17:30:23 +00:00
|
|
|
tree5_n.lzsa tree5_e.lzsa tree5_s.lzsa \
|
2020-03-07 23:24:46 +00:00
|
|
|
gear_n.lzsa gear_w.lzsa gear_s.lzsa gear_open_n.lzsa\
|
2020-07-09 05:31:22 +00:00
|
|
|
gear_shipup_s.lzsa \
|
2020-03-05 16:49:46 +00:00
|
|
|
gear_base_n.lzsa \
|
2020-03-05 18:56:42 +00:00
|
|
|
spaceship_switch_n.lzsa \
|
2020-03-13 17:04:31 +00:00
|
|
|
tree4_n.lzsa tree4_s.lzsa tree4_w.lzsa tree4_e.lzsa \
|
2020-03-05 21:48:45 +00:00
|
|
|
clock_island_s.lzsa clock_island_n.lzsa \
|
2020-03-07 18:42:04 +00:00
|
|
|
clock_puzzle_s.lzsa clock_puzzle_bridge.lzsa \
|
2020-07-11 17:11:39 +00:00
|
|
|
clock_inside_n.lzsa clock_inside_s.lzsa clock_inside_open.lzsa \
|
2020-03-09 20:30:54 +00:00
|
|
|
gear_open_e.lzsa \
|
2020-03-15 18:25:51 +00:00
|
|
|
pad_n.lzsa pad_e.lzsa \
|
2020-03-18 05:48:15 +00:00
|
|
|
spaceship_door_n.lzsa spaceship_door_open_n.lzsa \
|
|
|
|
tower2_base_w.lzsa tower2_top_w.lzsa \
|
2020-03-19 05:59:09 +00:00
|
|
|
tower2_path_e.lzsa tower2_path_n.lzsa \
|
2020-07-08 17:53:46 +00:00
|
|
|
pillar_cross.lzsa pillar_eye.lzsa pillar_snake.lzsa pillar_emu.lzsa \
|
|
|
|
pillar_bug.lzsa pillar_anchor.lzsa pillar_arrow.lzsa pillar_leaf.lzsa
|
2020-03-19 18:04:41 +00:00
|
|
|
echo "dock_n_lzsa: .incbin \"dock_n.lzsa\"" > mist_graphics.inc
|
2020-03-05 03:25:46 +00:00
|
|
|
echo "dock_s_lzsa: .incbin \"dock_s.lzsa\"" >> mist_graphics.inc
|
|
|
|
echo "dock_e_lzsa: .incbin \"dock_e.lzsa\"" >> mist_graphics.inc
|
|
|
|
echo "dock_w_lzsa: .incbin \"dock_w.lzsa\"" >> mist_graphics.inc
|
2020-07-09 05:31:22 +00:00
|
|
|
echo "dock_shipup_e_lzsa: .incbin \"dock_shipup_e.lzsa\"" >> mist_graphics.inc
|
|
|
|
echo "dock_shipup_n_lzsa: .incbin \"dock_shipup_n.lzsa\"" >> mist_graphics.inc
|
2020-03-25 05:17:59 +00:00
|
|
|
echo "dock_w_open_lzsa: .incbin \"dock_w_open.lzsa\"" >> mist_graphics.inc
|
2020-03-05 03:25:46 +00:00
|
|
|
echo "dock_switch_n_lzsa: .incbin \"dock_switch_n.lzsa\"" >> mist_graphics.inc
|
|
|
|
echo "dock_switch_s_lzsa: .incbin \"dock_switch_s.lzsa\"" >> mist_graphics.inc
|
2020-07-09 05:31:22 +00:00
|
|
|
echo "dock_switch_shipup_s_lzsa: .incbin \"dock_switch_shipup_s.lzsa\"" >> mist_graphics.inc
|
2020-03-05 03:25:46 +00:00
|
|
|
echo "dock_steps_w_lzsa: .incbin \"dock_steps_w.lzsa\"" >> mist_graphics.inc
|
2020-07-04 03:06:11 +00:00
|
|
|
echo "cat_letter_lzsa: .incbin \"cat_letter.lzsa\"" >> mist_graphics.inc
|
2020-03-05 03:25:46 +00:00
|
|
|
echo "above_dock_e_lzsa: .incbin \"above_dock_e.lzsa\"" >> mist_graphics.inc
|
|
|
|
echo "above_dock_s_lzsa: .incbin \"above_dock_s.lzsa\"" >> mist_graphics.inc
|
|
|
|
echo "above_dock_n_lzsa: .incbin \"above_dock_n.lzsa\"" >> mist_graphics.inc
|
2020-07-09 05:31:22 +00:00
|
|
|
echo "above_dock_shipup_s_lzsa: .incbin \"above_dock_shipup_s.lzsa\"" >> mist_graphics.inc
|
|
|
|
echo "above_dock_shipup_e_lzsa: .incbin \"above_dock_shipup_e.lzsa\"" >> mist_graphics.inc
|
2020-03-05 03:25:46 +00:00
|
|
|
echo "step_base_n_lzsa: .incbin \"step_base_n.lzsa\"" >> mist_graphics.inc
|
|
|
|
echo "step_base_s_lzsa: .incbin \"step_base_s.lzsa\"" >> mist_graphics.inc
|
|
|
|
echo "step_land1_w_lzsa: .incbin \"step_land1_w.lzsa\"" >> mist_graphics.inc
|
|
|
|
echo "step_land1_e_lzsa: .incbin \"step_land1_e.lzsa\"" >> mist_graphics.inc
|
2020-07-09 05:31:22 +00:00
|
|
|
echo "step_land1_shipup_e_lzsa: .incbin \"step_land1_shipup_e.lzsa\"" >> mist_graphics.inc
|
2020-03-05 03:25:46 +00:00
|
|
|
echo "step_land2_w_lzsa: .incbin \"step_land2_w.lzsa\"" >> mist_graphics.inc
|
|
|
|
echo "step_land2_e_lzsa: .incbin \"step_land2_e.lzsa\"" >> mist_graphics.inc
|
2020-07-09 05:31:22 +00:00
|
|
|
echo "step_land2_shipup_e_lzsa: .incbin \"step_land2_shipup_e.lzsa\"" >> mist_graphics.inc
|
2020-03-05 16:49:46 +00:00
|
|
|
echo "step_dentist_n_lzsa: .incbin \"step_dentist_n.lzsa\"" >> mist_graphics.inc
|
2020-03-05 03:25:46 +00:00
|
|
|
echo "step_dentist_w_lzsa: .incbin \"step_dentist_w.lzsa\"" >> mist_graphics.inc
|
|
|
|
echo "step_dentist_e_lzsa: .incbin \"step_dentist_e.lzsa\"" >> mist_graphics.inc
|
2020-07-09 05:31:22 +00:00
|
|
|
echo "step_dentist_shipup_e_lzsa: .incbin \"step_dentist_shipup_e.lzsa\"" >> mist_graphics.inc
|
2020-03-05 03:25:46 +00:00
|
|
|
echo "step_land3_w_lzsa: .incbin \"step_land3_w.lzsa\"" >> mist_graphics.inc
|
|
|
|
echo "step_land3_e_lzsa: .incbin \"step_land3_e.lzsa\"" >> mist_graphics.inc
|
2020-07-09 05:31:22 +00:00
|
|
|
echo "step_land3_shipup_e_lzsa: .incbin \"step_land3_shipup_e.lzsa\"" >> mist_graphics.inc
|
2020-03-05 03:25:46 +00:00
|
|
|
echo "step_top_e_lzsa: .incbin \"step_top_e.lzsa\"" >> mist_graphics.inc
|
|
|
|
echo "step_top_w_lzsa: .incbin \"step_top_w.lzsa\"" >> mist_graphics.inc
|
|
|
|
echo "step_top_n_lzsa: .incbin \"step_top_n.lzsa\"" >> mist_graphics.inc
|
|
|
|
echo "step_top_s_lzsa: .incbin \"step_top_s.lzsa\"" >> mist_graphics.inc
|
2020-07-09 05:31:22 +00:00
|
|
|
echo "step_top_shipup_e_lzsa: .incbin \"step_top_shipup_e.lzsa\"" >> mist_graphics.inc
|
2020-07-08 03:06:14 +00:00
|
|
|
echo "pool_n_lzsa: .incbin \"pool_n.lzsa\"" >> mist_graphics.inc
|
2020-03-05 03:25:46 +00:00
|
|
|
echo "pool_s_lzsa: .incbin \"pool_s.lzsa\"" >> mist_graphics.inc
|
2020-07-08 03:06:14 +00:00
|
|
|
echo "pool_e_lzsa: .incbin \"pool_e.lzsa\"" >> mist_graphics.inc
|
|
|
|
echo "pool_w_lzsa: .incbin \"pool_w.lzsa\"" >> mist_graphics.inc
|
2020-07-08 22:35:58 +00:00
|
|
|
echo "pool_shipup_s_lzsa: .incbin \"pool_shipup_s.lzsa\"" >> mist_graphics.inc
|
2020-03-05 03:25:46 +00:00
|
|
|
echo "clock_s_lzsa: .incbin \"clock_s.lzsa\"" >> mist_graphics.inc
|
2020-07-07 21:07:53 +00:00
|
|
|
echo "clock_n_lzsa: .incbin \"clock_n.lzsa\"" >> mist_graphics.inc
|
2020-04-15 18:04:40 +00:00
|
|
|
echo "clock_e_lzsa: .incbin \"clock_e.lzsa\"" >> mist_graphics.inc
|
2020-03-07 20:59:49 +00:00
|
|
|
echo "clock_bridge_lzsa: .incbin \"clock_bridge.lzsa\"" >> mist_graphics.inc
|
2020-03-05 03:25:46 +00:00
|
|
|
echo "spaceship_far_n_lzsa: .incbin \"spaceship_far_n.lzsa\"" >> mist_graphics.inc
|
|
|
|
echo "spaceship_far_e_lzsa: .incbin \"spaceship_far_e.lzsa\"" >> mist_graphics.inc
|
2020-07-08 15:23:08 +00:00
|
|
|
echo "tree1_n_lzsa: .incbin \"tree1_n.lzsa\"" >> mist_graphics.inc
|
|
|
|
echo "tree1_s_lzsa: .incbin \"tree1_s.lzsa\"" >> mist_graphics.inc
|
2020-07-08 22:35:58 +00:00
|
|
|
echo "tree1_shipup_n_lzsa: .incbin \"tree1_shipup_n.lzsa\"" >> mist_graphics.inc
|
2020-03-05 03:25:46 +00:00
|
|
|
echo "tree2_n_lzsa: .incbin \"tree2_n.lzsa\"" >> mist_graphics.inc
|
2020-07-08 03:06:14 +00:00
|
|
|
echo "tree2_s_lzsa: .incbin \"tree2_s.lzsa\"" >> mist_graphics.inc
|
2020-07-08 15:23:08 +00:00
|
|
|
echo "tree2_e_lzsa: .incbin \"tree2_e.lzsa\"" >> mist_graphics.inc
|
|
|
|
echo "tree2_w_lzsa: .incbin \"tree2_w.lzsa\"" >> mist_graphics.inc
|
2020-03-05 03:25:46 +00:00
|
|
|
echo "tree5_n_lzsa: .incbin \"tree5_n.lzsa\"" >> mist_graphics.inc
|
2020-04-15 17:30:23 +00:00
|
|
|
echo "tree5_s_lzsa: .incbin \"tree5_s.lzsa\"" >> mist_graphics.inc
|
2020-03-05 03:25:46 +00:00
|
|
|
echo "tree5_e_lzsa: .incbin \"tree5_e.lzsa\"" >> mist_graphics.inc
|
|
|
|
echo "gear_n_lzsa: .incbin \"gear_n.lzsa\"" >> mist_graphics.inc
|
|
|
|
echo "gear_s_lzsa: .incbin \"gear_s.lzsa\"" >> mist_graphics.inc
|
|
|
|
echo "gear_w_lzsa: .incbin \"gear_w.lzsa\"" >> mist_graphics.inc
|
2020-07-09 05:31:22 +00:00
|
|
|
echo "gear_shipup_s_lzsa: .incbin \"gear_shipup_s.lzsa\"" >> mist_graphics.inc
|
2020-03-07 23:24:46 +00:00
|
|
|
echo "gear_open_n_lzsa: .incbin \"gear_open_n.lzsa\"" >> mist_graphics.inc
|
2020-03-05 03:25:46 +00:00
|
|
|
echo "gear_base_n_lzsa: .incbin \"gear_base_n.lzsa\"" >> mist_graphics.inc
|
2020-03-05 17:28:11 +00:00
|
|
|
echo "spaceship_switch_n_lzsa: .incbin \"spaceship_switch_n.lzsa\"" >> mist_graphics.inc
|
2020-03-05 18:56:42 +00:00
|
|
|
echo "tree4_n_lzsa: .incbin \"tree4_n.lzsa\"" >> mist_graphics.inc
|
|
|
|
echo "tree4_s_lzsa: .incbin \"tree4_s.lzsa\"" >> mist_graphics.inc
|
|
|
|
echo "tree4_w_lzsa: .incbin \"tree4_w.lzsa\"" >> mist_graphics.inc
|
2020-03-13 17:04:31 +00:00
|
|
|
echo "tree4_e_lzsa: .incbin \"tree4_e.lzsa\"" >> mist_graphics.inc
|
2020-03-05 21:48:45 +00:00
|
|
|
echo "clock_island_s_lzsa: .incbin \"clock_island_s.lzsa\"" >> mist_graphics.inc
|
|
|
|
echo "clock_island_n_lzsa: .incbin \"clock_island_n.lzsa\"" >> mist_graphics.inc
|
|
|
|
echo "clock_puzzle_s_lzsa: .incbin \"clock_puzzle_s.lzsa\"" >> mist_graphics.inc
|
2020-03-07 18:42:04 +00:00
|
|
|
echo "clock_puzzle_bridge_lzsa: .incbin \"clock_puzzle_bridge.lzsa\"" >> mist_graphics.inc
|
2020-03-05 21:48:45 +00:00
|
|
|
echo "clock_inside_s_lzsa: .incbin \"clock_inside_s.lzsa\"" >> mist_graphics.inc
|
2020-07-11 17:11:39 +00:00
|
|
|
echo "clock_inside_n_lzsa: .incbin \"clock_inside_n.lzsa\"" >> mist_graphics.inc
|
2020-03-07 23:24:46 +00:00
|
|
|
echo "clock_inside_open_lzsa: .incbin \"clock_inside_open.lzsa\"" >> mist_graphics.inc
|
|
|
|
echo "gear_open_e_lzsa: .incbin \"gear_open_e.lzsa\"" >> mist_graphics.inc
|
2020-03-14 05:20:01 +00:00
|
|
|
echo "pad_n_lzsa: .incbin \"pad_n.lzsa\"" >> mist_graphics.inc
|
|
|
|
echo "pad_e_lzsa: .incbin \"pad_e.lzsa\"" >> mist_graphics.inc
|
2020-03-15 18:25:51 +00:00
|
|
|
echo "spaceship_door_n_lzsa: .incbin \"spaceship_door_n.lzsa\"" >> mist_graphics.inc
|
|
|
|
echo "spaceship_door_open_n_lzsa: .incbin \"spaceship_door_open_n.lzsa\"" >> mist_graphics.inc
|
2020-03-18 05:48:15 +00:00
|
|
|
echo "tower2_base_w_lzsa: .incbin \"tower2_base_w.lzsa\"" >> mist_graphics.inc
|
|
|
|
echo "tower2_top_w_lzsa: .incbin \"tower2_top_w.lzsa\"" >> mist_graphics.inc
|
|
|
|
echo "tower2_path_e_lzsa: .incbin \"tower2_path_e.lzsa\"" >> mist_graphics.inc
|
|
|
|
echo "tower2_path_n_lzsa: .incbin \"tower2_path_n.lzsa\"" >> mist_graphics.inc
|
2020-07-08 17:53:46 +00:00
|
|
|
echo "pillar_cross_lzsa: .incbin \"pillar_cross.lzsa\"" >> mist_graphics.inc
|
|
|
|
echo "pillar_eye_lzsa: .incbin \"pillar_eye.lzsa\"" >> mist_graphics.inc
|
|
|
|
echo "pillar_snake_lzsa: .incbin \"pillar_snake.lzsa\"" >> mist_graphics.inc
|
|
|
|
echo "pillar_emu_lzsa: .incbin \"pillar_emu.lzsa\"" >> mist_graphics.inc
|
|
|
|
echo "pillar_bug_lzsa: .incbin \"pillar_bug.lzsa\"" >> mist_graphics.inc
|
|
|
|
echo "pillar_anchor_lzsa: .incbin \"pillar_anchor.lzsa\"" >> mist_graphics.inc
|
|
|
|
echo "pillar_arrow_lzsa: .incbin \"pillar_arrow.lzsa\"" >> mist_graphics.inc
|
|
|
|
echo "pillar_leaf_lzsa: .incbin \"pillar_leaf.lzsa\"" >> mist_graphics.inc
|
2020-03-05 03:25:46 +00:00
|
|
|
|
|
|
|
%.gr: %.png
|
|
|
|
$(PNG2GR) $< $@
|
2020-03-04 21:14:41 +00:00
|
|
|
|
2020-03-05 03:25:46 +00:00
|
|
|
%.lzsa: %.gr
|
|
|
|
$(LZSA) -r -f2 $< $@
|
2020-03-04 21:14:41 +00:00
|
|
|
|
|
|
|
####
|
|
|
|
|
|
|
|
clean:
|
2020-03-19 21:25:20 +00:00
|
|
|
rm -f *~ *.o *.lst *.gr *.lzsa mist_graphics.inc
|