Made SAM range circles easier to see

This commit is contained in:
Donnie 2020-06-28 22:56:48 -04:00
parent bda28f81cc
commit b0e2c73024
2 changed files with 3 additions and 1 deletions

View File

@ -59,6 +59,8 @@ COLORS: Dict[str, QColor] = {
"orange": QColor(254, 125, 10),
"night_overlay": QColor(12, 20, 69),
"dawn_dust_overlay": QColor(46, 38, 85),
"white_transparent": QColor(255, 255, 255, 30),
"grey_transparent": QColor(150, 150, 150, 20),
}
CP_SIZE = 24

View File

@ -157,7 +157,7 @@ class QLiberationMap(QGraphicsView):
if unit.threat_range > max_range:
max_range = unit.threat_range
if has_radar:
scene.addEllipse(go_pos[0] - max_range/300.0 + 8, go_pos[1] - max_range/300.0 + 8, max_range/150.0, max_range/150.0, brush, brush)
scene.addEllipse(go_pos[0] - max_range/300.0 + 8, go_pos[1] - max_range/300.0 + 8, max_range/150.0, max_range/150.0, CONST.COLORS["white_transparent"], CONST.COLORS["grey_transparent"])
added_objects.append(ground_object.obj_name)
for cp in self.game.theater.enemy_points():