Commit graph

1043 commits

Author SHA1 Message Date
Olivier Teulière
08c3f2ccb2 Arbitration: when loading a saved game, make PlayerMoveCmd auto-executable.
This is not very clean, but without this the played moves of past turns
are not visible. This commit also fixes a test with was incorrect.
2012-10-24 11:11:24 +02:00
Olivier Teulière
34ed25e9e9 Saved games: save some statistics (not used when loading the game) 2012-10-24 00:32:48 +02:00
Olivier Teulière
c748d02950 Saved games: use the real player ID, not a modified one 2012-10-24 00:32:24 +02:00
Olivier Teulière
cf22315fd0 Saved games: improve an error message to give the context 2012-10-24 00:32:15 +02:00
Olivier Teulière
ef14d5e9d6 Saved games: use camelCase for attribute names 2012-10-24 00:31:51 +02:00
Olivier Teulière
b76f48f545 Save games: save and restore the table numbers 2012-10-22 17:35:29 +02:00
Olivier Teulière
f76bd47882 Stats: show the played move with the turn number 2012-10-22 17:23:25 +02:00
Olivier Teulière
a8e65bc718 Update of the Serbian translation 2012-10-22 17:23:24 +02:00
Olivier Teulière
e283cb2526 Next version will be 2.1 2012-10-14 22:04:42 +02:00
Olivier Teulière
1b46a32204 Fix a packaging issue on MacOSX, with Qt 4.8 2012-10-14 16:27:32 +02:00
Olivier Teulière
7d30d6412a Prepare for version 2.0 2012-10-14 14:50:45 +02:00
Olivier Teulière
dfbf10223b Update PO files a last time (a string has been removed) 2012-10-14 14:49:58 +02:00
Olivier Teulière
6c57d9fe0e Compdic: little simplification 2012-10-14 14:37:57 +02:00
Olivier Teulière
2663a62ecb Do not write unitialized bytes in the dictionary header.
These bytes wouldn't be read anyway, but it is cleaner and makes
valgrind happy.
2012-10-14 14:31:44 +02:00
Olivier Teulière
02249c214e Various fixes for problems detected by Coverity.
Most of them where not actual problems, though.
2012-10-13 13:49:40 +02:00
Olivier Teulière
c7831a28bd Do not specify template parameters when it is useless 2012-10-13 00:50:44 +02:00
Olivier Teulière
f6ced69c9e Make sure some class members are initialized (bugs reported by Coverity) 2012-10-11 23:21:32 +02:00
Olivier Teulière
3b466d7254 Fix some typos in the Spanish translation 2012-10-11 20:30:52 +02:00
Olivier Teulière
0315080d30 Fix small layout issues (use less margin in some places) 2012-10-11 14:20:32 +02:00
Olivier Teulière
4f92aa4a2b New Spanish translation, courtesy of Joan Montane 2012-10-11 13:45:49 +02:00
Olivier Teulière
a35146f19f Update of the Catalan translation 2012-10-11 13:45:49 +02:00
Olivier Teulière
0fa1c79563 Add myself to the authors, and fix some copyright headers 2012-10-11 13:45:24 +02:00
Olivier Teulière
4200e33c17 Change the copyright years for all the files modified in 2012 2012-10-11 13:45:24 +02:00
Olivier Teulière
de35d9d343 Update of the Czech translation 2012-10-10 19:13:26 +02:00
Olivier Teulière
f3199a164c Update the PO files again 2012-10-07 13:00:08 +02:00
Olivier Teulière
07631b9a80 A few more string fixes 2012-10-07 13:00:08 +02:00
Olivier Teulière
fd26b477b5 Update PO files, and complete the French translation 2012-10-06 22:21:18 +02:00
Olivier Teulière
c5591da9e5 Fix various strings 2012-10-06 22:17:43 +02:00
Olivier Teulière
e876321155 Next version will be 2.0 2012-10-06 18:46:05 +02:00
Olivier Teulière
e7aabdc4a2 Fix compilation warnings 2012-10-06 18:45:46 +02:00
Olivier Teulière
8ef0b88e94 Update PO files 2012-10-06 18:19:57 +02:00
Olivier Teulière
b84d112220 I18n of the load/save game exceptions 2012-10-06 18:18:21 +02:00
Olivier Teulière
43471a52ac BagWidget: merge the 2 implementations in a single file.
Note that only BagWidget2 is used at the moment. In the future, the
other one will probably disappear.
2012-10-06 17:49:36 +02:00
Olivier Teulière
e55f05e325 Arbitration: fix a focus problem 2012-10-06 17:49:36 +02:00
Olivier Teulière
97f4355502 PlayerWidget: improve focus behaviour and ergonomy 2012-10-06 17:49:36 +02:00
Olivier Teulière
18aa839f11 Validators: always force the input to upper case 2012-10-06 17:49:36 +02:00
Olivier Teulière
d3f642567d Reuse a variable 2012-10-06 17:49:36 +02:00
Olivier Teulière
1e94c56067 Rename slots to indicate what the methods actually do 2012-10-06 17:49:36 +02:00
Olivier Teulière
ca5c6cff0d Do not use Qt auto-connect feature 2012-10-06 17:49:36 +02:00
Olivier Teulière
d3c9c504ba Fix a typo, causing a wrong error message to be displayed 2012-10-06 17:49:36 +02:00
Olivier Teulière
e51d2f9a23 Rename TurnCmd into Turn (step 3) 2012-10-06 17:49:36 +02:00
Olivier Teulière
ec571d64e4 Rename TurnCmd into Turn (step 2) 2012-10-06 17:49:36 +02:00
Olivier Teulière
cfa90e6394 Rename TurnCmd into Turn (step 1) 2012-10-06 17:49:35 +02:00
Olivier Teulière
471dcf90e1 Rename Turn into TurnData (step 2) 2012-10-06 17:49:35 +02:00
Olivier Teulière
fa345a9f7b Rename Turn into TurnData (step 1) 2012-10-06 17:49:35 +02:00
Olivier Teulière
4acc731b17 Save game: write unknown commands as comments, to help debugging 2012-10-06 17:49:35 +02:00
Olivier Teulière
47a827e9d4 Remove useless code 2012-10-06 17:49:35 +02:00
Olivier Teulière
65ed44d66d Cosmetics 2012-10-06 17:49:35 +02:00
Olivier Teulière
77fcfab8a5 Stats: add an option to lock the columns sizes 2012-10-06 17:49:35 +02:00
Olivier Teulière
ef5f8e63e9 Do not cache the score of the player.
Caching is almost useless here, and makes the code more complex.
2012-10-06 17:49:35 +02:00