49655 Commits

Author SHA1 Message Date
Mark de Wever
a85b712e2a Add a new pane widget.
The code is used to experiment with a different approach of the
implementation of a listbox.
2012-04-28 18:08:44 +00:00
Silas Brill
6cf52d9e1e Removed some trailing whitespace 2012-04-28 14:52:09 +00:00
J. Tyne
bbb6631f79 Functions to rotate an image 90- or 180- degrees.
(Still need an Image Path Function to make these accessible from WML.)
2012-04-28 14:17:07 +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
Mark de Wever
2e20ecba01 Restore the gui2 experimental addon dialog.
Somebody removed this feature, no idea why.
2012-04-28 07:15:19 +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
Ignacio R. Morelle
3dfad07694 Various changes to the Dismiss Unit prompt
* Gave the dialog a title

 * Hardcoded trailing blanks previous found in translatable strings

 * Removed 'excited' exclamation marks from UI strings

 * Removed the silly "My lord" at the start; merits no further
   explanation
2012-04-26 05:28:34 +00:00
Mark de Wever
1c0e203a79 Remove some unused functions. 2012-04-25 19:29:44 +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
Fabian Müller
ed97c6954c Made [base_unit] work recursively. 2012-04-25 00:03:15 +00:00
Simon Forsyth
3b4d041f19 remove reference to Moradin
(is god of Dwarves in D&D Forgotten Realms so possibly copyright issue)
2012-04-24 04:08:38 +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
Silas Brill
c15140b06b Changed uses of "ai turn" to "side # turn" in Dead Water
("[event]name=ai turn" breaks replays)
2012-04-24 03:04:06 +00:00
Silas Brill
62d852957c Made turn refresh (healing, poison, etc.) occur on first turn of game
Fix for bug #19656
2012-04-24 02:55:45 +00:00
Gabriel Morin
2e84409933 Improve exception safety in the "execute all actions" whiteboard mechanism.
May help with bug #19622.
2012-04-23 05:19:10 +00:00
Gabriel Morin
efcc5e4d48 Add clear() method to my utility finalizer class. 2012-04-23 05:16:55 +00:00
Gabriel Morin
75650a7ee7 Add an assert. 2012-04-23 04:52:49 +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
Steven Panek
c2e8b5caad Rehydrate everyone quietly upon victory; fixes bug #19655. 2012-04-23 00:07:54 +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
J. Tyne
36996747b5 Don't count clearing border hexes of fog/shroud as "really" clearing anything. 2012-04-22 19:06:20 +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
Mark de Wever
d1c76499d3 Pass parameter by const ref instead of const value.
Issue found by cppcheck.
2012-04-22 13:52:28 +00:00
Mark de Wever
59bcbff885 Remove duplicate condition in a logical or.
Issue found by cppcheck.
2012-04-22 13:52:23 +00:00
Mark de Wever
8847fead0b Pass parameter by const value instead of const ref.
It makes no sense for an integer value. (Also gcc's 4.8 snapshot was
confused and thought it was a 0 pointer.)
2012-04-22 13:52:14 +00:00
Mark de Wever
d739da7125 Replace come 0 pointers with NULL. 2012-04-22 13:46:46 +00:00
Nils Kneuper
f00ae09b1f updated French translation 2012-04-22 13:34:02 +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
Gabriel Morin
f32b5d0e08 Remove an admittedly weird use of std::set::swap()...
...which was causing gcc to freak out.
2012-04-22 05:04:13 +00:00
Gabriel Morin
83ea918f1f Fix units planning attack-moves not being ghosted at all.
Also store the list of units that are ghosted in
wb::manager::pre_draw() to be able to unghost them afterwards even if
they lose their planned action before wb::manager::post_draw() gets
called.

Improves the fix for bug #19619, and fixes bug #19621.
2012-04-22 04:28:48 +00:00
Simon Forsyth
aa8fec2ded First pass at refactoring UtBS scenario 6b 2012-04-22 02:56:28 +00:00
J. Tyne
28417b4dd4 Update some comments since we no longer refog. 2012-04-22 00:24:53 +00:00
J. Tyne
7002e6f32b Modifications to clear_shroud_unit() (a file-private function).
Adding a unit parameter eliminates the need for a couple of temp units
and movement resetters.

Also optimizing some code.
2012-04-21 23:44:15 +00:00
Simon Forsyth
919d4919a9 Initial pass on refactoring Scenario 6a 2012-04-21 21:14:56 +00:00
Simon Forsyth
4c5a59496c Remove rule with no effect 2012-04-21 15:01:39 +00:00
Simon Forsyth
6f27d97a45 Improve appearance of cave path transitions 2012-04-21 12:19:16 +00:00
Alexander van Gessel
5df94b53d7 Add testcase for bug #19165 2012-04-20 23:34:34 +01:00
Nils Kneuper
0d6020bd07 updated Galician and Portuguese (Brazil) translation 2012-04-20 19:04:31 +00:00
Dmitry Kovalenko
e810953bea Removed an unneeded function introduced in 2012-04-16T20:49:02Z!nephro.wes@gmail.com 2012-04-17 19:30:15 +00:00
Dmitry Kovalenko
f54f2b0e75 LuaAI:
(1) added wesnoth.is_debug_mode();

(2) disabled the LuaAI debug library usage for non-debug launch modes
2012-04-16 20:49:02 +00:00
Alexander van Gessel
04f9899eb6 Say *which* add-on is blocked by untracked files 2012-04-16 14:04:21 +01:00
Alexander van Gessel
dceff02c33 Make libgithub's readonly cleanup a bit more potent 2012-04-16 13:57:23 +01:00
Dmitry Kovalenko
ca9f107ee1 LuaAI: added a new file 2012-04-15 20:27:27 +00:00
Dmitry Kovalenko
8f99e3f995 LuaAI: created some debug methods
ai.debug will be registered by stdlib on demand
2012-04-15 16:33:36 +00:00