diff options
| author | thecharlesblake | 2018-01-05 15:56:46 +0000 |
|---|---|---|
| committer | thecharlesblake | 2018-01-05 15:56:46 +0000 |
| commit | 748dceab129dc57aa7a3e58ef538b9701398846c (patch) | |
| tree | 94ed5d855dc5d87da82197502854db937e64a476 /src/main/input-output | |
| parent | Add game state setup for stacked reserve (canfield) (diff) | |
| download | metasol-748dceab129dc57aa7a3e58ef538b9701398846c.tar.gz metasol-748dceab129dc57aa7a3e58ef538b9701398846c.zip | |
Add state printing for stacked reserve (canfield)
Diffstat (limited to 'src/main/input-output')
| -rw-r--r-- | src/main/input-output/output/state_printer.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/main/input-output/output/state_printer.cpp b/src/main/input-output/output/state_printer.cpp index 1828390..2c23496 100644 --- a/src/main/input-output/output/state_printer.cpp +++ b/src/main/input-output/output/state_printer.cpp @@ -20,7 +20,11 @@ ostream& state_printer::print(ostream& stream, const game_state& gs) { state_printer::print_piles(stream, gs.tableau_piles, gs); } if (gs.rules.reserve_size > 0) { - state_printer::print_header(stream, "Reserve"); + if (gs.rules.reserve_stacked) { + state_printer::print_header(stream, "Reserve (Stacked)"); + } else { + state_printer::print_header(stream, "Reserve"); + } state_printer::print_piles(stream, gs.reserve, gs); } if (gs.rules.stock_size > 0) { |
