Commit graph

16 commits

Author SHA1 Message Date
Olivier Teulière
e7aabdc4a2 Fix compilation warnings 2012-10-06 18:45:46 +02:00
Olivier Teulière
97f4355502 PlayerWidget: improve focus behaviour and ergonomy 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
bf42c49850 Added loggers to most classes 2012-02-19 13:07:29 +01:00
Olivier Teulière
54736b211a Moved some code to static methods, so that it can be reused more easily. 2012-01-19 21:20:03 +01:00
Olivier Teulière
cfdf5a928d Group all the custom validators in a factory class.
This will make it easier to factorize and reuse this code.
2012-01-19 15:19:11 +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
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
03d93c9360 Renamed the string conversion macros, to make chaining more natural. 2011-07-30 19:45:18 +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
6f4c575eb6 Improved error messages when changing letters and/or passing 2011-01-10 22:06:10 +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
02e4cb2970 - Invalid moves should be in the display form
- Moved some code from Header to Dictionary
2009-07-03 21:40:14 +00:00
Olivier Teulière
0e9711da25 Accept various inputs for the same tile in the Qt interface.
The dictionary format still needs to support that.
2009-06-27 18:09:44 +00:00
Olivier Teulière
ed2a20a3e3 - Allow setting the coordinates of the played word by clicking on the board
- New PlayWordMediator class, to encapsulate the behaviour of the controls
   used to play a word
 - The Training mode now has input fields to play words directly, without
   choosing them in the search results
2009-02-19 18:25:17 +00:00