23646 Commits

Author SHA1 Message Date
Celtic Minstrel
b1e4b83014 Sort translation team credits by localized language name (closes #1104) 2017-05-22 17:23:04 -04:00
Celtic Minstrel
238d70ee22 Allow grouping credits with [credits_group] (except in [campaign])
The core game credits and localization credits are also now stored
in separate files.
2017-05-22 17:22:12 -04:00
Celtic Minstrel
39dad27260 [modify_side][ai] with ai_algorithm now replaces the AI (fixes #1216) 2017-05-22 14:39:35 -04:00
Severin Glöckner
a278ad4c0a Instead of having the south set of images for the wail animation being upside-down
and letting the engine flip them the image files themselves are now the same like shown ingame.

[skip ci]
2017-05-21 18:01:17 +03:00
Celtic Minstrel
bcb00f787f Tweak a few more L3/L4 unit costs (suggested by The_Gnat) 2017-05-20 13:22:07 -04:00
Celtic Minstrel
3d5528f950 Proper fix for [endlevel] music issue (#1704)
(fixup 238c50)
2017-05-20 13:22:06 -04:00
ln-zookeeper
ec431275ff HttT: Removed old and unused frames 2017-05-19 22:19:33 +03:00
Allefant
ef27f8454b [units.wesnoth.org] prevent possible infinite loop when analyzing units in a broken addon 2017-05-19 13:26:33 -04:00
Celtic Minstrel
872b1215b7 HTTT23: Address translatability issue with countdown (#1135) 2017-05-18 23:06:39 -04:00
Celtic Minstrel
238c175045 Probable fix for [endlevel] music issue (#1704)
In cbd3c2644, a Lua API to victory and defeat music was added, which exposes it as a vector of strings.
However, the [endlevel] implementation passed the comma-separated string directly.
This commit splits the string before passing it to the Lua API.
2017-05-16 01:58:33 -04:00
Celtic Minstrel
72b98ad7e1 Unit Preview Pane: Remove a relic of an older implementation 2017-05-14 10:09:58 -04:00
ln-zookeeper
9b9a720a32 Fixed mountain blend-from-chasm layer problem; should fix issue #1574 2017-05-14 12:02:21 +03:00
Severin Glöckner
1a4cbab08a fixes frames of a few attack icons
[ci skip]
2017-05-14 09:47:19 +11:00
Charles Dang
5cbe50b765 Game Load: improvements to leader stats display 2017-05-14 08:54:42 +11:00
ln-zookeeper
be31769ecf UtBS S3: Fixed a potential speaker issue 2017-05-13 23:56:32 +03:00
ln-zookeeper
6f6cd66a32 EI: Added an elaborate death animation for Mal-Ravanal
Also added brief [delay]s to workaround issue #1617.
2017-05-13 23:02:24 +03:00
Severin Glöckner
ccb2a5bf8d ported wescamp and libgithub to python3 2017-05-14 06:36:19 +11:00
Celtic Minstrel
850dc96a3a Fix objectives with variables (#992)
[objectives] now supports delayed_variable_substitution=yes, which means that any
$variables or [insert_tag] are processed when the objectives are shown, rather than
when they are set.

In addition, if $|variable syntax is used to delay substitution of a specific variable,
the variable will now be substituted when the objectives are shown, rather than
being left unsubstituted.
2017-05-13 13:20:32 -04:00
ln-zookeeper
f7130c1474 UtBS S8: Fixed up the messenger death event a bit 2017-05-13 18:57:45 +03:00
Celtic Minstrel
41d0a6b3d8 Fix #1688 2017-05-12 17:21:38 -04:00
Celtic Minstrel
cbc4af1a20 Add blinking text cursor to focused textbox
Unlike the previous implementation, the blinking cursor now only applies
to the focused (frontmost) window.
2017-05-12 15:34:16 -04:00
Charles Dang
0e7866db2d Possible for fix #1683 2017-05-13 02:32:26 +11:00
Celtic Minstrel
308ad7de09 Improve editor groups interface
- Load group icons from the binary path
  This was already half supported due to moving to GUI2.
- [editor_group] deprecated in favour of [terrain_group]
- Don't force a prefix on the icon path (still forces a suffix though)
- [race]editor_icon allows setting the icons for race groups
- Mark the core [item_group]s as core
2017-05-11 21:51:42 -04:00
Celtic Minstrel
bea0e92c6c Add voice= key to [message] and [story][part]
Resolves #1621
2017-05-11 18:59:15 -04:00
Celtic Minstrel
a5ec607b54 Fix a (probably) rare case when [message]sound might play even if the dialog wasn't shown 2017-05-11 18:10:41 -04:00
Celtic Minstrel
b11371dbfa Lua: Allow helper.set_variable_array and helper.get_variable_array to work on units and sides 2017-05-11 16:00:56 -04:00
Celtic Minstrel
ff16302b9f SotBE AI: Don't assume unit.__cfg contains a "variables" tag 2017-05-11 16:00:55 -04:00
Celtic Minstrel
1ba783959e fixup 0539a68eb 2017-05-11 16:00:52 -04:00
Celtic Minstrel
4b8e37044c Micro AIs: Fix Lua error in AIs that use unit variables 2017-05-11 16:00:51 -04:00
Celtic Minstrel
99693041b1 Add current gold and troops count to Load Game dialog (resolves #4180)
I'll let @vultraz pretty it up a little if he wants.
Note that old saves won't show this info; it'll only show up in new saves.
It might show up for old saves if you clear your cache, though.
2017-05-11 16:00:50 -04:00
Celtic Minstrel
6ea57e78f4 Game Load: Factor out listboxes to reduce overall indentation level 2017-05-11 16:00:49 -04:00
mattsc
24891d85e2 Lua AIs: remove unused library inclusions after distance_between change
Follow-up to 6efc5ae090
2017-05-11 10:22:00 -07:00
Celtic Minstrel
6efc5ae090 Replace helper.distance_between -> wesnoth.map.distance_between (fixes #1686) 2017-05-11 04:14:03 -04:00
Celtic Minstrel
2eea57b27f Fix registration order of on_load events (fixes #1684) 2017-05-10 23:22:20 -04:00
Celtic Minstrel
0ac01c7622 Fix [set_variable][join] not working with translatable strings (fixes #1682) 2017-05-10 18:57:07 -04:00
Celtic Minstrel
0539a68eb4 Migrate ai_helper.LS_random_hex to location_set:random 2017-05-10 17:40:21 -04:00
Celtic Minstrel
f6c04e7dd1 Add functional.lua which implements higher-order functions
This covers all the main higher-order functions included in WFL, except zip.
The two already implemented in ai_helper have been replaced with redirection stubs.
2017-05-10 17:40:20 -04:00
Celtic Minstrel
2f0a6d13e4 Make [animate_unit] without flag an error (fixes #1678) 2017-05-10 17:40:16 -04:00
Celtic Minstrel
a98a9a74db Deprecate helper.distance_between and implement helper.adjacent_tiles in
terms of wesnoth.map.get_adjacent_tiles
2017-05-10 17:40:15 -04:00
Celtic Minstrel
9b635994e1 Add location_set.(of|to)_triples (migrated from ai_helper) 2017-05-10 17:40:14 -04:00
Celtic Minstrel
37f1c490a5 Lua: Use the second argument to error() where appropriate 2017-05-10 17:40:13 -04:00
Matthias Krüger
3ec26df495 multiplayer maps: descriptions: cleanup
don't include mape size in the description since map selection screen already displays map size by itself.
canonicalize "XvsY" and "X vs Y" to "X vs. Y".
work around pango_text::set_markup_helper warnings about unescaped ampersands.
2017-05-10 11:11:51 +11:00
Celtic Minstrel
e945755793 Accidentally committed this 2017-05-08 13:52:31 -04:00
Celtic Minstrel
cbba6b3929 wesnoth.require: Automatically check current directory for packages 2017-05-07 18:54:16 -04:00
Celtic Minstrel
e9674ec8a7 Fix test scenario
I accidentally changed a dofile call when mass-changing require calls
2017-05-07 11:01:59 -04:00
Celtic Minstrel
71ae14e851 Some minor improvements to Lua error messages
- Fix some missing whitespace in Lua log/error messages and add colons
- helper.lua: Improve error messages for config manipulators

It should now give the location of the misused helper call as the error
location, rather than the location where error was called within helper.lua
2017-05-06 17:47:17 -04:00
Elias Pschernig
6a287f22c5 [units.wesnoth.org] catch empty picture names in add-ons 2017-05-06 15:19:43 -04:00
ln-zookeeper
1efa889c3a SotBE S8: Balance changes to make the scenario easier overall 2017-05-06 17:39:19 +03:00
Charles Dang
bf60a0a209 Custom Options Tree: allow 'no mods' label to grow
[ci skip]

Allows it to fill all available space, especially on low resolutions.
2017-05-06 14:20:02 +11:00
Celtic Minstrel
4f3d7507e8 Prevent scrollbar in MP Create 1024x768 (usually)
A scrollbar can still sometimes appear for scenarios that have custom options.

[ci skip]
2017-05-05 23:03:56 -04:00