Dan Albert
4b4336391a
Remove hand written API objects.
2022-03-06 23:42:23 -08:00
Dan Albert
15176223fa
Add navmesh support to the new map.
...
https://github.com/dcs-liberation/dcs_liberation/issues/2039
2022-03-06 23:07:24 -08:00
Dan Albert
0afe1f69d4
Don't dispatch flight position updates when empty.
2022-03-06 22:03:38 -08:00
Dan Albert
dc4762a03b
Add threat zone support to the new map.
...
https://github.com/dcs-liberation/dcs_liberation/issues/2039
2022-03-06 19:32:30 -08:00
Dan Albert
738cf1f381
Reset game state on new turn.
...
This may not be the way to do this long term, but it is how the old map
works so it's at least not a regression. It might be better to generate
events for the between-turn changes in state instead.
https://github.com/dcs-liberation/dcs_liberation/issues/2039
2022-03-06 00:02:25 -08:00
Dan Albert
73fcfcec7b
Handle map reset when the game is loaded/unloaded.
...
https://github.com/dcs-liberation/dcs_liberation/issues/2039
Partial fix for
https://github.com/dcs-liberation/dcs_liberation/issues/2045 (now works
in the new map, old one not fixed yet).
2022-03-05 18:02:46 -08:00
Dan Albert
35df036eb8
Fix flight position update performance.
...
dispatch is expensive when called in a loop because each call
re-renders. Doing more work per dispatch causes fewer renders.
https://redux.js.org/style-guide/style-guide#avoid-dispatching-many-actions-sequentially
2022-03-05 00:42:22 -08:00
Dan Albert
59f734dd07
Draw frozen combat in the new UI.
...
https://github.com/dcs-liberation/dcs_liberation/issues/2039
2022-03-04 19:41:33 -08:00
Dan Albert
88cd9e19c5
Draw aircraft locations in the new map.
...
https://github.com/dcs-liberation/dcs_liberation/issues/2039
2022-03-04 18:34:01 -08:00
Dan Albert
6933470ce0
Respond to ATO changes in the new UI.
2022-03-04 00:46:44 -08:00
Dan Albert
cba39df5da
Handle to front line events in the new UI.
2022-03-04 00:37:31 -08:00
Dan Albert
a710ce5e1b
Run prettier across the react source.
2022-03-03 23:34:18 -08:00
Dan Albert
92236a5bc3
Update the react map for some new events.
2022-03-03 23:31:07 -08:00
Dan Albert
8e8bbe84f3
Add websocket handling for selected flights.
2022-03-01 21:08:08 -08:00