Add (very!) rough simulation of frozen combat.

There are some TODOs here but th behavior is flagged off by default. The
biggest TODO here is that the time spent frozen is not simulated, so
flights that are engaged by SAMs will unfreeze, move slightly, then re-
freeze.

https://github.com/dcs-liberation/dcs_liberation/issues/1680
This commit is contained in:
Dan Albert
2021-12-22 13:07:10 -08:00
parent bc41261009
commit 2585dcc130
19 changed files with 260 additions and 35 deletions

View File

@@ -56,10 +56,7 @@ class SimController(QObject):
if game is not None:
self.game_loop = GameLoop(
game,
GameUpdateCallbacks(
self.on_simulation_complete,
self.sim_update.emit,
),
GameUpdateCallbacks(self.on_simulation_complete, self.sim_update.emit),
)
self.started = False