Commit graph

1014 commits

Author SHA1 Message Date
Olivier Teulière
50fc82f60c First backports from the branch (Game::getBoard and Game::getBag, mainly) 2005-11-04 23:26:03 +00:00
Olivier Teulière
fe13a5e627 Removed the $Id:$ lines on HEAD 2005-11-04 20:00:05 +00:00
Olivier Teulière
83bf9d8b37 Check the mandatory options in the command-line, to output a better error
message
2005-10-23 16:12:29 +00:00
Olivier Teulière
e3bc46b114 Updated licence text with FSF's new address. 2005-10-23 14:53:42 +00:00
Antoine Fraboulet
6626d0ee8c Game history class, will be used for games and players 2005-08-15 22:20:20 +00:00
Antoine Fraboulet
b4e52e47cc Eliot coordicate system 2005-08-15 18:14:52 +00:00
Antoine Fraboulet
3f438199a9 A turn is a tuple (Num,Player,PlayedRack,Round) 2005-08-15 18:13:57 +00:00
Antoine Fraboulet
d0418c3e8d commit to tag v1.5 2005-05-28 20:59:14 +00:00
Antoine Fraboulet
699f5fa205 fixed a typo for doxygen 2005-05-06 07:39:58 +00:00
Antoine Fraboulet
9cd294492e adding untyped list type for use in automaton 2005-05-06 07:25:40 +00:00
Antoine Fraboulet
b9f9bd763e - regexp are now complete and correct
- licence update in files header
2005-05-05 23:45:04 +00:00
Olivier Teulière
b4e66f273e Use the readline library in the text interface. In particular, it provides
a history of commands
2005-04-27 17:55:32 +00:00
Antoine Fraboulet
506f31702a - correction on list-letters initialiation for regexp 2005-04-27 17:39:29 +00:00
Antoine Fraboulet
49a41bb311 - added + ? and [^xx] works in most of the cases, automata is no more
deterministic, I have to rewrite the automaton_build to correct this.
2005-04-27 17:35:03 +00:00
Antoine Fraboulet
e29aa11a75 lexer/parser function name changed yy* -> regexp* 2005-04-26 16:31:45 +00:00
Antoine Fraboulet
2b829c1768 doxygen doc changes 2005-04-26 07:37:55 +00:00
Antoine Fraboulet
70cbbedede QMARK and PLUS are working, still a small thing to correct for QMARK (a[bc]?d) 2005-04-25 09:17:53 +00:00
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