Commit Graph

47694 Commits

Author SHA1 Message Date
Steven Panek
982bfeeec2 Restored the DSU tip. 2011-10-20 23:32:31 +00:00
Anonymissimus
8d18a0c440 remove lots of void terrain, reduce map size (FR bug #18825) 2011-10-20 23:27:05 +00:00
Anonymissimus
02b6979ecd changelog update 2011-10-20 23:26:31 +00:00
Anonymissimus
b1c42e655f Revert "Disabled "Delay shroud updates"...
...to test if the whiteboard is a good replacement."

by gabba, 2010-08-15T04:17:49Z!gabrielmorin@gmail.com

1. The whiteboard is obviously still way not ready to be a replacement.

2. It has been requested by several users (and by me and Gambit).

3. For real multiplayer, the whiteboard is too complicated in
comparison to delay shroud.

4. We need time and testing before 1.10 to remove possible problems
interfering with this old code which can have been introduced in the
time since it was disabled.
2011-10-20 23:25:43 +00:00
Simon Forsyth
a517fb801f Use sparse forest variants on all hill types, not just those matching season 2011-10-20 21:56:47 +00:00
Simon Forsyth
72e4b75076 Fix definitions for forested hills. Fixes bug #18830 2011-10-20 21:52:24 +00:00
Simon Forsyth
8d6b122a00 Simplify forest terrain handling
All forest now aliased to base,forest (and snow if appropriate)

Best defense, worst movement

mounted move_type has forest defense capped at 30%

-> maintains old behaviour for mounted units over flat terrain

-> mounted units now have 30% defense on forested hills

-> naga myrmidons now have 50% defines on flat forest

-> all other units/terrains appear unaffected

fixes bug #18216
2011-10-19 23:25:24 +00:00
Jérémy Rosen
d706fcb2cd fix bug 18685 and avoid reopening bug 18792 2011-10-19 21:58:08 +00:00
Anonymissimus
00fdec97df fix a devision by zero (bug #18795)
There seem to be more possible cases in this whole algorithm.
2011-10-19 20:01:56 +00:00
Anonymissimus
029798160e Revert "[harm_unit]: added Lua workaround for bug #18795"
I do not want such workarounds to be added. shadowmaster's campaign
was still functional nevertheless. If there's an annoying bug
and nobody has the time or knowledge or energy to fix it then we must
just accept that it lingers around any annoys us.
2011-10-19 20:01:38 +00:00
Elvish_Hunter
9c0c552d4e [harm_unit]: added Lua workaround for bug #18795 2011-10-19 08:33:33 +00:00
Steven Panek
70094c6df4 Moved leader-expendable.png to core; added IS_EXPENDABLE_LEADER. 2011-10-19 00:07:25 +00:00
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