Commit graph

27 commits

Author SHA1 Message Date
Antoine Fraboulet
506f31702a - correction on list-letters initialiation for regexp 2005-04-27 17:39:29 +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
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
8df9c39b29 bad init (llist) for regular expression panel 2005-04-19 19:59:03 +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
ebc689befd - minor dic.h changes 2005-04-09 19:16:56 +00:00
Antoine Fraboulet
5b11146a36 getPlayerRack display option added + Game::back corrected of by one 2005-04-09 16:13:44 +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
b65c045cfe Removed Game::getCurrentRack(), since Game::getPlayerRack() does exactly the
same...
2005-04-02 21:21:30 +00:00
Antoine Fraboulet
8121c6ab4c raccords and benjamins are now search active 2005-03-29 08:22:55 +00:00
Antoine Fraboulet
fd1e57b115 - modifications for clean compile wx2.4, wx2.5 seems to have various font rendering problems 2005-03-29 08:05:18 +00:00
Antoine Fraboulet
8390d456b5 some progress but still incomplete interface 2005-03-29 07:00:39 +00:00
Olivier Teulière
b7032e2d78 - The Game library is now in C++.
This simplifies the code in many places, and allows inheritance of the
   game mode classes (Training, Duplicate and FreeGame).
 - A Tile is no more an unsigned char, but a class: it should help supporting
   i18n of the game. The Dic library still uses unsigned chars though.
 - Improved the configure script, to enable/disable the compilation of some
   interfaces.
 - Added a ncurses interface, much nicer than the text one. The game mode and
   the number of players are currently hardcoded, it is not possible to change
   them interactively (yet).
 - Repaired the save/load functions.

NOTE: The wxWindows interface compiles, but is completely broken. I'm afraid it
needs a full rewrite (to support the various game modes in particular).
2005-02-05 11:14:56 +00:00
Olivier Teulière
f6157c71b9 Compilation fixes for the Unicode build of wxWidgets 2005-01-01 15:42:55 +00:00
Olivier Teulière
b102aafbcd Support for 3 different game modes:
- 'Training' mode: same behaviour as before
  - 'Duplicate' mode: all the players (who can be human players or AI
    players) have the same rack, and the best word is played on the
    board
  - 'Free game' mode: the players (human or AI) have different racks,
    and they play one after another

Status:
  - Core: the main functions are written, but the API could be more
    homogeneous between the different modes.
  - Interfaces: the text interface is almost up-to-date, but the
    wxwindows one only supports Training mode.
  - AI: Currently, AI players always play the best word, which is
    optimal in Duplicate mode but not in FreeGame mode. Other strategies
    will be written in the future.
  - Handling of saved games is broken: a game can be saved and loaded,
    but no information about the mode and the players is stored, so it
    crashes whatever you do after loading the game.
2004-08-07 18:10:42 +00:00
Olivier Teulière
acd1aa0f1b Added .cvsignore files 2004-07-08 18:17:31 +00:00
Olivier Teulière
a72234c4c0 Quick string review 2004-07-05 21:39:16 +00:00
Olivier Teulière
dfee04c4a9 Fix pour la compilation Windows avec wxWindows 2.5 2004-06-26 10:40:02 +00:00
Olivier Teulière
61963c0fe0 Fix pour la compilation windows, et la compatibilit avec wxWindows 2.5
(pas encore suffisant)
2004-06-22 21:04:07 +00:00
Antoine Fraboulet
22b196f8e9 taille minimale pour les fentres dans Reload() 2004-06-20 20:00:09 +00:00
Antoine Fraboulet
c7899d0807 *** empty log message *** 2004-06-19 18:43:35 +00:00
Antoine Fraboulet
45b4adbf42 CVS import on gnu.org 2004-04-08 10:21:56 +00:00
Antoine Fraboulet
673a0e7828 *** empty log message *** 2004-04-08 09:57:28 +00:00
Antoine Fraboulet
90b1affcef *** empty log message *** 2004-04-08 09:43:06 +00:00