From 5050914d2580fe6f69b1fd2f2319cd1c6e3a8e00 Mon Sep 17 00:00:00 2001 From: Dan Albert Date: Sat, 15 May 2021 03:38:29 -0700 Subject: [PATCH] Make the new UI the default. --- changelog.md | 2 +- qt_ui/main.py | 9 ++++++++- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/changelog.md b/changelog.md index debd21ac..8dde0d2e 100644 --- a/changelog.md +++ b/changelog.md @@ -8,7 +8,7 @@ Saves from 2.5 are not compatible with 3.0. * **[Campaign]** Ground units can no longer be sold. To move units to a new location, transfer them. * **[Campaign]** Ground units must now be recruited at a base with a factory and transferred to their destination. When buying units in the UI, the purchase will automatically be fulfilled at the closest factory, and a transfer will be created on the next turn. * **[Campaign AI]** Every 30 minutes the AI will plan a CAP, so players can customize their mission better. -* **[UI]** Added (extremely WIP) new web based map UI. Enable with --new-map. +* **[UI]** Added new web based map UI. This is mostly functional but many of the old display options are a WIP. Revert to the old map with --old-map. * **[UI]** Campaigns generated for an older or newer version of the game will now be marked as incompatible. They can still be played, but bugs may be present. * **[Modding]** Campaigns now choose locations for factories to spawn. * **[Modding]** Campaigns now use map structures as strike targets. diff --git a/qt_ui/main.py b/qt_ui/main.py index 0d6e4570..9dbd97cc 100644 --- a/qt_ui/main.py +++ b/qt_ui/main.py @@ -133,7 +133,14 @@ def parse_args() -> argparse.Namespace: ) parser.add_argument( - "--new-map", action="store_true", help="Use the new map. Non functional." + "--new-map", + action="store_true", + default=True, + help="Use the new map. Functional but missing many display options.", + ) + + parser.add_argument( + "--old-map", dest="new_map", action="store_false", help="Use the old map." ) new_game = subparsers.add_parser("new-game")