From eb7c4865b5311ca559b12fe649ea3f865d1f66b5 Mon Sep 17 00:00:00 2001 From: Nathanael Sensfelder Date: Thu, 12 Jul 2018 21:09:37 +0200 Subject: The map editor now displays it correctly. --- src/asset/www/data/tiles.json | 38 ++++++++++++++++++++++++++++++++++++++ src/asset/www/data/tiles.json.m4 | 8 ++++++++ 2 files changed, 46 insertions(+) create mode 100644 src/asset/www/data/tiles.json create mode 100644 src/asset/www/data/tiles.json.m4 (limited to 'src/asset/www') diff --git a/src/asset/www/data/tiles.json b/src/asset/www/data/tiles.json new file mode 100644 index 0000000..0c8f9fc --- /dev/null +++ b/src/asset/www/data/tiles.json @@ -0,0 +1,38 @@ +[ + + { + "msg": "add_tile", + "id": 0, + "nam": "[Grassland] Grass", + "ct": 6, + "rmi": 0, + "rma": 0 + }, + { + "msg": "add_tile", + "id": 1, + "nam": "[Grassland] Mushroom Infestation", + "ct": 12, + "rmi": 1, + "rma": 1 + }, + { + "msg": "add_tile", + "id": 2, + "nam": "[Grassland] Tree Remains", + "ct": 24, + "rmi": 2, + "rma": 2 + }, + { + "msg": "add_tile", + "id": 3, + "nam": "[Grassland] Clear Water", + "ct": 201, + "rmi": 3, + "rma": 17 + }, + { + "msg": "okay" + } +] diff --git a/src/asset/www/data/tiles.json.m4 b/src/asset/www/data/tiles.json.m4 new file mode 100644 index 0000000..fcbbd39 --- /dev/null +++ b/src/asset/www/data/tiles.json.m4 @@ -0,0 +1,8 @@ +[ +m4_include(__MAKEFILE_DATA_DIR/tile/global.m4.conf)m4_dnl +__TILE_CLASS_USE_JSON_STYLE +m4_include(__MAKEFILE_DATA_DIR/tile/grassland.m4d)m4_dnl + { + "msg": "okay" + } +] -- cgit v1.2.3-70-g09d2