Commit graph

1084 commits

Author SHA1 Message Date
Olivier Teulière
c31b789fc5 PlayModel: remove a useless getter 2012-12-18 01:00:53 +01:00
Olivier Teulière
3f10e9faba PlayModel: exchange the order of the arguments for the coordChanged() signal 2012-12-18 00:57:04 +01:00
Olivier Teulière
c1332760d7 Rename CoordModel as PlayModel 2012-12-18 00:48:14 +01:00
Olivier Teulière
4bcd106577 RackWidget: center the tiles in the widget 2012-12-17 22:53:24 +01:00
Olivier Teulière
c21c109ddb BoardWidget: center horizontally 2012-12-17 22:53:07 +01:00
Olivier Teulière
bf5ae9fc91 TileLayout: fix the row offset on lines other than the first one 2012-12-17 22:32:44 +01:00
Olivier Teulière
b5c36bed26 TileLayout: fix a bug (the rect offset was not taken into account) 2012-12-17 20:20:18 +01:00
Olivier Teulière
db6e81a288 Stats reports: new option to embed the CSS into the HTML file 2012-12-14 10:58:25 +01:00
Olivier Teulière
f38c7361c1 Give credit for the stats report design 2012-12-13 21:37:13 +01:00
Olivier Teulière
20c93940ab Ignore .pyc files 2012-12-13 21:34:29 +01:00
Olivier Teulière
6fbd7febb0 Reports: initial version, with 2 reports.
The reports are already usable, but the statistics report could be
improved.
2012-12-11 21:33:47 +01:00
Olivier Teulière
50a2ab7996 Arbitration: disable solo-related actions when automatic handling is active 2012-12-06 00:11:07 +01:00
Olivier Teulière
2cc0b2bc39 Preferences: add a checkbox for the new automatic solos handling option 2012-12-06 00:10:29 +01:00
Olivier Teulière
19a93988ad Arbitration: new option to handle solos automatically.
The option is not yet accessible from the interface.
2012-12-05 23:56:20 +01:00
Olivier Teulière
4d38c99336 Move Arbitration::getPlayerEventCmd() into Duplicate 2012-12-05 22:05:31 +01:00
Olivier Teulière
8b3d6b9872 Use BOOST_FOREACH instead of an index-based loop 2012-12-05 21:23:25 +01:00
Olivier Teulière
e34cc25fe1 Move commands to the game/cmd/ sub-directory.
The abstract Command class (from which all the others inherit)
is still game/, to hide the cmd/ subdir from most clients.
2012-12-05 20:26:47 +01:00
Olivier Teulière
bea6a41cd4 Small simplification 2012-11-29 19:47:19 +01:00
Olivier Teulière
f49e4bb759 Header::print() now takes the output stream as parameter 2012-11-29 19:43:08 +01:00
Olivier Teulière
6a70d28d28 listdic: fix an old bug with the -x option 2012-11-29 19:39:01 +01:00
Olivier Teulière
d9e85c99ed listdic program: use getopt, and provide more interesting options 2012-11-29 19:33:28 +01:00
Olivier Teulière
460e9ecfb9 Update the build instructions 2012-11-29 18:05:10 +01:00
Olivier Teulière
ca41e4c0d0 More contributions 2012-11-29 18:01:45 +01:00
Olivier Teulière
9172b9b2f7 Updates for Debian packaging 2012-11-22 16:38:37 +01:00
Olivier Teulière
175def7736 The Serbian language code is sr, not rs... 2012-11-21 22:22:09 +01:00
Olivier Teulière
8b25245205 Fix the problems reported by desktop-file-validate 2012-11-21 20:16:56 +01:00
Olivier Teulière
7832866652 Fixed compilation errors with newer g++ versions 2012-11-21 20:16:56 +01:00
Olivier Teulière
3e952e402e Italian translation, courtesy of Diego de Landro 2012-11-13 12:38:27 +01:00
Olivier Teulière
b0a9f44ab7 Fix a window placement bug.
Placing Eliot on a secondary monitor, and restarting it later when the
monitor is unplugged, made the window invisible (it was still at the
old position, thus off screen).
2012-11-13 12:38:27 +01:00
Olivier Teulière
f267b045b6 New option to start the timer automatically when the rack changes 2012-11-13 12:38:27 +01:00
Olivier Teulière
e355acc4fb Reset the timer automatically when a new turn starts 2012-11-13 12:38:27 +01:00
Olivier Teulière
c89e91010c Stats: enable sorting when the table is flipped.
This allows sorting the players by rank, for example.
2012-11-13 12:38:27 +01:00
Olivier Teulière
fa55eab82e Stats: simplify the flipping code using the decorator pattern 2012-11-13 12:38:27 +01:00
Olivier Teulière
3f2568db5d Stats: allow flipping the table 2012-11-13 12:38:27 +01:00
Olivier Teulière
63c7128d3e Arbitration: display the solos, warnings and penalties in the players view 2012-11-13 12:38:27 +01:00
Olivier Teulière
c5fd006b9c History widget: show solos before warnings and penalties 2012-11-13 12:38:27 +01:00
Olivier Teulière
5676d9c78f Ignore requests to start the timer when it is already active 2012-11-13 12:38:27 +01:00
Olivier Teulière
f131fa9050 Fix a timer bug 2012-11-13 12:38:26 +01:00
Olivier Teulière
7f31fe8b0e Fix a visual glitch on the status bar 2012-11-13 12:38:26 +01:00
Olivier Teulière
81f2507181 Arbitration: fix a bug when a word is checked manually.
The check didn't verify that it is actually possible to play the word
with the current rack.
2012-11-13 12:38:26 +01:00
Olivier Teulière
8858c54656 Minor cosmetics changes (more C++-like) 2012-10-24 15:23:59 +02:00
Olivier Teulière
08c3f2ccb2 Arbitration: when loading a saved game, make PlayerMoveCmd auto-executable.
This is not very clean, but without this the played moves of past turns
are not visible. This commit also fixes a test with was incorrect.
2012-10-24 11:11:24 +02:00
Olivier Teulière
34ed25e9e9 Saved games: save some statistics (not used when loading the game) 2012-10-24 00:32:48 +02:00
Olivier Teulière
c748d02950 Saved games: use the real player ID, not a modified one 2012-10-24 00:32:24 +02:00
Olivier Teulière
cf22315fd0 Saved games: improve an error message to give the context 2012-10-24 00:32:15 +02:00
Olivier Teulière
ef14d5e9d6 Saved games: use camelCase for attribute names 2012-10-24 00:31:51 +02:00
Olivier Teulière
b76f48f545 Save games: save and restore the table numbers 2012-10-22 17:35:29 +02:00
Olivier Teulière
f76bd47882 Stats: show the played move with the turn number 2012-10-22 17:23:25 +02:00
Olivier Teulière
a8e65bc718 Update of the Serbian translation 2012-10-22 17:23:24 +02:00
Olivier Teulière
e283cb2526 Next version will be 2.1 2012-10-14 22:04:42 +02:00