mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-04-27 07:48:01 -07:00
Add local game options (#6669)
* Add local game options dialog. Introduces LocalGameOptions struct and DlgLocalGameOptions dialog to replace the previous QInputDialog for starting local games. Encapsulates game configuration with a simple interface that prevents parameter explosion as options are added. The dialog provides UI with settings persistence via SettingsCache * integrate local game options into main window. Replaces QInputDialog with DlgLocalGameOptions in actSinglePlayer(). The startLocalGame() function now accepts LocalGameOptions, enabling configuration of starting life total and spectator visibility in addition to player count. Also adds user documentation for the local game options flow. * Removed superfluous documentation file * removed spectator option and moved structure definition * Now remember settings separately and & shortcuts removed * re-run checks
This commit is contained in:
parent
20ad9af989
commit
aa4592dc9e
8 changed files with 199 additions and 12 deletions
|
|
@ -1,5 +1,5 @@
|
|||
@page user_reference User Reference
|
||||
|
||||
|
||||
## Deck Management
|
||||
|
||||
- @subpage creating_decks
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue