updated weather generation - now including rain

This commit is contained in:
Vasyl Horbachenko
2018-06-14 19:24:13 +03:00
parent 064b9ba877
commit a4145154af
4 changed files with 26 additions and 4 deletions

View File

@@ -68,7 +68,7 @@ class OverviewCanvas:
for cp in self.game.theater.controlpoints:
coords = self.cp_coordinates(cp)
arc_size = 28 * math.pow(cp.importance, 1)
arc_size = 22 * math.pow(cp.importance, 1)
extent = max(cp.base.strength * 180, 10)
start = (180 - extent) / 2
color = cp.captured and 'blue' or 'red'