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
3a4daa844b
Fixed tab order on the player widget
2009-06-26 21:27:13 +00:00
Olivier Teulière
da85bde477
First step in accepting various input strings for the same tile: input coming from the text interface is now passed through a conversion method (... which does nothing yet!)
2009-06-23 21:39:07 +00:00
Olivier Teulière
795c44827d
Center correctly multi-chars letters in the text interface
2009-06-23 21:36:33 +00:00
Olivier Teulière
adda457672
Use the display strings also when verifying a word and when listing the dictionary letters
2009-06-23 17:07:17 +00:00
Olivier Teulière
fc04b0604b
Little refactoring
2009-06-23 15:36:28 +00:00
Olivier Teulière
3a82ab75fd
More uses of the display characters
2009-06-23 13:21:19 +00:00
Olivier Teulière
47e4b8c6b0
Simplifications
2009-06-23 12:56:40 +00:00
Olivier Teulière
7569a58bb7
Each letter (tile) now has a display string, defaulting to its internal char. It is not yet possible to change it.
...
This display string is used in the ncurses and Qt interfaces.
Display strings are types "wdstring" instead of plain "wstring" in a few places (not all of them) to help recognize them.
2009-06-23 12:41:53 +00:00
Olivier Teulière
d8923c8231
Fixed a typo
2009-06-23 12:35:55 +00:00
Olivier Teulière
6f82e8753a
Do not save debug messages in the non-regression scenarii
2009-06-23 12:35:22 +00:00
Olivier Teulière
07417c579e
Added a THANKS file with all the contributors (except code contributors, still in AUTHORS).
...
I hope I didn't forget anyone...
2009-06-21 13:26:26 +00:00
Olivier Teulière
9b8526b451
Improved error messages
2009-06-21 12:32:25 +00:00
Olivier Teulière
b8c04ddab2
Added Catalan translation, courtesy of Joan Montané
2009-06-13 22:19:12 +00:00
Olivier Teulière
1b585e8a49
Simplified code a little
2009-06-13 21:44:05 +00:00
Olivier Teulière
3d525af762
Got rid of the custom HashTable class: Boost.Unordered provides a better one for free...
2009-05-01 09:04:47 +00:00
Olivier Teulière
7f1c0def1a
- Do not allow vertical words for the first turn in duplicate mode
...
- Adapted unit tests
2009-03-18 18:54:41 +00:00
Olivier Teulière
3bde966efb
Fixed a compilation warning (potential buffer overflow)
2009-03-18 18:53:57 +00:00
Olivier Teulière
6f14e34fe7
Allow the first word to be vertical
2009-03-12 18:56:25 +00:00
Olivier Teulière
4d86e236e0
- Fixed an accelerator key in the English version
...
- Added a reference to the web site in the About box
- Fixed an encoding problem on an error message
- Explained better the error message saying to select a dictionary
2009-02-28 09:24:27 +00:00
Olivier Teulière
46b6c3efe4
Updated copyright years
2009-02-28 09:23:30 +00:00
Olivier Teulière
b4140b3fea
- Fixed some warnings on Windows build
...
- Open the dictionary in binary mode. This fixes a bug in the Windows version of compdic
2009-02-28 09:23:07 +00:00
Olivier Teulière
141442766b
Update of the TODO list
2009-02-22 16:43:55 +00:00
Olivier Teulière
7f356fdf2d
Bump version number
2009-02-22 16:43:28 +00:00
Olivier Teulière
7d40cc026b
Version 1.9
2009-02-22 11:29:14 +00:00
Olivier Teulière
6f9a343677
- Fixed the previous fix for joker games, for real this time
...
- Added tests for joker and explosive games in all modes
2009-02-21 16:56:32 +00:00
Olivier Teulière
2ced8b3131
Changed slightly the behaviour of the coordinates arrow on a left click
2009-02-21 16:53:18 +00:00
Olivier Teulière
c6a799b24d
Update of the French translation
2009-02-19 21:56:41 +00:00
Olivier Teulière
903905c7bc
Fixed a regression: joker games were not working correctly in version 1.8.
...
Thanks to Marcel Jolly for spotting this
2009-02-19 18:26:11 +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
Olivier Teulière
8f72fd8152
- Always display characters in uppercase on the board (a lowercase character was still possible with a joker, in some rare cases)
...
- Fixed a compilation warning
2009-01-26 20:30:41 +00:00
Olivier Teulière
a8b842a1a7
- Added missing files in the build system
...
- One more update of the French translation
2009-01-24 23:02:42 +00:00
Olivier Teulière
d6ca988755
Get ready for version 1.8
2009-01-24 17:46:12 +00:00
Olivier Teulière
1df3c3ff51
Updated a few copyright dates
2009-01-24 17:44:56 +00:00
Olivier Teulière
53487ca448
French translation update
2009-01-24 17:44:12 +00:00
Olivier Teulière
7fc8309868
- Text interface: removed uses of the 'n' command with a negative argument
2009-01-24 17:43:57 +00:00
Olivier Teulière
4ffaef3e1d
- Throw exceptions in case of problem in Duplicate::setPlayer()
...
- Clean up of the text interface:
- removed all uses of wcstok()
- factorized common code
- made code a bit more robust
2009-01-24 17:11:07 +00:00
Olivier Teulière
7a5056354a
- Setting the rack manually is now done via a command, and can thus be undone
...
- Added non-regression tests for the navigation in the game history (all modes), and removed a less useful test
2009-01-24 10:28:20 +00:00
Olivier Teulière
e085384e2f
- Do not save the splitter position when no game is playing, because the position is not relevant without the players group
...
- Updated the French translation
2009-01-22 21:41:27 +00:00
Olivier Teulière
87e1d4795b
Sorting the search results happens to be quite slow, often much slower than the search itself.
...
But we don't need to sort them all the time, and in general we don't even need to keep all the rounds.
This commit greatly improves the search performance by filtering the results in 3 different ways, depending on the context:
- A limit to the number of results can be given (useful for the training mode). The kept results are the best ones, not the first ones found by the search.
- When only the best round is needed (when the AI is playing with level 100, or when preparing the rack for an explosive game), we don't need to keep rounds with a lower score
- When the AI has a level lower than 100, it is still possible to skip many rounds
The search limit in training mode is configurable (defaulting to 100) and can be deactivated.
2009-01-22 18:30:22 +00:00
Olivier Teulière
771ba0c35e
New BoardSearch class to avoid carrying const parameters all over the place.
...
No functional change.
2009-01-17 14:57:32 +00:00
Olivier Teulière
d0294b5a38
- Echo the input in the text interface when libreadline is not present, so that the non-regression tests can still pass in this case.
...
- Changed a bad file format in a test, and adapted the reference accordingly
2009-01-15 20:55:57 +00:00
Olivier Teulière
e83e4dcc99
- Use splitters to allow the user to resize freely the components of the main window
...
- Save splitters positions from one session to the next
- Fixed default focus issues introduced in the previous commit
2009-01-15 20:22:11 +00:00
Olivier Teulière
d913be52a0
Support explosive games in the Qt interface
2009-01-15 18:33:32 +00:00
Olivier Teulière
8b9478542a
- The core is now able to handle "explosive games" ("parties détonantes"). No interface uses this ability yet.
...
- Fixed a bug in Game::helperSetRackRandom()
2009-01-14 21:53:37 +00:00
Olivier Teulière
229f1fcc14
- Removed the RACK_MANUAL enum value, and the obsolete Training::setRack() method
...
- qt/board_widget.cpp: cosmetics
2009-01-11 14:20:35 +00:00
Olivier Teulière
a4ae71d55d
- TODO update
...
- Allow displaying letter points on the board with an option (on by default)
- Fixed the tab order on the preferences window
- Improved the behaviour and default size of the preferences window
2009-01-04 17:39:27 +00:00
Olivier Teulière
6a2eca1db1
New icons for the navigation actions, and additional ones for some menu items
2008-12-14 13:27:00 +00:00
Olivier Teulière
d2738484e4
Update of the French translation
2008-12-14 13:21:13 +00:00
Olivier Teulière
0e08cccd41
New preference, to allow linking the rack in training mode to the "Plus 1" dictionary tool
2008-12-14 13:20:38 +00:00