Olivier Teulière
1bc9c2f0f1
Implement (de)serialization of the MasterMoveCmd class
2012-01-17 23:15:05 +01:00
Olivier Teulière
744e90e6ca
New command to define a master move.
2012-01-17 23:15:05 +01:00
Olivier Teulière
e327d4605d
Always consider that the played move was played by the first player.
...
Knowing the actual player is not always possible, since potentially none
of the players has found the played move (for example in arbitration
mode). This ID is now only used to retrieve the rack from which the move
was formed, so any player ID will do.
The non-regression tests have been adapted accordingly.
2012-01-17 21:57:03 +01:00
Olivier Teulière
fbb34d795c
The history now shows the "Player" column only in FreeGame mode.
...
It doesn't really make sense (or it is useless) in the other modes.
2012-01-17 21:45:31 +01:00
Olivier Teulière
7fd8a245f8
Do not refresh the coordinates for a non-visible player.
...
This fixes a focus bug, and makes it easier to enter moves for several
human players.
2012-01-17 10:48:36 +01:00
Olivier Teulière
c81df46b5e
Added a new type of move: NO_MOVE
2012-01-17 00:56:02 +01:00
Olivier Teulière
d32f3fdf81
Use assertions where appropriate
2012-01-17 00:56:02 +01:00
Olivier Teulière
482b5d674f
Previewing a Round is now possible in all the game types.
...
It was only possible in Training mode. This change will be useful for
the future arbitration mdoe.
2012-01-17 00:43:19 +01:00
Olivier Teulière
90ce7e1111
Removed some useless code
2012-01-12 15:26:27 +01:00
Olivier Teulière
413d93c7cb
Remove debug not meant to be committed.
2012-01-12 15:14:23 +01:00
Olivier Teulière
273b8ceabf
Fixed the path of the Qt translations in the contribs
2012-01-05 22:12:14 +01:00
Olivier Teulière
219b99192d
Warn before exiting Eliot when a game is started
2012-01-05 21:08:54 +01:00
Olivier Teulière
c7cf102674
Regenerate po files, and update the French translation
2012-01-05 20:46:50 +01:00
Olivier Teulière
205aea3ca4
Added missing files.
...
Most of them do not contain strings to translate, though.
2012-01-05 20:45:00 +01:00
Olivier Teulière
7883aab6b5
Removed a useless name
2012-01-05 20:44:44 +01:00
Olivier Teulière
f2d25bc0d6
Include config.h before checking macro definitions
2012-01-05 20:43:57 +01:00
Olivier Teulière
84a49424d5
Next version will be 1.15
2012-01-05 19:18:18 +01:00
Olivier Teulière
f9cbd51cb6
Prepare for version 1.14
2012-01-03 21:47:50 +01:00
Olivier Teulière
25f97b7339
Update of some translations
2012-01-03 21:47:47 +01:00
Olivier Teulière
543e539853
Regeneration of po files and update of the French translation
2011-12-30 20:06:51 +01:00
Olivier Teulière
5dc491d887
New preference to define a default AI level
2011-12-30 19:33:48 +01:00
Olivier Teulière
9dfed9c51d
Fixed a dictionary creation bug on Win32 with input files containing a BOM.
...
The bug was not showing on Wine, only on Windows itself.
2011-12-30 15:12:26 +01:00
Olivier Teulière
8342bd5653
Typos
2011-12-29 11:33:18 +01:00
Olivier Teulière
9aea22d968
Use an enum for the variants
2011-08-28 19:25:26 +02:00
Olivier Teulière
56b66fea28
Added setters to GameParams, to simplify the code a little
2011-08-28 19:25:26 +02:00
Olivier Teulière
befe577fe7
Got rid of Game::getModeAsString()
2011-08-28 19:25:26 +02:00
Olivier Teulière
17bdd27899
Moved the dictionary to the GameParams class
2011-08-28 19:25:26 +02:00
Olivier Teulière
408c92df42
Moved the game mode to the GameParams class
2011-08-28 19:25:26 +02:00
Olivier Teulière
3d48facb55
Cosmetics
2011-08-28 19:25:26 +02:00
Olivier Teulière
d6fbd6bef1
Allow combining several variants in a single game
2011-08-28 18:47:25 +02:00
Olivier Teulière
38f3a456bb
Handle the "7 among 8" variant in a few more places
2011-08-28 15:52:12 +02:00
Olivier Teulière
306d1e10bf
Added tests for the "7 among 8" mode
2011-08-28 15:29:11 +02:00
Olivier Teulière
336a5a6111
eliottxt.cpp is now encoded in UTF-8
2011-08-28 15:06:15 +02:00
Olivier Teulière
4aa7c1a548
Support the "7 among 8 variant" in the text interface
2011-08-28 14:51:56 +02:00
Olivier Teulière
fd0bf204cc
Fixed the variable used in board*
2011-08-27 21:55:49 +02:00
Olivier Teulière
e9a49a87ab
Use radio buttons for the game type instead of a combo box
2011-08-27 21:55:49 +02:00
Olivier Teulière
fdc29871e5
New GameParams class to wrap a few game characteristics.
...
These characteristics will not change during the game.
2011-08-27 21:55:49 +02:00
Olivier Teulière
3b4750d3bf
Round: the m_bonus field should be of type bool, not int.
2011-08-27 21:55:49 +02:00
Olivier Teulière
2dea386ac9
Added a .gitignore file
2011-08-27 21:53:29 +02:00
Olivier Teulière
6fe86f7bf1
Next version will be 1.14
2011-08-23 06:18:04 +00:00
Olivier Teulière
10e6b85cc0
Prepare for version 1.13
2011-08-20 21:51:05 +00:00
Olivier Teulière
4c5747892e
Update of the Czech translation
2011-08-18 19:48:50 +00:00
Olivier Teulière
bafc52c9e5
Updated Windows build instructions
2011-08-16 18:16:24 +00:00
Olivier Teulière
6a3d611c95
log4cxx patch is no longer needed and makes build process to fail.
...
Patch by Julien Catalano.
2011-08-16 17:54:19 +00:00
Olivier Teulière
36773d6ba5
Apache Portable Runtime (APR) and APR-util (APU) packages were not available
...
anymore for download. Update to current versions.
APU also needs an extra configure flag (--with-apr-util).
Patch by Julien Catalano.
2011-08-16 17:43:27 +00:00
Olivier Teulière
47e7bc4994
Update of the Catalan translation
2011-08-16 16:51:52 +00:00
Olivier Teulière
918fd7c2de
Update of the Czech translation
2011-08-03 20:52:25 +00:00
Olivier Teulière
3df16cf1ae
Forgotten file for the translations (with 2 more strings to translate)
2011-08-03 06:41:19 +00:00
Olivier Teulière
f9a7307898
Added a unit test for all the string conversions
2011-07-30 19:49:29 +00:00
Olivier Teulière
cfa88072a3
Replace the use of convertToMb() and convertToWc() with macros
2011-07-30 19:48:05 +00:00