mirror of
https://github.com/dcs-retribution/dcs-retribution.git
synced 2025-11-10 15:41:24 +00:00
25 lines
468 B
Python
Executable File
25 lines
468 B
Python
Executable File
#!/usr/bin/env python3
|
|
import pickle
|
|
|
|
import theater.caucasus
|
|
import ui.window
|
|
import ui.mainmenu
|
|
|
|
from game.game import Game
|
|
from theater import start_generator
|
|
from userdata import persistency
|
|
|
|
game = persistency.restore_game()
|
|
if not game:
|
|
theater = theater.caucasus.CaucasusTheater()
|
|
start_generator.generate_initial(theater, "Russia")
|
|
|
|
game = Game(theater=theater)
|
|
|
|
w = ui.window.Window()
|
|
m = ui.mainmenu.MainMenu(w, None, game)
|
|
m.display()
|
|
|
|
w.run()
|
|
|