Commit graph

497 commits

Author SHA1 Message Date
Antoine Fraboulet
a0b083e83b adding QMARK, PLUS 2005-04-25 08:18:24 +00:00
Antoine Fraboulet
e2b60046a9 *** empty log message *** 2005-04-21 13:39:52 +00:00
Olivier Teulière
eccb1ca5bb Pass argument by reference to avoid a copy 2005-04-20 20:58:51 +00:00
Olivier Teulière
a144e7b22a Validation buttons are now labelled 'OK' 2005-04-20 19:51:06 +00:00
Olivier Teulière
87b146f9d6 A few (cross-)compilation fixes 2005-04-20 19:48:59 +00:00
Olivier Teulière
1895268549 Simplification; this should fix the compilation problem with gcc 3.4 2005-04-20 18:52:39 +00:00
Antoine Fraboulet
c8dde79bc3 uint_t -> dic_elt_t for dictionary 2005-04-20 18:11:00 +00:00
Antoine Fraboulet
a3d86b2be6 *** empty log message *** 2005-04-19 21:49:57 +00:00
Antoine Fraboulet
212b6dac0a problem with wxGTK fixed (sirt of). I need to check why Len returns 1 with
mb_str() instead of 0 when drawing tiles
2005-04-19 21:48:36 +00:00
Antoine Fraboulet
072afe50f8 fixed a memory leak when freeing automaton 2005-04-19 20:18:32 +00:00
Antoine Fraboulet
909a29a43d minor changes 2005-04-19 20:02:55 +00:00
Antoine Fraboulet
8df9c39b29 bad init (llist) for regular expression panel 2005-04-19 19:59:03 +00:00
Antoine Fraboulet
473ef6d47f DEBUG_RE removed 2005-04-19 18:09:44 +00:00
Antoine Fraboulet
9296520b64 correction for generated files derived from er.l and er.y 2005-04-19 18:07:14 +00:00
Antoine Fraboulet
fd090fe6b9 *** empty log message *** 2005-04-19 16:40:58 +00:00
Antoine Fraboulet
120f342c5d small typo fixed 2005-04-19 16:40:24 +00:00
Antoine Fraboulet
be0dea2a08 - documentation added for the dictionary
- regexp is now working (still needs some testing)
- regexp syntax error recovery is not implemented
2005-04-19 16:26:50 +00:00
Antoine Fraboulet
b1e67d947b some more doc on dictionary and expected regexp syntax 2005-04-19 16:25:06 +00:00
Antoine Fraboulet
1077565ace added toCode() function that should clarify the interface with the
dictionary. This function should be used wherever it applies to get
the internal dictionnary code that match the Tile.
2005-04-19 16:24:32 +00:00
Antoine Fraboulet
0d69751dfb "int getNCharInBag(char) const" changed to "int getNCharInBag(Tile) const;" 2005-04-19 16:23:04 +00:00
Antoine Fraboulet
284c7855a7 - regexp is now working, should add user defined letter lists in the GUI (later) 2005-04-19 16:21:15 +00:00
Antoine Fraboulet
3d15816dbf - using Tile class functions for bag tile list 2005-04-19 16:20:24 +00:00
Antoine Fraboulet
ad5b5963d5 *** empty log message *** 2005-04-18 17:40:36 +00:00
Antoine Fraboulet
db56658d22 *** empty log message *** 2005-04-16 21:19:19 +00:00
Antoine Fraboulet
59f7c6df9c yyparser ok. must change things to have a unique prefix instead of yy* 2005-04-16 20:55:51 +00:00
Olivier Teulière
25304bd978 test/*: Added non-regression tests, based on the text interface.
'regression.pl' is the script that runs the regression, and 'drivers' contains
the list of scenario files to be played.
By default, the complete regerssion is played, but you can play specific
scenarios by adding them to the command-line.
Example: ./regression.pl training_bag freegame_change
2005-04-16 15:47:59 +00:00
Olivier Teulière
b16b969406 When the letters to change are incorrect, do not end the turn for the player 2005-04-16 15:43:14 +00:00
Olivier Teulière
5b70753b50 Fixed a warning in Doxygen generation 2005-04-10 13:35:10 +00:00
Olivier Teulière
adfc794a73 Added a configuration file for a Doxygen documentation.
Run 'make doxygen' in the doc/ directory to generate it.
2005-04-10 13:32:14 +00:00
Olivier Teulière
48d111adca Ability to specify the random seed on command-line. 2005-04-10 12:15:40 +00:00
Antoine Fraboulet
550dad8451 cscope files added 2005-04-09 19:19:50 +00:00
Antoine Fraboulet
ebc689befd - minor dic.h changes 2005-04-09 19:16:56 +00:00
Antoine Fraboulet
4f1420ed31 - minor dictionary .h changes
- starting integrating regexp into eliot
2005-04-09 19:16:09 +00:00
Antoine Fraboulet
5b11146a36 getPlayerRack display option added + Game::back corrected of by one 2005-04-09 16:13:44 +00:00
Antoine Fraboulet
76178efe99 getPlayerRack display option added 2005-04-09 16:11:04 +00:00
Antoine Fraboulet
96e94a6be3 getPlayerRack display option added + Game::back() error return 2005-04-09 16:10:25 +00:00
Antoine Fraboulet
5e08e1cf6a manually entered racks can be lowercase or uppercase 2005-04-09 15:14:00 +00:00
Antoine Fraboulet
aa828e1f8e int -> unsigned int return values (count and points) 2005-04-09 14:58:24 +00:00
Antoine Fraboulet
8ed5045d75 minor modifications 2005-04-09 14:56:03 +00:00
Olivier Teulière
9ac91fc47e Proper text of the GPL license 2005-04-03 21:30:58 +00:00
Olivier Teulière
6b025b9541 - Several fixes in the build system
- Added a bootstrap script to reduce manual work
 - Added a --enable-debug configure switch to define the DEBUG variable
2005-04-03 21:12:03 +00:00
Olivier Teulière
a2648f74bb Fixed make update-po
Updated french translation
2005-04-02 22:04:59 +00:00
Olivier Teulière
b65c045cfe Removed Game::getCurrentRack(), since Game::getPlayerRack() does exactly the
same...
2005-04-02 21:21:30 +00:00
Olivier Teulière
855a6ad7e6 The title bar now indicates when it is a joker game 2005-04-02 21:18:24 +00:00
Olivier Teulière
016aa2e4fe Cross::m_tilesSet is now private 2005-04-02 21:03:45 +00:00
Olivier Teulière
daeb2cb228 Fixed a nasty bug when playing a joker game. 2005-04-02 20:46:42 +00:00
Olivier Teulière
4a71c13990 Initialize the random numbers generator before setting the first racks... 2005-04-02 18:22:53 +00:00
Olivier Teulière
f38e884d31 Simplification 2005-04-02 18:21:24 +00:00
Olivier Teulière
ce71e10aef Fixed a comment and made PlayedRack::toString() a const method 2005-04-02 18:05:21 +00:00
Olivier Teulière
383548a799 Fixed compilation of Board::checkDouble() in debug mode (the == operator was
missing for Cross objects)
2005-04-02 17:59:07 +00:00