Commit graph

973 commits

Author SHA1 Message Date
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
240d106a9d - correct comment, removing loading game from training mode 2005-12-27 09:23:08 +00:00
Antoine Fraboulet
d607d100fd - change font for debug display, should change BagFrame display soon 2005-12-27 09:19:10 +00:00
Antoine Fraboulet
644653be0a - add regression test for Game::load - this test currently fails with a segfault 2005-12-27 09:13:48 +00:00
Antoine Fraboulet
b7f5f46391 - correct Game::back() and regression test 2005-12-27 01:07:54 +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
8e93c14f92 - correct +1 in history size 2005-12-27 01:06:12 +00:00
Antoine Fraboulet
e9dca4ea65 - adding regression test for Game::back() method 2005-12-27 01:04:49 +00:00
Antoine Fraboulet
1a69bd0fa9 - correct help message for training mode 2005-12-27 00:30:56 +00:00
Antoine Fraboulet
f7b2b48f6b -- correct TODO list with show-stopper bugs 2005-12-27 00:20:14 +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
41e90acadc - use of History class 2005-12-26 23:35:03 +00:00
Antoine Fraboulet
e3309cc183 - use of History class
- mainframe modification to include debug window (Game)
2005-12-26 22:59:57 +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
8f605110b7 - new auxframes update scheme
- new auxframe : gfxresult
- need some modification in mainframe.[h|cc] to take care of the update
2005-12-26 18:14:46 +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
Antoine Fraboulet
f59b0e469a - add configuration menu for board tiles colour 2005-12-26 15:28:57 +00:00
Antoine Fraboulet
1b4cdf5acf - new gfxboard class drawing with tiles 2005-12-26 15:02:26 +00:00
Antoine Fraboulet
094a920a4a - copyright and doxygen comment change
- adding new switch defines for GUI
2005-12-26 14:39:22 +00:00
Antoine Fraboulet
48a1b58c5e - adding min and max search length for regexp search panel
- separate build method for panels to include panel own widgets
2005-12-26 13:03:22 +00:00
Antoine Fraboulet
c450236dc1 copyright and docygen comment update 2005-12-26 12:23:17 +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
f060497e47 Unlike libreadline 4, libreadline 5 echoes the input given with < input_file.
The regression scenarios are now adapted to the behaviour of libreadline 5.
2005-12-24 17:50:11 +00:00
Olivier Teulière
a9e51998f8 Fixed a segfault 2005-12-24 16:49:26 +00:00
Olivier Teulière
5f74291e5c Fixed a typo in a comment 2005-12-23 22:19:22 +00:00
Olivier Teulière
55e8e1831f TODO file. I probably forgot hundreds of items :) 2005-11-09 19:52:48 +00:00
Olivier Teulière
777a6a5e8c The constuctors of the players now take as argument the ID of the player 2005-11-06 17:13:45 +00:00
Olivier Teulière
9e5b6e8ebf Use Turn objects for the players history too 2005-11-06 14:53:15 +00:00
Olivier Teulière
966418bf98 Typo 2005-11-06 01:09:41 +00:00