Olivier Teulière
990f4c5212
Qt interface:
...
- Initialize the random numbers generator, and print the seed value
- Handle properly Qt builds without STL support
- Save the position of the main window
- Got rid of the useless toolbar
- Better size of the preferences dialog
- Hopefully fixed translation issues on Windows
- The Settings class throws an exception when asked for a non-existing setting
2008-09-05 21:31:30 +00:00
Olivier Teulière
75a67b28a5
Dic:
...
- Throw an exception if a regular expresison is invalid
- Handle the exception in callers code
Game:
- Fixed a bug in setRackRandom()
Qt interface:
- Display the dictionary name in the status bar
- Implemented printing
- Translation of the interface into French. The menus have temporarily lost their accelerator keys in English.
2008-08-31 11:48:11 +00:00
Olivier Teulière
fa493d4135
Fixed a warning
2008-07-27 15:26:15 +00:00
Olivier Teulière
7ea51d2f23
Compilation fixes for some systems (missing headers)
2008-07-20 12:15:51 +00:00
Olivier Teulière
597673e8e5
Fixed an invalid read when sorting the search results and adapted regression scenarii
2008-07-04 19:03:12 +00:00
Olivier Teulière
cc70ccabef
Fixed typos
2008-07-03 20:14:46 +00:00
Olivier Teulière
c7f85ce151
- Search results with the same score are now sorted alphabetically
...
- Adapted test scenarii for the new order of results
2008-03-03 22:13:58 +00:00
Olivier Teulière
0acc5cd48f
Do not try to complete the rack when no letter was removed
2008-02-12 21:02:39 +00:00
Olivier Teulière
52b7363888
Players are not created by the Game object anymore but by the user of the class.
...
This allows more flexibility, in particular to choose the type of player or its name.
2008-01-28 19:17:33 +00:00
Olivier Teulière
d8780822c2
- Fixed a bug due to the reject sign '-' preventing to load a saved training game
...
- Qt interface: Loading and saving a game is now supported (it only works in
training mode, due to limitations in the core)
2008-01-26 10:10:50 +00:00
Olivier Teulière
0a4b342f78
- Players can now have a name
...
- Use player names in the ncurses interface
- In training mode, create the hidden player in the constructor, not in start()
- When the AI has nothing to play, change the letters instead of simply passing
- New Makefile to build the win32 dependencies automatically (INSTALL file updated)
2008-01-19 19:33:08 +00:00
Olivier Teulière
8c3708fa99
- Removed Game::setRackRandomOld() (replaced by Game::setRackRandom())
...
- Adapted regression scenarii
2008-01-15 14:56:38 +00:00
Olivier Teulière
572b31c64e
- dic/encoding.cpp: simplification (this also removes a warning)
...
- game/rack.*: added a missing const
- game/game_io.cpp: fixed a compilation warning
2008-01-11 10:09:26 +00:00
Olivier Teulière
7e7f7f2dfa
- wxwin/mainframe.cc: Fixed a crash occurring when no config file is found
...
- Fixed a bug occurring in duplicate mode: sometimes the game ended too early,
while it was still allowed to go on.
Also updated the corresponding regression scenario
2008-01-10 10:23:36 +00:00
Olivier Teulière
81e980104f
- Board::GetLetterMultiplier() and Board::GetWordMultiplier() are now static
...
- Added 2 convenient getters: Dictionary::getName() and Bag::getDic()
2008-01-09 10:48:19 +00:00
Olivier Teulière
ba230eda60
- Bumped version number to 1.6
...
- Used the -Wall option of automake, and fixed the reported warnings
- Updated french translation
2008-01-08 16:09:08 +00:00
Olivier Teulière
e7a8d01a8d
Merged the "cppdic" branch back into HEAD.
...
There are too many change to list properly, here is an overview of the main changes:
- the dictionary is now in C++
- the dictionary has a new format, where it is possible to specify the letters,
their points, their frequency, ... It is backwards compatible.
- Eliot now supports non-ASCII characters everywhere
- i18n of the compdic, listdic, regexpmain binaries
- i18n of the wxWidgets interface (now in english by default)
2008-01-08 13:52:32 +00:00
Antoine Fraboulet
d86bd2af4a
- 32/64 bits types
...
- unused function parameters
2007-08-04 20:01:27 +00:00
Olivier Teulière
5199b6b7c1
Cosmetic changes
2006-12-23 16:48:15 +00:00
Olivier Teulière
421d0a29b1
Fixed a few char/wchar_t issues. The remaining ones need a wchar_t-aware dictionary
2006-12-23 13:50:43 +00:00
Olivier Teulière
9949225b8b
Fixed a nasty bug, due to the way jokers are handled
2006-11-05 17:04:39 +00:00
Antoine Fraboulet
5b8cbbe680
- correct typo on alignment
2006-11-05 13:31:49 +00:00
Antoine Fraboulet
ec3a91e444
- _wtoi correction
2006-11-05 13:30:54 +00:00
Antoine Fraboulet
603a75a98c
- extra debug output command for board cross info
...
- simplified cross class
- bug fix on cross information handling during backward moves
2006-11-05 13:30:06 +00:00
Antoine Fraboulet
69dada550b
- add "load" in game_factory
2006-08-11 22:14:21 +00:00
Antoine Fraboulet
8d79f6ba78
- typo in declaration
2006-08-11 22:13:41 +00:00
Antoine Fraboulet
9f86b53021
- add debug strings
2006-08-11 22:13:02 +00:00
Antoine Fraboulet
f9af9493d2
- bug correction for game::play when playing on a joker tile
2006-08-11 22:12:10 +00:00
Olivier Teulière
bb5a17d0f1
Indentation
2006-01-22 20:48:17 +00:00
Olivier Teulière
77be2e9219
Backport of the 'multibyte' branch on HEAD.
2006-01-22 12:23:52 +00:00
Olivier Teulière
2799f5191e
Use forward declarations to reduce dependencies
2006-01-02 19:05:37 +00:00
Antoine Fraboulet
4665fa176b
- add comments and emacs mode
2006-01-01 19:49:35 +00:00
Antoine Fraboulet
55badf52e4
- correct helperSetRackRandom with RACK_ALL (replace tiles in bag)
...
- add game_io.cpp to load/save a game
2006-01-01 19:48:36 +00:00
Antoine Fraboulet
5bdca9e9fd
- pldrack.h
...
add comments and emacs mode
add modes for toString
- pldrack.cpp
add modes for toString
add bool "reject", should be used later to notify a reject during game
add setRack(string)
2006-01-01 19:47:26 +00:00
Antoine Fraboulet
63005cdddb
add comments and emacs mode
2006-01-01 19:47:03 +00:00
Antoine Fraboulet
fee2ddff8f
- revert dic_chr patch. make dic_char instead.
2006-01-01 19:37:57 +00:00
Antoine Fraboulet
fea2ba6068
- correct off by one in score, once again. index+1 is right !
...
- revert previous dic_chr patch. make dic_char instead.
The board should/will use codes instead of tiles for performance reasons
in the next version
2006-01-01 19:37:26 +00:00
Antoine Fraboulet
2c262bcc34
Game load/save handling
2006-01-01 19:36:16 +00:00
Olivier Teulière
3ecf740432
- do not use std:: everywhere, it justs makes the code harder to read
...
- history.h: use forward declarations to reduce dependencies
- history.cpp: fixed a compilation warning
2005-12-27 16:54:38 +00:00
Olivier Teulière
9aeeafa61b
Removed the useless Game::getPlayerRack() method
2005-12-27 15:01:07 +00:00
Olivier Teulière
af720a02ee
- Commented out some debug messages preventing the regression to work properly.
...
- Re-indented a few lines to remove tabulations and keep a consistent coding style
2005-12-27 13:11:17 +00:00
Antoine Fraboulet
fc157bc08f
- correct bug in Game::back
...
- add regression test for this case
2005-12-27 01:06:54 +00:00
Antoine Fraboulet
d3e9d1e0ac
- off by one in History. corrected. all regression tests ok.
...
Scenario: training_dict
Scenario: training_bag
Scenario: training_search
Scenario: training_play
Scenario: duplicate_2_ai
Scenario: freegame_passing
Scenario: freegame_change
Scenario: freegame_3_ai
Summary: Everything was OK.
2005-12-27 00:06:23 +00:00
Antoine Fraboulet
4c56636aef
- use History class
...
- back is still buggy
2005-12-26 22:58:58 +00:00
Antoine Fraboulet
4881a63f75
- use History class
2005-12-26 22:58:19 +00:00
Antoine Fraboulet
1ea7bbaf9e
- comment update
2005-12-26 22:57:44 +00:00
Antoine Fraboulet
e25d5825a6
- add toString
2005-12-26 22:56:40 +00:00
Antoine Fraboulet
061242ed15
- correct empty round to have valid coord
2005-12-26 22:55:26 +00:00
Antoine Fraboulet
712ddb5125
- use of History class
2005-12-26 22:54:02 +00:00
Antoine Fraboulet
3f4c290745
- modified to use History
...
- add setRack wrapper for both manual and random
2005-12-26 22:53:26 +00:00