Added missing resources. Bigger maps for nevada & caucasus
|
Before Width: | Height: | Size: 117 KiB After Width: | Height: | Size: 467 KiB |
|
Before Width: | Height: | Size: 62 KiB After Width: | Height: | Size: 260 KiB |
BIN
resources/ui/cleared.png
Normal file
|
After Width: | Height: | Size: 315 B |
BIN
resources/ui/sam.png
Normal file
|
After Width: | Height: | Size: 229 B |
BIN
resources/ui/target.png
Normal file
|
After Width: | Height: | Size: 230 B |
@ -9,8 +9,8 @@ from .base import *
|
||||
class NevadaTheater(ConflictTheater):
|
||||
terrain = dcs.terrain.Nevada()
|
||||
overview_image = "nevada.gif"
|
||||
reference_points = {(nevada.Mina_Airport_3Q0.position.x, nevada.Mina_Airport_3Q0.position.y): (45, -360),
|
||||
(nevada.Laughlin_Airport.position.x, nevada.Laughlin_Airport.position.y): (440, 80), }
|
||||
reference_points = {(nevada.Mina_Airport_3Q0.position.x, nevada.Mina_Airport_3Q0.position.y): (45*2, -360*2),
|
||||
(nevada.Laughlin_Airport.position.x, nevada.Laughlin_Airport.position.y): (440*2, 80*2), }
|
||||
landmap = load_landmap("resources\\nev_landmap.p")
|
||||
daytime_map = {
|
||||
"dawn": (4, 6),
|
||||
|
||||
@ -9,8 +9,8 @@ from .landmap import load_landmap
|
||||
class PersianGulfTheater(ConflictTheater):
|
||||
terrain = dcs.terrain.PersianGulf()
|
||||
overview_image = "persiangulf.gif"
|
||||
reference_points = {(persiangulf.Sir_Abu_Nuayr.position.x, persiangulf.Sir_Abu_Nuayr.position.y): (321, 145),
|
||||
(persiangulf.Sirri_Island.position.x, persiangulf.Sirri_Island.position.y): (347, 82), }
|
||||
reference_points = {(persiangulf.Sir_Abu_Nuayr.position.x, persiangulf.Sir_Abu_Nuayr.position.y): (321*4, 145*4),
|
||||
(persiangulf.Sirri_Island.position.x, persiangulf.Sirri_Island.position.y): (347*4, 82*4), }
|
||||
landmap = load_landmap("resources\\gulflandmap.p")
|
||||
daytime_map = {
|
||||
"dawn": (6, 8),
|
||||
|
||||
@ -199,7 +199,8 @@ class OverviewCanvas:
|
||||
|
||||
self.surface.blit(self.map, (0, 0))
|
||||
|
||||
pygame.draw.rect(surface, (255, 0, 255), (mouse_pos[0], mouse_pos[1], 5, 5), 2)
|
||||
# Debug
|
||||
# pygame.draw.rect(surface, (255, 0, 255), (mouse_pos[0], mouse_pos[1], 5, 5), 2)
|
||||
|
||||
for cp in self.game.theater.controlpoints:
|
||||
|
||||
@ -248,7 +249,7 @@ class OverviewCanvas:
|
||||
end_coords = self.transform_point(frontline_pos.point_from_heading(heading, distance),
|
||||
treshold=60)
|
||||
|
||||
pygame.draw.line(surface, color, start_coords, end_coords, 1)
|
||||
pygame.draw.line(surface, color, start_coords, end_coords, 4)
|
||||
|
||||
if self.display_bases.get():
|
||||
for cp in self.game.theater.controlpoints:
|
||||
|
||||