Olivier Teulière
07631b9a80
A few more string fixes
2012-10-07 13:00:08 +02:00
Olivier Teulière
fd26b477b5
Update PO files, and complete the French translation
2012-10-06 22:21:18 +02:00
Olivier Teulière
c5591da9e5
Fix various strings
2012-10-06 22:17:43 +02:00
Olivier Teulière
e876321155
Next version will be 2.0
2012-10-06 18:46:05 +02:00
Olivier Teulière
e7aabdc4a2
Fix compilation warnings
2012-10-06 18:45:46 +02:00
Olivier Teulière
8ef0b88e94
Update PO files
2012-10-06 18:19:57 +02:00
Olivier Teulière
b84d112220
I18n of the load/save game exceptions
2012-10-06 18:18:21 +02:00
Olivier Teulière
43471a52ac
BagWidget: merge the 2 implementations in a single file.
...
Note that only BagWidget2 is used at the moment. In the future, the
other one will probably disappear.
2012-10-06 17:49:36 +02:00
Olivier Teulière
e55f05e325
Arbitration: fix a focus problem
2012-10-06 17:49:36 +02:00
Olivier Teulière
97f4355502
PlayerWidget: improve focus behaviour and ergonomy
2012-10-06 17:49:36 +02:00
Olivier Teulière
18aa839f11
Validators: always force the input to upper case
2012-10-06 17:49:36 +02:00
Olivier Teulière
d3f642567d
Reuse a variable
2012-10-06 17:49:36 +02:00
Olivier Teulière
1e94c56067
Rename slots to indicate what the methods actually do
2012-10-06 17:49:36 +02:00
Olivier Teulière
ca5c6cff0d
Do not use Qt auto-connect feature
2012-10-06 17:49:36 +02:00
Olivier Teulière
d3c9c504ba
Fix a typo, causing a wrong error message to be displayed
2012-10-06 17:49:36 +02:00
Olivier Teulière
e51d2f9a23
Rename TurnCmd into Turn (step 3)
2012-10-06 17:49:36 +02:00
Olivier Teulière
ec571d64e4
Rename TurnCmd into Turn (step 2)
2012-10-06 17:49:36 +02:00
Olivier Teulière
cfa90e6394
Rename TurnCmd into Turn (step 1)
2012-10-06 17:49:35 +02:00
Olivier Teulière
471dcf90e1
Rename Turn into TurnData (step 2)
2012-10-06 17:49:35 +02:00
Olivier Teulière
fa345a9f7b
Rename Turn into TurnData (step 1)
2012-10-06 17:49:35 +02:00
Olivier Teulière
4acc731b17
Save game: write unknown commands as comments, to help debugging
2012-10-06 17:49:35 +02:00
Olivier Teulière
47a827e9d4
Remove useless code
2012-10-06 17:49:35 +02:00
Olivier Teulière
65ed44d66d
Cosmetics
2012-10-06 17:49:35 +02:00
Olivier Teulière
77fcfab8a5
Stats: add an option to lock the columns sizes
2012-10-06 17:49:35 +02:00
Olivier Teulière
ef5f8e63e9
Do not cache the score of the player.
...
Caching is almost useless here, and makes the code more complex.
2012-10-06 17:49:35 +02:00
Olivier Teulière
40944884e6
Remove Player::getPoints()
2012-10-06 17:49:35 +02:00
Olivier Teulière
c700f39ac7
Stats: display end game points for a free game
2012-10-06 17:49:35 +02:00
Olivier Teulière
b53295c782
Stats: compute the ranking based on the final score, not the intermediate one
2012-10-06 17:49:35 +02:00
Olivier Teulière
553d7f9cf0
Freegame: use PlayerEventCmd instead of PlayerPointsCmd
2012-10-06 17:49:34 +02:00
Olivier Teulière
2ab95b5ed9
Get rid of old CVS files
2012-10-06 01:44:33 +02:00
Olivier Teulière
88b6e09ffb
Tests: move test cases to sub-directories
2012-10-06 01:41:59 +02:00
Olivier Teulière
1f9f42f17a
Tests: comment commands failing due to the rand seeds problem.
...
The tests are valid, but after loading a game the random number
generator is broken. This commit hides the problem, but at least we
can see "real" failures more easily.
2012-10-05 20:37:57 +02:00
Olivier Teulière
5ae43b176a
Tests: ignore comments during file comparison
2012-10-05 20:37:57 +02:00
Olivier Teulière
8b0c3327e7
Tests: ignore commands starting with "# "
2012-10-05 20:37:44 +02:00
Olivier Teulière
db14ee0622
Training: do not use the auto-connect feature.
...
The code is now slightly more verbose, but easier to follow and
less sensitive to typos.
2012-10-05 16:10:41 +02:00
Olivier Teulière
75025c33df
Training: improve usability
2012-10-05 16:10:41 +02:00
Olivier Teulière
e4f9c03ca7
Training: define key accelerators for the main buttons
2012-10-05 16:10:41 +02:00
Olivier Teulière
1232eda206
Set the allColumnsShowFocus property to true on some views
2012-10-05 16:10:41 +02:00
Olivier Teulière
f4b78e09b1
Arbitration: restore properly the focused player
2012-10-05 16:10:41 +02:00
Olivier Teulière
56028c8651
Arbitration: new popup menu entry to suppress an assigned move
2012-10-05 16:10:41 +02:00
Olivier Teulière
a800863c1f
Arbitration: do not handle solos automatically.
...
The arbitrator has to specify them manually. Otherwise, we cannot know
when a turn is complete and thus we cannot determine if solos can/should
be applied.
2012-10-05 12:52:42 +02:00
Olivier Teulière
66cfd66681
Improve logging of the turns history
2012-10-05 12:38:55 +02:00
Olivier Teulière
38d7093341
Add an assertion
2012-10-05 10:28:54 +02:00
Olivier Teulière
bcc2aedbff
Improve the detection of finished games for duplicate and arbitration modes
2012-10-05 01:42:46 +02:00
Olivier Teulière
f1123e1229
Fix a very rare bug in rack generation
2012-10-05 01:25:01 +02:00
Olivier Teulière
937138c21d
Split the helperSetRackRandom() method.
...
There is now one method to check whether the rack can be drawn, and
another one (still called helperSetRackRandom()) to do all the work.
2012-10-05 01:24:56 +02:00
Olivier Teulière
58c88a3078
Let the PlayerMoveCmd decide whether it is human independent.
...
It fixes problems when trying to replay turns on a loaded game.
2012-10-05 00:27:47 +02:00
Olivier Teulière
74d4572a0a
Arbitration: fix the "Replay turn" feature for games with only AI players
2012-10-05 00:27:34 +02:00
Olivier Teulière
ed152a380d
Arbitration: correctly set the state of buttons for past turns
2012-10-05 00:27:34 +02:00
Olivier Teulière
6ec9568020
Arbitration: better label for a popup menu entry
2012-10-05 00:27:10 +02:00