2024-August-25 - 2.7.14866
Pre-release
Pre-release
start game file directly via parameter (#12862) * start game file directly via parameter Examples arguments (for gradle run use pattern "run --args='<arguments>'": 'triplea.start=lobby' to start lobby login window 'triplea.game=<save file>' to start saved game as local game 'triplea.game=<game file>' to start new game as local game (only full path supported) 'triplea.game=<save file> triplea.start=pbem' to start saved game as PBEM game HeadedGameRunner.java - handling of main-arguments reworked, especially new one 'triplea.start' via parsing in new method setPropertiesFromArgs and handling in method showMainFrame MainFrame.java - new method startGameDirectly() - rename field mainFrame to mainJFrame to call method MainPanelBuilder.getMainPanelLaunchAction() with MainPanel CliProperties.java - add constants for TRIPLEA_START (triplea.start) Constants.java - adding @NonNls to some constants HeadedServerSetupModel.java - typos MainPanelBuilder.java - extract new public static method getMainPanelLaunchAction to allow call from MainFrame ServerModel.java - typos * fix checkstyleMain due to star imports '.*' --------- Co-authored-by: RogerCooper <[email protected]>