Commit graph

1043 commits

Author SHA1 Message Date
Olivier Teulière
0c1634d530 Arbitration: do not accept blindly any rack in Intermediate state.
This fixes a bug with languages using multichar tiles.
2012-05-16 22:07:55 +02:00
Olivier Teulière
c2290ab6cd Regexp: use streams instead of printf 2012-05-16 22:07:48 +02:00
Olivier Teulière
24a44dcd4f Automaton: use streams instead of printf 2012-05-16 22:07:48 +02:00
Olivier Teulière
50998079c2 Do not try to launch dotty when debugging 2012-05-16 22:07:48 +02:00
Olivier Teulière
418bf51781 Automaton: use the logging macros for debug messages, and clean up a little 2012-05-16 22:07:48 +02:00
Olivier Teulière
8511c855f5 Removed a useless include 2012-05-15 08:47:23 +02:00
Olivier Teulière
0e29e0a75f Force a setting in the unit test, to avoid failures depending on the environment 2012-05-13 09:41:20 +02:00
Antoine VINCENT
4e09a34c5a Flexible pathes configuration. Cosmetics. 2012-05-12 16:58:01 +02:00
Olivier Teulière
a07d39fc22 New statistics window, still quite unpolished. 2012-05-06 23:31:49 +02:00
Olivier Teulière
f7a7eab3a3 Arbitration: when a player is selected, automatically switch to the corresponding history tab 2012-05-06 23:23:52 +02:00
Olivier Teulière
1ad1ef7425 Arbitration: use the same solo-related settings as in duplicate mode 2012-05-05 19:58:31 +02:00
Olivier Teulière
6d4df09b31 Fixed a bug when saving the position of auxiliary windows 2012-05-05 19:45:44 +02:00
Olivier Teulière
0095302b88 Use dedicated getters for the Move type: this is simpler to use and more readable 2012-05-05 19:45:44 +02:00
Olivier Teulière
6ba32f4835 New utility methods to retrieve the total number of penalty (or solo) points for a player 2012-05-05 19:45:44 +02:00
Olivier Teulière
572d172640 Arbitration: new option to specify the number of "authorized" warnings. Not used yet. 2012-05-05 19:45:44 +02:00
Olivier Teulière
e6c1a180c8 Arbitration: by convention, use negative values to indicate a penalty 2012-05-05 19:45:44 +02:00
Olivier Teulière
6c16f203a5 Warn on game creation before showing the new game dialog, not after 2012-04-29 10:31:30 +02:00
Olivier Teulière
4b4b715a41 New options to desactivate the confirmation dialogs, and rework of the preferences window. 2012-04-29 01:58:43 +02:00
Olivier Teulière
4620d90f61 Contribs: update all the libs, except Qt. This fixes linking with log4cxx on win32. 2012-04-28 15:34:39 +02:00
Olivier Teulière
f83b397549 Removed the now useless preference about the default AI level 2012-04-28 15:34:39 +02:00
Olivier Teulière
eaf536b3ba Favorite players: new "Default" column, for automatic inclusion in a new game 2012-04-28 15:34:39 +02:00
Olivier Teulière
094af979c7 Create the new game dialog every time, instead of reusing it 2012-04-28 15:34:39 +02:00
Olivier Teulière
43470edc04 Arbitration: changed some shortcuts, to avoid interferences when typing 2012-04-28 15:34:39 +02:00
Olivier Teulière
c58282faad Arbitration: use a placehoder for the results filter 2012-04-28 15:34:38 +02:00
Olivier Teulière
c3d4f9aa67 Arbitration: do not select the rack after ending the turn 2012-04-28 15:34:38 +02:00
Olivier Teulière
e87018a583 Arbitration: the "Points" column was mistakenly hidden in the players table 2012-04-28 15:34:38 +02:00
Olivier Teulière
917c94fd5e Display the total number of warnings of a player in the corresponding history tab title 2012-04-28 15:34:38 +02:00
Olivier Teulière
a03eaab88a Arbitration: clear the results filter when a new search is performed 2012-04-28 15:34:38 +02:00
Olivier Teulière
81dfee8e55 Emit a beep when the timer reaches the alert level or expires 2012-04-28 15:34:38 +02:00
Olivier Teulière
50855fc104 Arbitration: give the focus on the first search result after a search 2012-04-28 15:34:38 +02:00
Olivier Teulière
27a7cc6846 Arbitration: accept only 7 letters in the rack (or 8, in the game variant) 2012-04-28 15:34:38 +02:00
Olivier Teulière
11db8eb48f Arbitration: accept racks in "intermediate" state 2012-04-28 15:34:38 +02:00
Olivier Teulière
c4fad05ffd Arbitration: new option to deactivate the automatic random rack 2012-04-28 15:34:37 +02:00
Olivier Teulière
c891671588 Arbitration: improve the refreshing of controls when the rack changes 2012-04-28 15:34:37 +02:00
Olivier Teulière
de5783d51a Auto-save the current game regularly, to reduce the loss in case of crash 2012-04-28 15:34:37 +02:00
Olivier Teulière
6391dd34e1 Added non-regression tests for saved games, in all modes 2012-04-28 15:34:37 +02:00
Olivier Teulière
36bfa92761 Arbitration: a few fixes to improve usage of the text interface 2012-04-28 15:34:37 +02:00
Olivier Teulière
0a5da3772b Added a suppressions file, to remove many false positives when using valgrind 2012-04-28 15:34:37 +02:00
Olivier Teulière
f3f2d916bb Fixed a few memory leaks 2012-04-28 15:34:37 +02:00
Olivier Teulière
0a2727e767 Added missing headers 2012-04-28 15:34:37 +02:00
Olivier Teulière
afb45d62c4 Preferences: removed the option to link the rack with the 7+1 dictionary tool 2012-04-28 15:34:36 +02:00
Olivier Teulière
731eca6e9c Do not reset the timer when changing turn, it causes problems in arbitration mode.
In fact, it could be more subtle: the timer should be reset whenever a
new turn is created (and only in this case).
2012-04-16 20:32:57 +02:00
Olivier Teulière
1086051e56 Fixed loading of duplicate games 2012-04-16 20:32:57 +02:00
Olivier Teulière
e8649aae28 Fixed a typo in 0534e72c 2012-04-12 08:47:20 +02:00
Olivier Teulière
0534e72c0e Only show data relative to the last turn on the external board (and rack) 2012-04-11 20:02:18 +02:00
Olivier Teulière
a2ba303307 History widget: display warnings, penalties and solos 2012-04-11 20:02:18 +02:00
Olivier Teulière
bd8678f147 Text interface: removed useless display methods 2012-04-11 20:02:18 +02:00
Olivier Teulière
fd1773ef6e Text interface: correctly check the return value when passing 2012-04-11 20:02:18 +02:00
Olivier Teulière
5bb492ceb4 Text interface: simplified the parsing code 2012-04-11 20:02:18 +02:00
Olivier Teulière
a1e06317f0 Text interface: basic support for the arbitration mode 2012-04-11 20:02:18 +02:00