Commit Graph

37614 Commits

Author SHA1 Message Date
Mark de Wever
6d7a231dac Use empty() instead of comparing size() with 0.
Issue found by cppcheck.
2010-01-03 18:45:08 +00:00
Mark de Wever
acead96ea8 Use empty() instead of comparing size() with 0.
Issue found by cppcheck.
2010-01-03 18:45:05 +00:00
Mark de Wever
4a25199ba7 Use empty() instead of comparing size() with 0.
Issue found by cppcheck.
2010-01-03 18:45:02 +00:00
Mark de Wever
3b6dd6f1d1 Use empty() instead of comparing size() with 0.
Issue found by cppcheck.
2010-01-03 18:44:58 +00:00
Mark de Wever
43c515a31a Use empty() instead of comparing size() with 0.
Issue found by cppcheck.
2010-01-03 18:44:55 +00:00
Mark de Wever
0b4e3512fb Use empty() instead of comparing size() with 0.
Issue found by cppcheck.
2010-01-03 18:44:51 +00:00
Mark de Wever
aa8b0d7ed8 Use empty() instead of comparing size() with 0.
Issue found by cppcheck.
2010-01-03 18:44:48 +00:00
Mark de Wever
5c3d0c1901 Use empty() instead of comparing size() with 0.
Issue found by cppcheck.
2010-01-03 18:44:45 +00:00
Mark de Wever
c5ec758142 Use empty() instead of comparing size() with 0.
Issue found by cppcheck.
2010-01-03 18:44:41 +00:00
Mark de Wever
147a515707 Use empty() instead of comparing size() with 0.
Issue found by cppcheck.
2010-01-03 18:44:38 +00:00
Mark de Wever
819bf9a4a9 Pre instead of post increment a variable.
Issue found by cppcheck.
2010-01-03 18:44:26 +00:00
Mark de Wever
51e079dda8 Update some wiki comment. 2010-01-03 16:55:29 +00:00
Mark de Wever
f5755dad40 Allow listboxes to insert items at every index. 2010-01-03 13:36:58 +00:00
Mark de Wever
d2b63a2e32 Update changelog. 2010-01-03 13:36:50 +00:00
Mark de Wever
03f83a579f Convert some old gui stuff to new.
More old style dialogs to the new style function calls.
2010-01-03 13:36:43 +00:00
Mark de Wever
1b15ee29fb Convert some old gui stuff to new.
More old style dialogs to the new style function calls.
2010-01-03 13:36:40 +00:00
Mark de Wever
c2742d5b3f Convert some old gui stuff to new.
More old style dialogs to the new style function calls.
2010-01-03 13:36:35 +00:00
Mark de Wever
cb95eebcef Convert some old gui stuff to new.
gui::message_dialog to gui2::show_transient_error_message.
2010-01-03 11:45:18 +00:00
Mark de Wever
3144d4d449 Add a new transient error message.
This commits "adds" a new translatable string, but since the string is
already in that text domain, it doesn't break the string freeze.
2010-01-03 11:45:13 +00:00
Mark de Wever
1f30546964 Changelog update. 2010-01-03 10:38:38 +00:00
Mark de Wever
3444c48e19 Improve the tiny-gui version. 2010-01-03 10:38:32 +00:00
Mark de Wever
c16e777eb0 Improve the tiny-gui version. 2010-01-03 10:38:29 +00:00
Mark de Wever
93d68a73b6 Improve the tiny-gui version. 2010-01-03 10:38:25 +00:00
Mark de Wever
43694a1d7d Improve the tiny-gui version. 2010-01-03 10:38:20 +00:00
Guillaume Melquiond
817c0e3335 Removed warning so that there are no spurious messages at load time. 2010-01-03 10:01:45 +00:00
Nils Kneuper
11cff18e65 updated German translation 2010-01-03 01:37:15 +00:00
Eric S. Raymond
85aef15120 Better fix for bug #15040: NR, scenario 2:
...extend list of units who can get Admirer role.
2010-01-02 21:19:18 +00:00
Mark de Wever
b67d53f5d9 Fixes some listbox assertion failures.
Ilor discovered them when showing and hiding items in the MP dialog.
This change also moves the sizing burden to the listbox, this was
documented in the contract but not done yet.

This allows the multiple item version of set_row_shown() to update the
size once instead of for every call to generator function.
2010-01-02 20:58:32 +00:00
Eric S. Raymond
badff2dd2c Address bug #15040: NR, scenario 2:
..."extend list of units who can get Admirer role"; also, so a minor
wmllint cleanup.
2010-01-02 19:49:45 +00:00
Lari Nieminen
5da0263c88 Fixed more duplicate unit ids caused by...
...NAMED_GENERIC_UNIT and RANDOM_TRAIT_UNIT.
2010-01-02 17:06:46 +00:00
Lari Nieminen
66e62ee660 Fixed duplicate unit ids caused by NAMED_NOTRAIT_UNIT in DiD. 2010-01-02 16:40:49 +00:00
Lari Nieminen
21d4e8e504 Fixed duplicate unit ids caused by NAMED_NOTRAIT_UNIT in UtBS.
And some tabs-to-spaces.
2010-01-02 16:40:04 +00:00
Lari Nieminen
80ee3b80a8 Fixed duplicate unit ids caused by NAMED_UNIT in UtBS.
And some tabs-to-spaces.
2010-01-02 16:19:09 +00:00
Lari Nieminen
7c0c9c67e7 Fixed duplicate unit ids caused mostly by NAMED_LOYAL_UNIT in TSG and DiD. 2010-01-02 16:02:08 +00:00
Lari Nieminen
b50a1c3df6 Fixed duplicate unit ids in NAMED_GENERIC_UNIT calls in TSG. 2010-01-02 15:57:33 +00:00
Eric S. Raymond
1e0935c6e0 Address bug bug #15038: NR::5a: some units doen't speak their text. 2010-01-02 13:58:33 +00:00
Eric S. Raymond
8640182605 Another missing-dialog fix. 2010-01-02 13:55:56 +00:00
Eric S. Raymond
f85a4d23b3 Avoid having some dialog disabled by translation. 2010-01-02 13:48:00 +00:00
Nils Kneuper
956e7f15b1 pot-update (no string changes or additions)
regenerated doc files (looks like nothing changed...)
2010-01-02 13:17:46 +00:00
Nils Kneuper
c5527797fc unification of "translateable value" (cf scenario 07b...) 2010-01-02 13:14:42 +00:00
Nils Kneuper
91a48c2090 one string was not fixed to use $intl_dwarf_name
fix the string and ran pofix.py on the files that included none of the
changed strings...
2010-01-02 13:10:35 +00:00
Nils Kneuper
d0ceb6b7cf rollback po file updates by esr from 2010-01-01T16:53:55Z!esr@thyrsus.com and 2010-01-01T17:09:06Z!esr@thyrsus.com
(the changes still resulted in three fuzzy strings...)

will attempt a fix "soon"...
2010-01-02 13:07:33 +00:00
Mark de Wever
cc21df1e5b Don't allow a 0-sides game to be started.
Fixes Debian bug #563310.
2010-01-02 12:51:36 +00:00
Mark de Wever
f9d12065b9 Mark connect::sides_available() as const. 2010-01-02 12:51:28 +00:00
Mark de Wever
db4d4dd17d Non-human null controllers are no longer set to AI.
This avoids dummy sides to get a turn, like the statues in 'Caves of the
Basilisk'.

Regarding compatibility: I did some minimal testing with a version with
and without this patch and it seemed to work properly. Since we're not
in compatibility freeze I didn't do more extensive testing. (This fix
also allows me to properly fix another bug [1], to be committed later).

[1] http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=563310
2010-01-02 11:13:19 +00:00
Eric S. Raymond
a1ede9c72d However, we only want to kill off Kromph if he is under Eloh's control.
If not, he's still on side 1 and the following surrender
speech is no problem.
2010-01-01 20:36:46 +00:00
Eric S. Raymond
9bf304243e Address bug #15029: UtBS, scenario 9:
...golem Kromph doesn't die after Eloh's death.
2010-01-01 20:31:30 +00:00
Mark de Wever
2f802be0af Switched back to the tiled background for gui2.
The tile background looks better and renders faster. The latter is
noticable in the new lobby, which becomes faster with this change.
2010-01-01 18:51:15 +00:00
Mark de Wever
54f9191a5f Pre instead of post increment a variable.
Issue found by cppcheck.
2010-01-01 17:12:38 +00:00
Mark de Wever
35397829c9 Pre instead of post increment a variable.
Issue found by cppcheck.
2010-01-01 17:12:32 +00:00