62158 Commits

Author SHA1 Message Date
Elias Pschernig
2cdcae6294 [wmlunits] fix typo 2015-09-08 21:19:42 -04:00
Elias Pschernig
225234b121 [wmlunits: log used memory for pre-pass] 2015-09-08 20:56:14 -04:00
Elias Pschernig
1961c43f16 [wmlunits] clear <config>/data/add-ons
Sometimes if the last run aborted in the wrong moment, add-ons may keep
left overs in there.
2015-09-08 20:15:37 -04:00
ln-zookeeper
30fa10eb29 Updated changelog 2015-09-08 12:27:12 +03:00
ln-zookeeper
632b7f3a63 Defined slow/poison/petrify status sounds (same as hardcoded defaults) 2015-09-08 12:25:22 +03:00
ln-zookeeper
e4ed29c0ce Removed all uses of the now unnecessary SOUND:SLOW and SOUND:POISON 2015-09-08 12:11:12 +03:00
soliton-
85a5c1c9c7 Merge pull request #478 from ln-zookeeper/status_sounds
Fix problems with animation-based status sounds
2015-09-08 10:01:01 +02:00
Ignacio R. Morelle
e131262080 Rephrase a bit of unwieldy Lua that causes issues with my text editor 2015-09-07 20:21:41 -03:00
Ignacio R. Morelle
39033be9d3 Doxygen and other comment formatting 2015-09-07 20:21:40 -03:00
Elvish_Hunter
2e574252cb GUI.pyw: added more tooltips 2015-09-07 20:55:09 +02:00
Elvish_Hunter
814d9d1478 GUI.pyw: allow changing tooltip text at runtime 2015-09-07 20:55:09 +02:00
Elvish_Hunter
3cbbede271 GUI.pyw: use specific tooltip font 2015-09-07 20:55:09 +02:00
Elvish_Hunter
78e03f33f3 wmllint-1.4: removed tabs 2015-09-07 20:55:08 +02:00
mattsc
67f868306e Fast Micro AI: clean up unused debug output 2015-09-07 09:17:45 -07:00
Lari Nieminen
5c2927f52d Moved extra_hit_sounds to a smaller scope 2015-09-07 18:57:51 +03:00
mattsc
5533d5728a Fast Micro AI: separate out attacks by AI leader
In the previous version, the leader would sometimes leave the keep for
truly suicidal attacks. This commit adds an extra layer of analysis to
evaluate whether an attack position is safe enough.

This evaluation is too expensive to be done for all units for the
purpose of this AI, or even to be done for the leader more than once,
so this is separated out into its own candidate action that is only
evaluated once everything else is done.
2015-09-07 08:49:39 -07:00
Celtic Minstrel
cf18825a82 Merge branch 'CelticMinstrel/movetype' 2015-09-06 22:17:19 -04:00
Celtic Minstrel
e046f713ed When patching movetypes, don't let default= override everything 2015-09-06 21:30:47 -04:00
gfgtdf
6c1e64a4e4 attempt to fix assertion failure at connect_engine.cpp:876 2015-09-07 02:06:05 +02:00
gfgtdf
8a70775cb3 attempt to fix mp entry point selection 2015-09-07 01:48:44 +02:00
mattsc
10ee2f65d4 Fast Micro AI: enable support of the default attacks aspect
Attackers and targets can now also be selected through the default
attacks aspect. [filter] and [filter_second] inside the [micro_ai] tag
have priority though, if either of them is given.
2015-09-06 14:12:41 -07:00
mattsc
f06030b0f5 Fast Micro AI: add support for [avoid] tags
This can either be an [avoid] tag inside the [micro_ai] tag itself, or
the [avoid] tag of the default AI (e.g. as defined in the side
definition).  If both are given, the former has priority.
2015-09-06 13:09:20 -07:00
gfgtdf
3f0839b98a Merge pull request #484 from wesnoth/gfgtdf-patch-terrain_loc
remove support for [terrain_graphics][tile]loc=x,y
2015-09-06 21:40:55 +02:00
gfgtdf
252d723dfb remove support for [terrain_graphics][tile]loc=x,y
loc=x,y was previously undocumented so it's unlikeley that someone used it.
loc=4,2 had the same effect as x,y=4,2
2015-09-06 20:23:37 +02:00
Nils Kneuper
53680bf53e updated British English translation 2015-09-05 09:20:43 +02:00
Nils Kneuper
b796bde8df updated Japanese translation 2015-09-05 09:18:17 +02:00
Ignacio R. Morelle
df087a9677 Merge pull request #477 from CelticMinstrel/movetype
Movetype patching
2015-09-04 23:58:15 -03:00
Celtic Minstrel
e6d5562bb9 Update changelog 2015-09-04 21:40:41 -04:00
Celtic Minstrel
a6073b7c5c Tag/attribute name changes 2015-09-04 21:40:27 -04:00
mattsc
c6512ab869 Fast Micro AI: add optional key leader_weight
This is a multiplicative factor determining how much more the AI values
leaders than non-leader units.  The parameter was already included in
the fast_attack_utils code with a default value of 2.  This commit only
makes it configurable from the [micro_ai] tag.
2015-09-04 08:02:49 -07:00
mattsc
4b589ba1a2 Fast Micro AI: add [filter] and [filter_second] tags
These can be used to limit the attackers and attack targets in the same
way as the ‘attacks’ facet does with [filter_own] and [filter_enemy]
for the default AI combat candidate action.
This does not affect the move-to-targets candidate action of the Fast
Micro AI.
2015-09-04 07:41:20 -07:00
Sergey Popov
656f2886af Merge pull request #482 from techtonik/patch-2
SConstruct: Check all SDL libs together
2015-09-04 14:29:26 +03:00
anatoly techtonik
63c355b635 SConstruct: Check all SDL libs together
This speeds up troubleshooting of OGG dependencies
2015-09-03 22:19:45 +03:00
aquileia
fa2003e755 Travis: Switch to Ubuntu 14.04
scons & xvfb aren't preinstalled on the Trusty workers, but gcc 4.8 is.

'sudo: 9000' would be functionally equivalent to 'sudo: required' +
'services: - docker', but Travis' staff seems to prefer the former.
2015-09-03 17:12:01 +02:00
Elvish_Hunter
cb3c5b9c45 GUI.pyw: focus doesn't follow the mouse any more
Done as per shadowm's suggestion.
2015-09-03 10:06:14 +02:00
Charles Dang
ed67f99f69 Cleaned up a few stray semi-transparent pixels on the edge 2015-09-03 18:59:54 +11:00
Charles Dang
282cfe38be Added new default amla icon
The old icon (misc/icon-amla-default.png) remains for compatibility purposes,
but I added a wmllint rule to update the path.

The new image was created with https://openclipart.org/detail/29043/heart, which is
released under the public domain (CC-0).
2015-09-03 18:53:11 +11:00
mattsc
455a50e30b Add Fast Micro AI test scenario 2015-09-02 19:05:38 -07:00
mattsc
334bbf6319 Micro AI test scenario: fix a menu item id
Not that it matters for anything practical in this case, but just for
consistency.
2015-09-02 17:37:00 -07:00
mattsc
3ae127dcb5 Micro AI test scenario: fix broken image path 2015-09-02 17:21:16 -07:00
mattsc
ac3b9e6325 Fast MAI: use the new attack utility functions 2015-09-02 17:05:49 -07:00
mattsc
e098ef180d Fast Micro AI: add new set attack utility functions
These functions are newer and more efficient versions of those in
battle_calcs.lua. They are much faster in many situations.
2015-09-02 17:05:49 -07:00
gfgtdf
a010523969 fix test scenario transition.
as reported by mattsc in irc.
2015-09-03 01:19:24 +02:00
Elvish_Hunter
dce1e7bdc1 GUI.pyw: added tooltips, finally! 2015-09-02 19:52:46 +02:00
Charles Dang
1a606a51b1 Allow [modify_unit] to modify [advancement] 2015-09-03 01:24:14 +11:00
mattsc
1d4bde10f6 Update Xcode project file 2015-09-02 07:19:25 -07:00
Ignacio R. Morelle
b68686eb45 Add include guards 2015-09-01 16:35:59 -03:00
Charles Dang
6c333d8278 Updated cb projectfile for 0abde389dc1a 2015-09-01 22:56:10 +11:00
gfgtdf
1748d78e13 Merge pull request #480 from gfgtdf/quit_confirmation
show confirmation dialog when quitting
2015-09-01 13:43:28 +02:00
Celtic Minstrel
af7fa754ff Support for terrain defense/cost movetype patching 2015-09-01 01:27:46 -04:00