Dan Albert
|
2e901f3586
|
Replace some isinstance calls with TypeGuard.
These aren't as ergonomic as I'd hoped because of
https://www.python.org/dev/peps/pep-0647/#narrowing-of-implicit-self-and-cls-parameters.
I added a decorator `@self_type_guard` so we can avoid needing to import
the descendent types in the typeguard implementation (which wouldn't fix
any circular imports, just move them).
|
2022-02-12 14:59:44 -08:00 |
|
Dan Albert
|
ce4628b64f
|
Separate combat as a distinct flight state.
Will be used later to simulate combat.
https://github.com/dcs-liberation/dcs_liberation/issues/1680
|
2021-12-21 14:52:27 -08:00 |
|
Dan Albert
|
d31f0e22e3
|
Show the status of each flight in the UI.
https://github.com/dcs-liberation/dcs_liberation/issues/1704
|
2021-11-07 11:27:50 -08:00 |
|
Dan Albert
|
1a3b8d1dd6
|
Reduce fuel for fast-forwarded player flights.
This only has an effect for aircraft for which we have fuel consumption
data, but that's fine.
Fixes https://github.com/dcs-liberation/dcs_liberation/issues/1681
|
2021-10-30 11:37:06 -07:00 |
|
Dan Albert
|
b2cbf4b6f4
|
Halt sim on A2A contact.
https://github.com/dcs-liberation/dcs_liberation/issues/1681
|
2021-10-30 10:18:49 -07:00 |
|