Commit graph

131 commits

Author SHA1 Message Date
Olivier Teulière
fbb34d795c The history now shows the "Player" column only in FreeGame mode.
It doesn't really make sense (or it is useless) in the other modes.
2012-01-17 21:45:31 +01:00
Olivier Teulière
7fd8a245f8 Do not refresh the coordinates for a non-visible player.
This fixes a focus bug, and makes it easier to enter moves for several
human players.
2012-01-17 10:48:36 +01:00
Olivier Teulière
c81df46b5e Added a new type of move: NO_MOVE 2012-01-17 00:56:02 +01:00
Olivier Teulière
482b5d674f Previewing a Round is now possible in all the game types.
It was only possible in Training mode. This change will be useful for
the future arbitration mdoe.
2012-01-17 00:43:19 +01:00
Olivier Teulière
219b99192d Warn before exiting Eliot when a game is started 2012-01-05 21:08:54 +01:00
Olivier Teulière
7883aab6b5 Removed a useless name 2012-01-05 20:44:44 +01:00
Olivier Teulière
5dc491d887 New preference to define a default AI level 2011-12-30 19:33:48 +01:00
Olivier Teulière
9dfed9c51d Fixed a dictionary creation bug on Win32 with input files containing a BOM.
The bug was not showing on Wine, only on Windows itself.
2011-12-30 15:12:26 +01:00
Olivier Teulière
9aea22d968 Use an enum for the variants 2011-08-28 19:25:26 +02:00
Olivier Teulière
56b66fea28 Added setters to GameParams, to simplify the code a little 2011-08-28 19:25:26 +02:00
Olivier Teulière
17bdd27899 Moved the dictionary to the GameParams class 2011-08-28 19:25:26 +02:00
Olivier Teulière
408c92df42 Moved the game mode to the GameParams class 2011-08-28 19:25:26 +02:00
Olivier Teulière
d6fbd6bef1 Allow combining several variants in a single game 2011-08-28 18:47:25 +02:00
Olivier Teulière
e9a49a87ab Use radio buttons for the game type instead of a combo box 2011-08-27 21:55:49 +02:00
Olivier Teulière
fdc29871e5 New GameParams class to wrap a few game characteristics.
These characteristics will not change during the game.
2011-08-27 21:55:49 +02:00
Olivier Teulière
f9a7307898 Added a unit test for all the string conversions 2011-07-30 19:49:29 +00:00
Olivier Teulière
03d93c9360 Renamed the string conversion macros, to make chaining more natural. 2011-07-30 19:45:18 +00:00
Olivier Teulière
cbaad7ff6c Compilation fixes for the Windows build 2011-07-30 13:15:52 +00:00
Olivier Teulière
08516b07d7 Added support for definitions, using an external website 2011-07-28 20:55:48 +00:00
Olivier Teulière
c8305a0b10 Allow very thin columns 2011-07-17 09:16:52 +00:00
Olivier Teulière
77827bee1a Added a context menu to the tree header in training mode, to disable automatic resizing of the columns 2011-07-17 09:09:47 +00:00
Olivier Teulière
424fd3af32 Display the points of the word entered by the player before validating it. 2011-07-16 23:31:17 +00:00
Olivier Teulière
23771f3f71 Indicate the end of the game 2011-01-30 00:23:45 +00:00
Olivier Teulière
0c76b9d781 Simplified the looging macros, and added logs in various key places. 2011-01-29 23:47:20 +00:00
Olivier Teulière
e175a6d8bc Added a new (optional) dependency on log4cxx, to enable logging.
If disabled (the default), everything is compiled away.
2011-01-16 21:30:30 +00:00
Olivier Teulière
9ad384eae1 Make sure the board is cleared when a game stops 2011-01-15 21:47:42 +00:00
Olivier Teulière
15da522038 The changed letters are now displayed in upper case 2011-01-15 16:42:20 +00:00
Olivier Teulière
9e4d196d70 Fixed a typo 2011-01-15 16:35:36 +00:00
Olivier Teulière
bbb0ee4510 In free game mode, the "Change" button cannot be used anymore to pass without changing any letter.
This should be more intuitive.
2011-01-15 16:33:02 +00:00
Olivier Teulière
6f4c575eb6 Improved error messages when changing letters and/or passing 2011-01-10 22:06:10 +00:00
Olivier Teulière
af37443fc0 New bag widget, showing the remaining tiles. Not used for real yet. 2010-11-01 17:49:55 +00:00
Olivier Teulière
1374304ff9 Moved the tiles layout to a dedicated file 2010-10-22 17:01:31 +00:00
Olivier Teulière
6bf27a4509 Layout improvements:
- Handle the minimum size of the layout correctly
 - Draw the lines between tiles, instead of drawing on them
2010-10-22 16:59:43 +00:00
Olivier Teulière
3352337142 Let the TileWidget class handle mouse clicks, instead of doing it in the BoardWidget class 2010-10-22 16:58:37 +00:00
Olivier Teulière
cbc6215967 Handle arrows again 2010-10-22 16:57:59 +00:00
Olivier Teulière
e5eb6dd654 Draw an outline around the arrow 2010-10-22 16:57:13 +00:00
Olivier Teulière
308e609966 Display the letters correctly 2010-10-22 16:56:32 +00:00
Olivier Teulière
90027c3210 Display the coordinates of the board, and draw a square around it.
It now looks exactly like the old board (with 1 pixel difference for the coordinates, making it better).
2010-10-17 21:45:10 +00:00
Olivier Teulière
858b3997ae New TileWidget class, to handle a single square 2010-10-17 21:28:01 +00:00
Olivier Teulière
84b69e8919 Ask for a confirmation before starting a new game 2010-10-17 21:24:18 +00:00
Olivier Teulière
c3785555b9 Print to stderr the complete stack trace in case of exception or segmentation fault.
This feature will only be activated in debug mode, and if available on the platform.
The symbols will even be demangled if possible (i.e. if compiled with g++).
2010-10-17 21:23:39 +00:00
Olivier Teulière
5cb6ad38cd New button on the "Dic. info" tab, to save the dictionary words list to a file 2010-09-18 13:07:39 +00:00
Olivier Teulière
31922c8da9 Display the number of remaining vowels, consonants and jokers in the bag window 2010-09-12 15:27:38 +00:00
Olivier Teulière
809eb9eb94 Alternate row colors to make the results table a bit nicer 2010-07-11 20:59:05 +00:00
Olivier Teulière
3608c76fa4 Display for each result the difference with the top score 2010-07-11 20:58:41 +00:00
Olivier Teulière
9c0ca5835a Force the sort column when refreshing the results 2010-07-11 20:58:21 +00:00
Olivier Teulière
f74e762ee3 Color in red the line if the word corresponds to the best score 2010-07-11 20:58:03 +00:00
Olivier Teulière
d3df401664 Compilation fix for the Windows build 2010-05-19 19:28:09 +00:00
Olivier Teulière
81809dd74f - Changed a few strings
- Updated the po files
 - Completed the French translation
2010-05-16 18:12:54 +00:00
Olivier Teulière
32a252c96b Fixed a bug and added a sanity checks (no duplicate entries in the word list) 2010-05-16 10:05:09 +00:00