46739 Commits

Author SHA1 Message Date
Steven Panek
167cf73ef0 Tabs to spaces. 2011-08-12 15:50:32 +00:00
Steven Panek
7827830d07 Tabs to spaces. 2011-08-12 15:46:45 +00:00
Steven Panek
5b5c38f7ba Made the changelog entry for my path more accurate. 2011-08-12 15:45:16 +00:00
Elvish_Hunter
4d0e818dd5 [harm_unit] now always uses wesnoth.float_label to display the damage,
to avoid that an incorrect weapon filter may prevent displaying said damage
2011-08-12 10:08:26 +00:00
Elvish_Hunter
4cda4dcefb UtBS: Desert Shydes and Stars now have 30% defense on void 2011-08-12 10:02:23 +00:00
Elvish_Hunter
392aa70a00 UtBS: Fixed Naga Sentinel gaining AMLA after 32 XP 2011-08-12 09:58:44 +00:00
Lari Nieminen
4f6a3fa76d Fixed a broken event name. 2011-08-12 09:42:17 +00:00
Timotei Dolean
f3efd5e259 eclipse plugin: Remove our implementation of toggling the...
...xtext nature and use the already existing one in the
org.eclipse.xtext.builder plugin
2011-08-12 07:59:12 +00:00
Timotei Dolean
0137b18c2f eclipse plugin: Move many of the constants to the classes they belong to 2011-08-12 07:59:00 +00:00
Thonsew
efe7312fe1 [[unit_map improvements]]
1. Fix for bug #18488, by recovering invalidated unit_map iterators as
pre Crab's suggestion

2. Added comment on best practice for unit_map usage
2011-08-12 07:11:06 +00:00
Steven Panek
bcbb34c0da Added tracking variable for the number of troops acquired;...
...simplifies the [show_if] for researching warfare; fixes bug #14822.
2011-08-12 06:04:33 +00:00
Steven Panek
2ed505497e Cleansed ANL of excessive macro use, expanded tabs,
...touched up a couple of strings; made stuff consistent.
2011-08-12 04:56:58 +00:00
Anonymissimus
6e714791d2 add the new type to the known ones when applying such a modification
(fix for bug #16165)
2011-08-12 00:06:29 +00:00
Anonymissimus
d8f8057477 check whether type given by type= exists in [effect]apply_to=type
(fix for bug #18489)
2011-08-12 00:06:13 +00:00
Anonymissimus
24cb062ce3 added debug dialogs from the WLP to the test scenario
(depending on whether one has that addon)
2011-08-12 00:05:33 +00:00
Iurii Chernyi
ecc1782c03 Fixed bug #17150: fix naming conflict with OpenBSD macro by renaming 2011-08-11 23:30:38 +00:00
Iurii Chernyi
bcf714e551 Fixed bug #17780: allow object to 'increase' damage to 0 2011-08-11 22:44:22 +00:00
Steven Panek
12f41edfab Set svn:eol-style. 2011-08-11 21:55:53 +00:00
Steven Panek
241dadc8f0 Set svn:eol-style; ran dos2unix. 2011-08-11 21:46:54 +00:00
Iurii Chernyi
1f667d3bf8 Fix bug #18122:
AI leaders set to defensive will now follow human-set leader goals
anyway, even to the death.
2011-08-11 21:36:17 +00:00
Sytyi Nick
ba0345781f Improved error printing 2011-08-11 21:08:37 +00:00
Iurii Chernyi
c1e5d4bb55 improve 2011-08-11T19:51:43Z!thonsew@yahoo.com by adding a workaround...
...to deal with :unit advances=2 , as well. Also, add a :unit fail=now
command as a testcase for iterator stability guarantee, violation of
which is the real cause behind bug #18488
2011-08-11 20:49:51 +00:00
Mark de Wever
bd354685df Fix an invalid key.
Found by Sytyi's validation tool.
2011-08-11 19:55:18 +00:00
Mark de Wever
251ce7207d Fix an invalid key.
Found by Sytyi's validation tool.
2011-08-11 19:55:14 +00:00
Thonsew
a9cca78aa1 Fix for bug #18488...
...unit_map iterator not updated when changed in menu_events.cpp
2011-08-11 19:51:43 +00:00
Mark de Wever
d007c9aaa3 Implement chat log again.
Applies patch #2892 and fixes bug #7254.
2011-08-11 19:37:25 +00:00
Mark de Wever
9e7c002c76 Updated files to bumped Boost requirements.
Updated INSTALL and cmake files. Omitted scons since some parts refer to
versions others don't and the version mentioned differs as well.
2011-08-11 19:37:19 +00:00
Sytyi Nick
c59fefa97a GUI WML markup. Initial work. Still some errors while validation. 2011-08-11 19:04:06 +00:00
Thonsew
ec6da4b94e [[unit_map improvements]]
1. Fixed copy operator bug, failure to check if RHS already equals LHS

2. Added std::pair<iterator, bool> return types to allow faster
moving, insertion etc.

3. Added extensive comments.

4. Fixed some const correctness
2011-08-11 18:36:06 +00:00
Sytyi Nick
8487b2044b Fixed bug when links&tags of super tag overrid links of tag,
...dropping special context-based info.
2011-08-11 17:54:20 +00:00
Derek Hoagland
7da50438ee Moved PLAYER_GOLD_04 and MULTIPLAYER_GOLD_04...
...into utils/low-macros.cfg so that all LoW scenarios have access to them.
2011-08-11 14:38:43 +00:00
Fabian Müller
af8fb48ebe LoW::17+22: Fixed a reference to a util wml file. 2011-08-11 13:33:49 +00:00
Fabian Müller
284320f7b6 LoW more scenario file movement. 2011-08-11 13:09:59 +00:00
Fabian Müller
c2b5832b41 LoW: _main.cfg file for the scenario folder. 2011-08-11 12:58:45 +00:00
Steven Panek
59a7e583ae Updated the British English translation. 2011-08-11 12:23:08 +00:00
Fabian Müller
faf7bc4f4a LoW: Grouped scenarios into chapters at file system level. 2011-08-11 12:17:16 +00:00
Iurii Chernyi
d1a25e542f Fixed bug #18356: AI leaders now won't move to avoided keeps.
Also, bumped up leader_aggression in EI:13
2011-08-11 02:34:48 +00:00
Iurii Chernyi
87e3854d08 Fixed bug #18057: AI leaders should now attack when they should.
The problem applied to AI leaders with two attacks, one of them ranged
and another melee, such as Orc Warlord, vs melee-strong ranged-weak
opponents (and reverse, ranged-strong melee-weak leaders vs
ranged-strong melee-weak opponens). AI selected the weapon using
default aggression, so it selected a weapon most damaging to both
combatans, vs a 'safe' weapon. but then, when it rated the attack
using leader_aggression, which is lower (default is 0.4), it thought
that the attack is too risky to take. now AI takes proper aggression
into account, so it'll take 'safe' attacks if possible. Thanks a good
testcase.
2011-08-11 01:43:38 +00:00
Iurii Chernyi
bc2a723a8a Fixed bug #18098: now recruits and recalls capture village...
...if recruited or recalled on village+castle hex
2011-08-11 00:28:55 +00:00
Anonymissimus
b6724a2053 emit a warning when attempting to advance a unit...
...when unstoring to the recall list (fix for bug #17023)
2011-08-10 23:00:30 +00:00
Anonymissimus
69ba1011d6 cb projectfile update 2011-08-10 23:00:14 +00:00
Anonymissimus
34662817ce MSVC projectfile update 2011-08-10 22:59:55 +00:00
Sytyi Nick
df47085f5a Forgot to change the log. 2011-08-10 22:23:24 +00:00
Sytyi Nick
a010f9fc5c Initial realization of validation.
No changes to CMakeLists yet, need to talk with mordante about
priniting error messages.
2011-08-10 22:13:18 +00:00
Sytyi Nick
c39a96c3e5 Updated annotation regex 2011-08-10 21:54:24 +00:00
Iurii Chernyi
aee07ea234 add note to changelog that bug #18101 was fixed
(in the patch applied in previous commit)
2011-08-10 21:50:44 +00:00
Iurii Chernyi
8aa705a9da Applied patch #2846 by thonsew: let AI forget about invisible enemy...
...units in villages during get_villages phase
2011-08-10 21:47:31 +00:00
Iurii Chernyi
41cc607f65 fixed bug #16117: added a way to supress E_NOT_REACHED_DESTINATION...
...to lua api via an optional boolean parameter -
ai.move_full(from,to_x,to_y,true) - this allows to steal units in
custom moveto events without the AI complaining that something is
wrong
2011-08-10 21:35:16 +00:00
Ignacio R. Morelle
b5db06e075 Set default color cursors choice to "no", effectively reverting 2010-06-03T16:25:38Z!alinkmaze@gmail.com
Color cursors still feel sluggish on my laptops, especially with all the
default map and unit animations enabled, and don't match the actual
mouse motion on my platform with other applications or color cursors
disabled as closely as they should. See also bug #18112.
2011-08-10 20:35:54 +00:00
Timotei Dolean
61529a61bb eclipse plugin: Polish a bit the path guessing routine 2011-08-10 19:55:11 +00:00