5759 Commits

Author SHA1 Message Date
Mark de Wever
eb165d1885 Allow better error messages for missing children.
The caller's code still need to be changed but at least gives the option
to create better error messages.
2012-05-20 09:56:17 +00:00
Mark de Wever
018ff27c62 Fixes a GCC warning in a better way.
It replaces 2012-05-19T21:30:22Z!shadowm@wesnoth.org. It also adds a generic warning for unreachable code.
2012-05-20 09:56:10 +00:00
Ignacio R. Morelle
071bd055bd Add changelog entries for the Add-ons help section,
...and update players_changelog

All of the add-on client changes mentioned in the full changelog affect
the UI, so all of them have been copied over.
2012-05-20 08:25:08 +00:00
Ignacio R. Morelle
7d44fc73b5 addon/mg: Update changelog 2012-05-20 08:14:19 +00:00
Mark de Wever
3c66f576d4 Adds helper code to assist in widget placement.
The code is used to experiment with a different approach of the
implementation of a listbox.
2012-05-19 20:06:35 +00:00
Mark de Wever
2d9f94398d Adds code for writing enumerate stream operators.
The code has been copy-pasted from another project I've been working on, with
some minor adaptions to compile with Wesnoth:

- Removed dependency on C++11 and use the support in boost instead.

- Changed the error reporting to use the Wesnoth code.
2012-05-19 20:02:59 +00:00
Mark de Wever
cd5bc7f11a Added FAIL and FAIL_WITH_DEV_MESSAGE macros.
These macros allow to throw an wml_exception without any condition. This
can be used when a code path is reached that should be unreachable with
valid WML.
2012-05-19 19:35:44 +00:00
Elvish_Hunter
a129e14874 [find_path]: fixed this_unit not being restored in certain situations 2012-05-19 08:49:45 +00:00
Mark de Wever
b734f7bf0e Made the id for a tooltip and helptip mandatory.
The change was already planned for 1.9.7.
2012-05-19 08:46:12 +00:00
Elvish_Hunter
a45f9381b9 SotBE: fixed two variable checks in Back Home. Fixes bug #19686 2012-05-19 08:39:46 +00:00
Elvish_Hunter
691bbbed8b SotBE::8: Kapou'e talks differently if he kills the first Elf;
...also, the messages can be translated depending on the Elf's
gender. Fixes bug #19684
2012-05-19 08:34:17 +00:00
Alexander van Gessel
4d0e232a03 Revert "Made turn refresh (healing, poison, etc.) occur...
...on first turn of game"

This reverts commit 2012-04-24T02:55:45Z!brilliand@gmail.com.
2012-05-18 22:45:50 +01:00
Anonymissimus
179190bdc1 changelogs update 2012-05-17 20:07:16 +00:00
Mark de Wever
c560e29d50 Fixes has_widget for grids.
The function now searches recursively finding nested widgets.
2012-05-13 13:33:33 +00:00
Mark de Wever
78234a5c08 Replace tabs with four spaces. 2012-05-13 13:33:30 +00:00
J. Tyne
720348a01e Always call unhighlight_reach() before moving.
(It was not called before moving in a move & attack.)
2012-05-12 17:06:13 +00:00
J. Tyne
a72b8c952b Stop suppressing shroud data from the inspection window.
FR / bug #19623
2012-05-12 16:28:46 +00:00
Elvish_Hunter
d3fee6ae1a UtBS: changed Human Commander's movetype to smallfoot 2012-05-08 19:36:47 +00:00
J. Tyne
6fdd067c7e New image path function: ~ROTATE().
(This only works for multiples of 90 degrees.)
2012-05-06 22:06:46 +00:00
Mark de Wever
90f4640884 Fixes an error when reading `empty' cache files.
It uses the basic idea of 2008-12-27T17:26:06Z!kailoran@gmail.com, but the test added there
doesn't seem to catch all cases. Fixes bug #16544.
2012-05-06 12:03:30 +00:00
Jon Daniel
981e2227fa update changelog 2012-05-04 17:49:08 +00:00
Ignacio R. Morelle
b071e73757 Allow the race attribute in SUFs to interpret a comma-separated list...
...(as an inline OR shorthand) like type, id and side already do
2012-05-04 06:09:04 +00:00
Jon Daniel
aa4fe8bbcd Update changelog 2012-05-03 03:00:44 +00:00
Alexander van Gessel
c9a5c32bb4 Rename [object]duration=level to [object]duration=scenario 2012-05-01 22:13:52 +01:00
Ignacio R. Morelle
5bf73d68b5 help: Add more elaborate descriptions for...
...the Units, Abilities and Weapon Specials sections (bug #13914)

The intention is to reduce confusion when these sections are initially
empty for a fresh configuration. The discovery system is now hinted at
in these descriptions.
2012-05-01 20:47:01 +00:00
Silas Brill
bdd8c38703 Fixed a typo in changelog 2012-04-30 22:03:31 +00:00
Silas Brill
f806b61e80 Applied patch #1381: Configurable village support
This differs from the original patch in that the minimum village
support for multiplayer is 0, not 1.
2012-04-30 21:52:38 +00:00
Mark de Wever
7efcde580f Escape the pipe-symbol in the wiki uploader.
Fixes the display off terrains with a pipe-symbol in the wiki.

Fixes bug #19678.
2012-04-30 20:29:52 +00:00
Steven Panek
9d440b00c3 Added missing colons; removed gratuitous space before colons... 2012-04-30 19:59:56 +00:00
Steven Panek
2caea903b0 Fixed bug #19677. 2012-04-30 19:49:59 +00:00
Mark de Wever
73e640b6d3 Adds character limit width constrain for a text.
The number of characters per line can now be limited for a text object.
The limit is an approximation since the character width for a true type
font is not fixed. When this constrain is used, the text should also be
allowed to wrap.
2012-04-30 19:37:20 +00:00
Fabian Müller
b6597782ee Support for vision= in [unit] and [unit_type].
If present it's used instead of the movement to calculate the sight of the unit.

Support for [vision_costs] in [movement_type].

If present it's used for the costs when calculationg the sight of the unit.
2012-04-30 18:03:48 +00:00
Ignacio R. Morelle
809c0e23ed Fix some inconsistent changelog indentation 2012-04-30 09:12:00 +00:00
Silas Brill
70b8ecd0a6 Ensure that multiple messages displayed simultaneously will not overlap
It's possible (at least) for the ambush message and the sighted
message to appear simultaneously (i.e. sighted an ally before being
ambushed).  The "Failed teleport!" message might also be able to occur
with the sighted message.
2012-04-28 08:31:41 +00:00
Ignacio R. Morelle
0a6c8813ba gui2/tnetwork_transmission: Fixed untranslatable Cancel button label
(bug #19659)
2012-04-27 07:26:28 +00:00
Elvish_Hunter
48c5bc34c9 DW and UtBS: updated Stun special to use [object] duration=turn 2012-04-26 08:02:37 +00:00
Mark de Wever
8e49489784 Allow breakpoints by raising a SIGTRAP.
This allows breakpoints while testing the Pandora.
2012-04-25 19:28:39 +00:00
Silas Brill
432ba3cfa8 Moved changelog entry for 2012-04-25T08:22:33Z!brilliand@gmail.com 2012-04-25 08:30:48 +00:00
Silas Brill
62c894830f In HttT: Cliffs of Thoria...
...give the injured sergeant shared vision when he is discovered by
the player

Fix for bug #19517
2012-04-25 08:22:33 +00:00
Silas Brill
1094e80f73 In a replay, only call new_turn() for units on the side about to move
Fix for bug #19658
2012-04-25 04:20:12 +00:00
Silas Brill
09f66aa14f Added changelog entries for 2012-04-24T02:55:45Z!brilliand@gmail.com and 2012-04-24T03:04:06Z!brilliand@gmail.com 2012-04-24 03:30:22 +00:00
Gabriel Morin
d7e8cd1c93 Changelog entries for bugs fixed as side-effects of my recent fixes. 2012-04-23 04:16:28 +00:00
Steven Panek
fe956e1415 Updated the changelogs. 2012-04-23 00:16:16 +00:00
Gabriel Morin
33af8de754 Reverted 2012-04-22T13:55:26Z!koraq@xs4all.nl and commited my own fix for bug #19626 2012-04-22 23:01:46 +00:00
Mark de Wever
93605b82ad Partly fixed segfaults on window resize
This partly fixes bug #19626 and applies patch #3248.
2012-04-22 13:55:26 +00:00
Elvish_Hunter
993861aff4 Pushed LOOT macro from LoW, TRoW and THoT in core, file utils.cfg.
wmlindent also reindented other two macro files
2012-04-22 09:12:48 +00:00
Elvish_Hunter
006f6d2f33 Added IS_LAST_SCENARIO to all final campaign scenarios 2012-04-22 08:46:46 +00:00
Simon Forsyth
811fc5f961 all these changes to UtBS deserve a changlog update 2012-04-13 01:27:42 +00:00
Elvish_Hunter
6bfaa5ef88 Lua: added helper.round function 2012-04-12 10:12:05 +00:00
Silas Brill
8418f05e8c Apply patch #3210: Add [object]duration=turn 2012-04-12 08:09:01 +00:00