From 58ed20b25b6019aa95d8e44028bff091050723e2 Mon Sep 17 00:00:00 2001 From: Japa Date: Thu, 6 Oct 2016 22:16:40 +0530 Subject: [PATCH 1/3] Send world map snow coverage over remotefortressreader. --- plugins/proto/RemoteFortressReader.proto | 1 + plugins/remotefortressreader.cpp | 1 + 2 files changed, 2 insertions(+) diff --git a/plugins/proto/RemoteFortressReader.proto b/plugins/proto/RemoteFortressReader.proto index 36c2442ce..f0fc57a6b 100644 --- a/plugins/proto/RemoteFortressReader.proto +++ b/plugins/proto/RemoteFortressReader.proto @@ -524,6 +524,7 @@ message RegionTile repeated SiteRealizationBuilding buildings = 14; repeated MatPair stone_materials = 15; repeated MatPair tree_materials = 16; + optional int32 snow = 17; } message RegionMap diff --git a/plugins/remotefortressreader.cpp b/plugins/remotefortressreader.cpp index 6bc7c8173..c3d2e42e5 100644 --- a/plugins/remotefortressreader.cpp +++ b/plugins/remotefortressreader.cpp @@ -2105,6 +2105,7 @@ static void SetRegionTile(RegionTile * out, df::region_map_entry * e1) plantMat->set_mat_type(419); } } + out->set_snow(e1->snowfall); } static command_result GetWorldMapNew(color_ostream &stream, const EmptyMessage *in, WorldMap *out) From d5e8b5eeba79c267c823fabe44594966bfbeaf27 Mon Sep 17 00:00:00 2001 From: Japa Date: Thu, 13 Oct 2016 19:35:40 +0530 Subject: [PATCH 2/3] Update XML --- library/xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/xml b/library/xml index 1c1479db1..7422b712f 160000 --- a/library/xml +++ b/library/xml @@ -1 +1 @@ -Subproject commit 1c1479db1d3f45a187c1f9d355db1b033c32d4ff +Subproject commit 7422b712fcdbb8ee767ff08949329936fc0d8bc9 From 980b6dd12f9bc216e3fd1da63513c7e8e0b86124 Mon Sep 17 00:00:00 2001 From: Japa Date: Thu, 13 Oct 2016 19:42:40 +0530 Subject: [PATCH 3/3] Update XML again. --- library/xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/xml b/library/xml index 7422b712f..693d58c85 160000 --- a/library/xml +++ b/library/xml @@ -1 +1 @@ -Subproject commit 7422b712fcdbb8ee767ff08949329936fc0d8bc9 +Subproject commit 693d58c8588120ad0a179bdd154cf0ce6035c782