47611 Commits

Author SHA1 Message Date
Anonymissimus
7215ca1920 reintroduce support for [unit][event]s (fix for bug #16259)
Such events are required a non-empty id=.
2011-10-17 17:21:22 +00:00
Anonymissimus
fa8f56b63a rewrite game_events::add_events
to optionally filter by event id whether to add an event
2011-10-17 17:21:04 +00:00
Simon Forsyth
5714b64125 Improve appearance of grass-dirt transitions 2011-10-17 04:47:26 +00:00
Ignacio R. Morelle
b9dd12178b Apply "Setting to ignore encountered_units" (patch #2940 by negusnyul)
The preferences entry name and tooltip are not the same as the patch in
the tracker, as we discussed on IRC that this doesn't exclusively affect
mainline units nor does it need to. I also changed the tooltip wording
to fit as much as possible in my 1280x800 screen without changing the
font size (works on 800x480 with a smaller font size).
2011-10-16 20:59:09 +00:00
Ignacio R. Morelle
0f0c221226 Move credits entry to the correct section 2011-10-16 16:49:25 +00:00
Ignacio R. Morelle
b0e6c09d23 Remove some previous asymmetric behavior kept (not introduced) in 2011-10-16T16:26:07Z!shadowm@wesnoth.org
The behavior in question was apparently put in place to avoid a
segmentation fault due to unchecked access to a vector's first element;
ensure there'll always be a first element instead.
2011-10-16 16:43:17 +00:00
Ignacio R. Morelle
75920c02ce Fix mangling of image path functions...
...in credits background lists (about.images attribute) by using the
parenthetical split algorithm instead
2011-10-16 16:26:07 +00:00
Nils Kneuper
c8390521d5 fix changelog to only use 80 chars per line 2011-10-16 08:40:18 +00:00
Nils Kneuper
63507581ab updated Galician translation 2011-10-16 08:39:36 +00:00
Steven Panek
e4ca705b55 Added a missing diaeresis. 2011-10-16 02:25:17 +00:00
Steven Panek
455409d396 Added a female string for 'stunned'. 2011-10-16 01:49:50 +00:00
Steven Panek
108ccdf0b9 Fixed stun's special notes string and its description. 2011-10-16 01:30:48 +00:00
Steven Panek
83ad4d41ea Improved an error message. 2011-10-16 01:27:56 +00:00
Mark de Wever
0312529429 Remove the assert introduced in 2011-10-15T18:06:24Z!koraq@xs4all.nl.
anonymissimus found some valid cases which now assert. Changed it in a
debug warning, mainly to have hint that it might be the cause of an
issue.
2011-10-15 21:36:45 +00:00
Anonymissimus
a0d6cbc0b2 made scope of this_unit variable in modify_unit local (bug #18811) 2011-10-15 21:05:00 +00:00
Simon Forsyth
234a1afb6f Make stone wall interior match cave wall interior 2011-10-15 18:06:56 +00:00
Mark de Wever
8e03231312 Remove some old-style-casts. 2011-10-15 18:06:52 +00:00
Mark de Wever
e35de2a8a7 Remove some old-style-casts. 2011-10-15 18:06:49 +00:00
Mark de Wever
e63088ad51 Remove an old-style-cast. 2011-10-15 18:06:46 +00:00
Mark de Wever
01a578dac8 Remove an old-style-cast. 2011-10-15 18:06:43 +00:00
Mark de Wever
72a41e4a58 Remove an old-style-cast. 2011-10-15 18:06:40 +00:00
Mark de Wever
d5c260c608 Strip trailing whitespace. 2011-10-15 18:06:36 +00:00
Mark de Wever
c9cf48b676 Add some extra validation before deferring. 2011-10-15 18:06:33 +00:00
Mark de Wever
087e711106 Removing trailing underscores of public members.
Trailing underscores are used for _private_ members.
2011-10-15 18:06:30 +00:00
Mark de Wever
eb948eac6b Remove whitespace. 2011-10-15 18:06:27 +00:00
Mark de Wever
af7ef732bd Harden unit_movement_resetter class.
Add a warning regarding its usage and test whether the unit exists
before assigning to it. (Still a bit experimental, but initial tests
show no regressions.)
2011-10-15 18:06:24 +00:00
Mark de Wever
9a44eaaa76 Add unit_map::has_unit().
This allows to check whether a unit exists in the map.
2011-10-15 18:06:19 +00:00
Simon Forsyth
c4e1b54750 revert previous incomplete commit 2011-10-15 17:03:32 +00:00
Simon Forsyth
8be57b9bc8 Use tile image that matches default base 2011-10-15 16:58:40 +00:00
Derek Hoagland
a6021b0245 Merfolk Village should only aliasof the base terrain.
Not the village terrain type.
2011-10-15 16:55:08 +00:00
Alexander van Gessel
d1323f29f9 Restore 2011-09-29T15:55:37Z!thonsew@yahoo.com by thonsew:
Fixed a std::string & bound to a temporary rvalue.
2011-10-15 17:44:06 +01:00
Anonymissimus
ed3cc61416 Fixed usage of a reference in a commit of mine.
According to a comment by mordante in variable.hpp, std::string& foo =
vcfg["foo"] is unsafe, and silene appears to have always used
config::attribute_value foo = vcfg["foo"] (without reference).
2011-10-15 15:52:18 +00:00
Derek Hoagland
b6426bc0fd Forgot to set a default base now that Merfolk Villages are overlays. 2011-10-15 14:08:08 +00:00
Derek Hoagland
97aa392fb7 Merfolk villages can now be placed on arbitrary base terrains like all the other villages. 2011-10-15 14:04:07 +00:00
Mark de Wever
a9d25133a3 Add a work-round for bug #18534.
The destructor of the class restored the moment of the units. When a
unit no longer exists it overwrites random memory. The issue has been
found by valgrind.

anonymissimus tested the work-around since he was able to reproduce the
issue easily, while on my system it went well for a long time.
2011-10-15 13:29:16 +00:00
Lari Nieminen
ed8dbc9ab4 Fixed Shan Taum's starting gold. 2011-10-15 06:02:17 +00:00
Steven Panek
31a3e569b2 Updated the Old English translation. 2011-10-15 04:39:20 +00:00
Steven Panek
b46538f0e8 Improved a couple of strings in Dark Forecast. 2011-10-15 04:38:34 +00:00
Steven Panek
3773344656 Updated the Old English translation. 2011-10-15 04:31:21 +00:00
Steven Panek
db4277aedb Some improvements for Dark Forecast. 2011-10-14 22:46:32 +00:00
Mark de Wever
62922d1144 Remove a no longer needed work-around for g++-4.7.
The current snapshot of 4.7 compiles fine without the work-around.
2011-10-14 19:33:25 +00:00
Steven Panek
d085cd4a75 Cover the Kana Supplement block. 2011-10-14 17:08:29 +00:00
Steven Panek
d2e5e786d9 Corrected wording. 2011-10-14 16:34:33 +00:00
Steven Panek
553f02f47a Don't break before the characters in the Katakana Phonetic Extensions plane. 2011-10-14 16:30:19 +00:00
Steven Panek
d1ddda11f6 Cover Yi Radicals and Yi Syllables.
The Yi script is lumped with the other CJKV stuff, the characters are
fullwidth, and so forth.
2011-10-14 16:05:29 +00:00
Steven Panek
af3773af49 Cover Katakana Phonetic Extensions too. 2011-10-14 15:03:49 +00:00
Steven Panek
42abf10144 Made an escaped character consistent with the others. 2011-10-14 14:41:27 +00:00
Steven Panek
7070f64d43 Cleansed parts of is_cjk_char.
Cover Hangul Jamo, Hangul Jamo Extended-A, Hangul Jamo Extended-B,
Bopomofo (for realz, this time), and Bopomofo Extended.
2011-10-14 14:36:33 +00:00
Steven Panek
df82e793d4 Killed a period. 2011-10-14 09:40:31 +00:00
Steven Panek
80ce9bc201 Added changelog note about [illuminated_time]. 2011-10-14 09:37:18 +00:00