forked from triplea-game/triplea
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
start game file directly via parameter (triplea-game#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]>
- Loading branch information
1 parent
4e98143
commit 41bc340
Showing
8 changed files
with
175 additions
and
82 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.