Skip to content

Commit

Permalink
use json for region map sections
Browse files Browse the repository at this point in the history
  • Loading branch information
garakmon committed Apr 28, 2022
1 parent 1380ad4 commit 2a808ce
Show file tree
Hide file tree
Showing 10 changed files with 1,195 additions and 182 deletions.
Binary file removed graphics/pokenav/region_map_section_layout.bin
Binary file not shown.
6 changes: 6 additions & 0 deletions json_data_rules.mk
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,9 @@ $(DATA_SRC_SUBDIR)/wild_encounters.h: $(DATA_SRC_SUBDIR)/wild_encounters.json $(
$(JSONPROC) $^ $@

$(BUILD_DIR)/src/wild_encounter.o: C_DEP += $(DATA_SRC_SUBDIR)/wild_encounters.h

AUTO_GEN_TARGETS += $(DATA_SRC_SUBDIR)/region_map/region_map_entries.h
$(DATA_SRC_SUBDIR)/region_map/region_map_entries.h: $(DATA_SRC_SUBDIR)/region_map/region_map_sections.json $(DATA_SRC_SUBDIR)/region_map/region_map_sections.json.txt
$(JSONPROC) $^ $@

$(C_BUILDDIR)/region_map.o: c_dep += $(DATA_SRC_SUBDIR)/region_map/region_map_entries.h
1 change: 1 addition & 0 deletions src/data/region_map/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
region_map_entries.h
175 changes: 0 additions & 175 deletions src/data/region_map/region_map_entries.h

This file was deleted.

Loading

0 comments on commit 2a808ce

Please sign in to comment.