Commit Graph

47432 Commits

Author SHA1 Message Date
Anonymissimus
36f8d1db2e changelog update 2011-10-18 23:19:58 +00:00
Anonymissimus
c26f9ac9ed fix $this_unit being broken for recall list units (bug #18821)
Remove duplicate storing, which was clearing the already stored
unit from the gamestate variables again. Silene forgot to delete
the line in 2010-08-06T17:31:14Z!guillaume.melquiond@gmail.com.
2011-10-18 23:19:33 +00:00
Anonymissimus
2ec11831aa made $this_unit in [unit][filter_recall] work (bug #18168) 2011-10-18 23:19:08 +00:00
Anonymissimus
34d9b749d7 introduce a member variable in class unit holding filter_recall information
Simplifies code and is automatically kept upon unit advancement.
2011-10-18 23:18:48 +00:00
Anonymissimus
d71d48f510 fix variable substitution on [unit][event] and [unit][filter_recall]
The unparsed vconfig from the [unit] tag is passed to the unit
constructor and filter_recall and event tags are taken from it.
[side][unit] did already no variable substitution, wesnoth.put_unit does
it only if passed a vconfig userdata to describe the unit.
2011-10-18 23:18:05 +00:00
Nils Kneuper
b33264948b updated Slovak translation 2011-10-18 19:37:05 +00:00
Ignacio R. Morelle
9e4b0f19a1 Fixed "error parsing image modifications" message...
...caused by subsequent image mod additions using the add attribute in
[effect] apply_to=image_mod
2011-10-18 01:03:25 +00:00
Ignacio R. Morelle
e10a0e9082 gui2: Set maximum dimensions for the OoS notification dialog...
...so it looks better on wide screens
2011-10-18 00:42:29 +00:00
Ignacio R. Morelle
077803dfa8 Give test scenario saves a proper internationalized...
...(and properly capitalized) campaign type label
2011-10-18 00:32:05 +00:00
Ignacio R. Morelle
a7b8a743f0 Fix inconsistent capitalization of "replay" in the Load Game dialog sidebar 2011-10-18 00:27:23 +00:00
Steven Panek
a2c80dc0c9 Updated the Latin translation. 2011-10-17 22:14:00 +00:00
Steven Panek
701605354d Updated the British English translation. 2011-10-17 22:01:36 +00:00
Steven Panek
dd13067cab Updated the British English translation. 2011-10-17 21:56:59 +00:00
Nils Kneuper
315748d518 pot-update
regenerated doc files
2011-10-17 21:34:09 +00:00
Ignacio R. Morelle
b9d2a83bdf Missing capitalization bit 2011-10-17 20:59:52 +00:00
Ignacio R. Morelle
1b7da8b49d Use Title Case wherever appropriate in Advanced Preferences 2011-10-17 20:19:12 +00:00
Ignacio R. Morelle
d99194e75e Use Title Case wherever appropriate in Preferences 2011-10-17 20:18:54 +00:00
Ignacio R. Morelle
094b8b75da Some label style changes in Advanced Preferences
* Rewrote the Local ToD Lighting option tooltip and label

* Removed stops at the end of tooltips (see
  http://wiki.wesnoth.org/UI_Style_Guide#Tooltips)
2011-10-17 20:11:55 +00:00
Anonymissimus
2a50a6fcf2 changelog update 2011-10-17 17:22:14 +00:00
Anonymissimus
919d3a9333 remove unit::set_game_context
since it's no longer the only place where game context is set
2011-10-17 17:21:55 +00:00
Anonymissimus
5a5606e011 use empty() instead of comparing with an empty string 2011-10-17 17:21:38 +00:00
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