17037 Commits

Author SHA1 Message Date
Elvish_Hunter
fb9151430d CLEAR_FOG and UNCLEAR_FOG retrofitted to use [lift_fog] and [reset_fog].
The Fog Clearer unit is now unused in mainline
2012-04-05 08:59:27 +00:00
Simon Forsyth
818b7e64f1 apply some variable cleanup from UtBS:Eftboren 2012-04-04 22:54:41 +00:00
Simon Forsyth
f706cea122 Use desert palms for forest in first two UtBS scenarios 2012-04-04 21:53:06 +00:00
Nils Kneuper
2dbc7249b2 updated German translation 2012-04-04 20:39:53 +00:00
Iurii Chernyi
d767abd3ed Fixed bug #19599: Engine keeps redundant ai_special information for units.
Patch #3235 by Ayne.
2012-04-04 09:25:21 +00:00
Simon Forsyth
d4db30290b Draw water lillies below swamp grass 2012-04-04 01:05:28 +00:00
Dmitry Kovalenko
bdc8138c3b [[lua AI fixes]]
(1) LuaAI ai.get_avoid() now provides the correct coordinates (not
offset by -1), this reduced some code duplication and code
inconsistency (2) Tweaked ai.attack() of LuaAI to consider weapons are
numbered from 1 and so forth, so that this function is more consistent
to the Lua indexing style
2012-04-03 02:13:15 +00:00
Dmitry Kovalenko
ecf23e8055 Fixed an infinite loop bug
Fixed methods, that provided wrong objects to Lua
2012-04-02 20:51:38 +00:00
Iurii Chernyi
56be266cc9 Power projection improvement: use next turn with proper next-turn ToD...
...if necessary. Patch #3185 by ejls
2012-04-02 18:07:01 +00:00
Lari Nieminen
93a0dca160 Changes to the schedules of Fallenstar Lake and Silverhead Crossing,
...as requested by Doc Paterson.
2012-04-02 13:20:47 +00:00
Simon Forsyth
f632bb2130 give lava overlay in UtBS an id that does not conlfict with core 2012-03-31 23:25:12 +00:00
Simon Forsyth
8f3ed71c48 replace conditional block with direct use of random for unit spawning 2012-03-31 15:18:22 +00:00
Mark de Wever
b5240e1bf9 Rewrite the blending algorithm.
The rewrite only has minor visual differences, ImageMagick's

`composite -compose difference'

shows no visual differences.

The change makes it possible to optimise the code on the ARM Cortex A8
using NEON instructions.
2012-03-31 14:45:23 +00:00
Anonymissimus
915d8af44d Improve conversion algorithm (bug #19287)
Fix a variable leak, a misplaced key and add a fallback
to the existing type in case we cannot find a suitable type to
turn into + a beg to report this. Theoretically we can also
have level 3 units on the enemy side here which aren't taken care
of.
2012-03-31 14:22:31 +00:00
Anonymissimus
2ec0c0124c add missing unit conversion rules (fix for bug #19287)
Turns out that while the cause of the bug is easy,
it was obscured by the AI recruitment which did apparently change
and revealed the bug; and by the AI which does of course not
always make the same decisions what made the problem appear
at random.
2012-03-31 14:21:26 +00:00
Simon Forsyth
2b40ba62f0 add three new bridges
there are some issues preventing the plank bridge from being used
adjacent to walkable areas but it is still useful enough to be worth
adding and it is likely that either the artist or I can resolve these
problems
2012-03-31 02:27:31 +00:00
Iurii Chernyi
0f10db9d92 Fixed bug #19538: Filters matching 0 saved games cause crash.
Patch #3220 by trademark
2012-03-30 15:54:49 +00:00
Elvish_Hunter
e673bf69b2 SoF: updated sighted location code in scenario 3 2012-03-29 19:44:31 +00:00
Anonymissimus
3bbe460a4e wmmlint rule for previous commit
No updates to mainline wml required.
2012-03-29 15:28:34 +00:00
Simon Forsyth
75898197f4 make submerge work on deep water locations with overlays 2012-03-28 21:52:58 +00:00
Iurii Chernyi
94a8e076c6 Add a way to stop the tutorial via a right-click menu,
...instead of getting the answer each turn. Patch #3203 by hankerspace
2012-03-27 22:09:15 +00:00
Anonymissimus
bf700f45bc test cases for previous revision (patch by brilliand) 2012-03-27 19:51:54 +00:00
Anonymissimus
0589aa3633 viewing_side -> side in mainline wml 2012-03-27 19:51:07 +00:00
Anonymissimus
a396df7abe cheap wmllint rule for viewing_side -> side
Global renaming; there is only 1 false positive in my addons
and none in mainline. I hope nobody uses this string as a tag
or variable name.
2012-03-27 19:50:39 +00:00
Anonymissimus
77822bea7d fix some spelling mistakes wmllint complains about
It also spams warnings about the maps which are already converted
to use the [map] child.
2012-03-27 19:49:47 +00:00
Elvish_Hunter
cbbaadba17 Fixed bug #19531: scroll to reinforcement units in HttT - Blackwater Port 2012-03-27 09:26:23 +00:00
Richard Kettering
cdd19d33eb New graphics and animations for the spectre. 2012-03-27 04:16:48 +00:00
Mark de Wever
aa29be755d Added unit tests for blending images.
This test is added to test modifications of the algorithm. It also adds a
programme to create the test images. And the test images to test whether
the output of the algorithm remains the same after changing the algorithm.

loonycyborg can you add this new programme to scons.
2012-03-25 10:06:24 +00:00
Richard Kettering
43584b996b Doubled frame count of skeleton attack anim. 2012-03-25 03:52:19 +00:00
Steven Panek
8a0151705f Updated localized images for French. 2012-03-24 23:35:50 +00:00
Simon Forsyth
f23f3bc18c consolidate the swamp plant images into one macro 2012-03-24 14:39:16 +00:00
Elias Pschernig
ed0a21cb58 [wmlunits] Set extra_defines from [campaign] in addition to the campaign define. 2012-03-23 20:40:37 +00:00
Elias Pschernig
1b4e09bc80 [wmlunits] Ignore hidden units also in the navigation bar. 2012-03-23 20:16:48 +00:00
Simon Forsyth
28b3a95684 extend ice under bridges and catch a missed hill from a later scenario 2012-03-22 23:30:00 +00:00
Simon Forsyth
dbf4dbc495 clean up winter mask rules, fixes bug #19577 2012-03-22 23:20:04 +00:00
Ignacio R. Morelle
3c446092de Add help topic about removing add-ons for the sake of completeness 2012-03-20 22:43:29 +00:00
Ignacio R. Morelle
df5c2f5594 addon/mg: Give the Installing Add-ons topic in the help a matching id 2012-03-20 22:31:59 +00:00
Fabian Müller
33ec8aeb2f Only renaming some things.
Don't watch this commit, it's boring.
2012-03-20 20:29:10 +00:00
Fabian Müller
dad3b55e63 New set of editor brush images by vultraz. 2012-03-20 09:40:17 +00:00
Ignacio R. Morelle
0035a442f3 Replace non-standard Underground ToD schedule picture (125x38)...
...with an upscaled version of the correct size (125x39), provided in
bug #19415

This solution seems sensible for reasons stated in the bug report. I
normally dislike upscaling graphics, but in this case the original is
crappy enough (it even appears to have JPEG artifacts?) and the
difference barely noticeable to the human eye.

Since this kind of changes can apparently break add-ons nowadays, this
probably should _not_ be backported to 1.10.
2012-03-20 08:11:33 +00:00
Ignacio R. Morelle
115b581f7a Add 'Add-ons' help section, dealing with add-on types and usage of the manager
Remaining items to do with this:

  * Add a quick explanation about uninstalling add-ons

  * Review for style/content/helpfulness

  * Implement a Help button in the manager (this somehow breaks
     spectacularly atm, hence not committed)
2012-03-20 02:52:08 +00:00
Lari Nieminen
73856cfec9 Added missing translation marker, as reported by Gallaecio. 2012-03-19 12:31:25 +00:00
Alexander van Gessel
6439916e9f Disable the python wmlxgettext script...
...so people don't spend days trying to figure out why it doesn't do
what it should
2012-03-19 03:30:19 +01:00
Alexander van Gessel
4173462368 Don't count dead sides for the end-game advantage 2012-03-18 02:43:31 +01:00
Elias Pschernig
93a9a3a330 Added wiki output option to wmlunits. 2012-03-16 18:16:47 +00:00
Simon Forsyth
cb744daade more updated grass backgrounds 2012-03-16 17:02:50 +00:00
Jérémy Rosen
fcc5e09153 apply patch 3176 by jamit:
fog does not recover discovered hex until end of turn
2012-03-14 21:35:03 +00:00
Steven Panek
0c6a9f8666 Revised my credits entries. 2012-03-14 12:20:30 +00:00
Elvish_Hunter
f4b5df962e DM: added two conditional notes in scenario 19. Untested. 2012-03-13 10:05:21 +00:00
Elvish_Hunter
b52b619482 Added [show_if] support to [objectives] [note] 2012-03-13 09:31:18 +00:00