Commit graph

1055 commits

Author SHA1 Message Date
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
Olivier Teulière
0b3120a792 Duplicate: assign a "no move" pseudo-move to all players when starting a turn 2012-04-11 20:02:18 +02:00
Olivier Teulière
196e02f9ad Duplicate: get rid of the MarkPlayedCmd class 2012-04-11 20:02:18 +02:00
Olivier Teulière
1db5ccea8b Arbitration: assign a "no move" pseudo-move to all players when starting a turn 2012-04-11 20:02:18 +02:00
Olivier Teulière
4e61dd85ce FreeGame: generate "no move" pseudo-moves
Now each player has a move at each turn, in all the game modes.
This should help to simplify the code in a few places...
2012-04-11 20:02:15 +02:00
Olivier Teulière
21ee07cc3b Move::ComputeRackForMove() now returns a PlayedRack instead of a simple Rack 2012-04-10 08:51:12 +02:00
Olivier Teulière
cc0fe39c76 HistoryWidget: simplified the handling of columns 2012-04-10 08:51:12 +02:00
Olivier Teulière
7e37cde0c0 Arbitration: after the end of turn, give the focus to the rack and select all the letters 2012-04-10 08:51:12 +02:00
Olivier Teulière
537d00714b Arbitration: allow selecting all the players directly from the players/results tables 2012-04-10 08:51:12 +02:00
Olivier Teulière
4fe2cf3469 Arbitration: really treat the "No move" pseudo-move as if the player had not played 2012-04-08 20:57:47 +02:00
Olivier Teulière
bcd3f73e62 Arbitration: "No move" is now named "Suppress move" 2012-04-08 20:57:46 +02:00
Olivier Teulière
1f4db7a742 Arbitration: various minor improvements related to search results handling 2012-04-08 20:57:46 +02:00
Olivier Teulière
2f7c09ec83 Arbitration: do not consider the "No move" move as a real move assignment 2012-04-08 20:57:46 +02:00
Olivier Teulière
4e5c86ef11 Added shortcuts to some buttons 2012-04-08 20:57:46 +02:00
Olivier Teulière
c423da2425 Saved games: increase the XML format version, to indicate incompatibilities 2012-04-08 20:57:46 +02:00
Olivier Teulière
76d761ad8d Saved games: do not write a playerid attribute for the MasterMove tag 2012-04-08 20:57:46 +02:00
Olivier Teulière
a5f13e3ba7 Saved games: write the dictionary letters as display strings 2012-04-08 20:57:46 +02:00
Olivier Teulière
53adb5d91b Saved games: do not support the (very) old format anymore 2012-04-08 20:57:46 +02:00
Olivier Teulière
9f2ea4f340 Dictionary wizard: new button to load the letter values from the current dictionary 2012-04-07 13:29:07 +02:00
Olivier Teulière
e6a2a6c750 Cosmetics 2012-04-07 13:29:07 +02:00
Olivier Teulière
1e57b56f9d Fixed compilation warnings 2012-04-07 13:29:07 +02:00
Olivier Teulière
5ee10b7c91 Fixed a bug introduced in d32f3fdf 2012-04-07 13:28:04 +02:00
Olivier Teulière
d6a2fc6e4e PublicGame: more direct access to the game current rack 2012-03-26 07:49:25 +02:00
Olivier Teulière
82b5694a59 Split the ArbitrationWidget class into 2 classes, to keep the code manageable 2012-03-26 07:49:25 +02:00
Olivier Teulière
d4c7511ae5 Allow giving warnings and penalties from the interface 2012-03-26 07:49:25 +02:00
Olivier Teulière
e017e73cd9 Handle penalties in the core 2012-03-26 07:49:25 +02:00
Olivier Teulière
84e46bef85 Handle warnings and solos in the core 2012-03-26 07:49:25 +02:00
Olivier Teulière
7de3374fae Code factorization 2012-03-26 07:49:25 +02:00
Olivier Teulière
3d724166b6 Allow inserting and dropping a single command in the history. 2012-03-26 07:49:24 +02:00
Olivier Teulière
7f504671bb Fixed use of uninitialized value 2012-03-26 07:49:24 +02:00
Olivier Teulière
c37107ed87 Write more information in a saved game: dictionary info and move points 2012-03-22 08:46:21 +01:00
Olivier Teulière
f9ca096dda Disable impossible actions in the popup menu instead of hiding them 2012-03-20 21:16:25 +01:00
Olivier Teulière
893219b164 New method to select players and to assign moves.
A player can now be selected by typing his table number, when the focus
is in the results table. Pressing the Enter key will assign the current
move to the selected player(s).
This allows a very fast assignment of moves.
2012-03-20 20:52:33 +01:00
Olivier Teulière
1dd271b147 Allow filtering several keys with the same filter 2012-03-19 23:14:34 +01:00
Olivier Teulière
b1e7381b39 Players can now have a table number 2012-03-19 22:49:58 +01:00
Olivier Teulière
7539cddf92 Factorize some code using a utility class 2012-03-18 02:45:15 +01:00
Olivier Teulière
e77923674f Arbitration: a click on the master move previews it on the board 2012-03-18 01:00:25 +01:00
Olivier Teulière
35acc7b7a3 New misc_helpers files to group some utility classes
Currently, it contains only the KeyEventFilter class, and a new
ClickableLabel class (not used yet).
2012-03-18 00:37:57 +01:00
Olivier Teulière
96c0497f7b Arbitraion: the rack can be modified only at the last turn 2012-03-17 23:53:40 +01:00