JTAC support

This commit is contained in:
Khopa
2020-08-12 03:13:51 +02:00
parent bff33e6992
commit 2a50768db1
36 changed files with 809 additions and 29 deletions

View File

@@ -24,6 +24,8 @@ class BriefingGenerator:
self.targets = []
self.waypoints = []
self.jtacs = []
def append_frequency(self, name: str, frequency: str):
self.freqs.append((name, frequency))
@@ -109,6 +111,12 @@ class BriefingGenerator:
self.description += "ICLS Channel : " + str(cp.icls) + "\n"
self.description += "-" * 50 + "\n"
self.description += "JTACS [F-10 Menu] : \n"
self.description += "==================="
for jtac in self.game.jtacs:
self.description += str(jtac[0]) + " -- Code : " + str(jtac[1]) + "\n"
self.m.set_description_text(self.description)
self.m.add_picture_blue(os.path.abspath("./resources/ui/splash_screen.png"))