Send world map snow coverage over remotefortressreader.

develop
Japa 2016-10-06 22:16:40 +05:30
parent 1862106fd1
commit 58ed20b25b
2 changed files with 2 additions and 0 deletions

@ -524,6 +524,7 @@ message RegionTile
repeated SiteRealizationBuilding buildings = 14; repeated SiteRealizationBuilding buildings = 14;
repeated MatPair stone_materials = 15; repeated MatPair stone_materials = 15;
repeated MatPair tree_materials = 16; repeated MatPair tree_materials = 16;
optional int32 snow = 17;
} }
message RegionMap message RegionMap

@ -2105,6 +2105,7 @@ static void SetRegionTile(RegionTile * out, df::region_map_entry * e1)
plantMat->set_mat_type(419); plantMat->set_mat_type(419);
} }
} }
out->set_snow(e1->snowfall);
} }
static command_result GetWorldMapNew(color_ostream &stream, const EmptyMessage *in, WorldMap *out) static command_result GetWorldMapNew(color_ostream &stream, const EmptyMessage *in, WorldMap *out)