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
Antoine Fraboulet
28fcd062bf
- add toString method
2005-12-26 22:52:38 +00:00
Antoine Fraboulet
3bde5c3da5
- since we use History, the first round is numbered 1
...
- separate sort_by_points method, removed call from board_search
2005-12-26 21:22:21 +00:00
Antoine Fraboulet
1fb948cba9
- player now use History class for turn storage
2005-12-26 21:18:21 +00:00
Antoine Fraboulet
74900ca592
- add simple printout debug msg
2005-12-26 21:10:59 +00:00
Antoine Fraboulet
7bc239adfc
- add toString() method
2005-12-26 21:08:08 +00:00
Antoine Fraboulet
159cb33b75
- add history.[h|cpp]
2005-12-26 20:13:02 +00:00
Antoine Fraboulet
91442662d0
- fixed typo
2005-12-26 19:43:21 +00:00
Antoine Fraboulet
9fa76dda0e
Makefile.am
2005-12-26 19:19:42 +00:00
Antoine Fraboulet
983d413a3b
- adding empty constructor for History
2005-12-26 19:17:49 +00:00
Antoine Fraboulet
504198b8ff
- adding shortcut for getCurrentPlayer()
2005-12-26 18:09:52 +00:00
Antoine Fraboulet
f3ee945b91
- remove results members access methods from Training Class
...
- add m_testPlay for temporary placed words
2005-12-26 18:07:26 +00:00
Antoine Fraboulet
9b9fcfae4c
- re-enabling toString()
2005-12-26 15:53:37 +00:00
Antoine Fraboulet
ce001c7aa2
- adding getWord and toString methods
2005-12-26 15:52:48 +00:00
Antoine Fraboulet
3c31b8a2e2
- backport modifications from branch
2005-12-26 15:33:15 +00:00
Olivier Teulière
96fe9f22b1
Dic_chr returns the actual char, not a code between 0 and 31.
...
Dic_lookup takes a string containing real chars, not codes.
The idea is to hide the internal representation of the characters from the
users of the dictionary, who don't care about it.
2005-12-24 18:42:44 +00:00
Olivier Teulière
5f74291e5c
Fixed a typo in a comment
2005-12-23 22:19:22 +00:00