23273 Commits

Author SHA1 Message Date
Celtic Minstrel
72f9a4f270 Fix [heal_unit] not defaulting to amount=full (GNA25586) 2017-03-12 15:18:57 -04:00
Celtic Minstrel
070e4b6f8c Address missing component error in [modify_ai] (GNA25558) 2017-03-12 15:15:37 -04:00
Celtic Minstrel
d84a52dc45 Fix incorrect API table name in [animate_unit] (GNA25550) 2017-03-12 14:49:52 -04:00
Charles Dang
441b0f7691 GUI2: made new toggle panel selection style a separate definition (needs deployment)
The new style isn't appropriate in every context. This temporarily makes the old style default again.
2017-03-13 05:27:49 +11:00
Charles Dang
faaa412dc5 Tweaked standard "gold" color to give it slightly more contrast 2017-03-13 01:50:33 +11:00
Charles Dang
d5a3878e8e Fixed slight button overlap in replay controls 2017-03-12 17:07:36 +11:00
Charles Dang
7ed68f2e42 GUI2: experimental new design for toggle panel selected/focused states 2017-03-12 12:17:31 +11:00
ln-zookeeper
1c93e10451 Fixed the fake map border not appearing as black on the minimap 2017-03-11 23:52:57 +02:00
ln-zookeeper
781276709d Moves drawing of map borders to WML and improves the fake map border
This makes both the standard map border as well as the fake map border terrain be drawn using the same WML rules, which allows them to connect seamlessly with each other.

A dummy IPF ~NO_TOD_SHIFT() is added and used as an easy way to prevent the ToD color-shifting of the border images. This can and probably should be implemented differently in the future, but for now it's a very simple and effective workaround.

This does remove themability of the map border, but that feature is currently unused (even in UMC) and it can be re-implemented differently if the feature is needed. There is also other cleanup still needed regarding themes; the off-map background still remains themable, and the WML for specifying the border tiles still remains in the theme .cfg files.

The call to display::draw_border() which was used to draw the hard-coded map borders is now commented out but not yet removed.
2017-03-11 20:27:08 +02:00
Jyrki Vesterinen
0d6f7de167 Add-on manager: add an update button to the main panel 2017-03-11 19:12:37 +02:00
Charles Dang
664392728f Fixup comment in 4d62f42 because apparently I cannot English 2017-03-11 14:54:59 +11:00
Charles Dang
4d62f42817 Reorder default color list to match the tag order in core/team-colors.cfg
This fixes the underlying cause of bug# 25462. The index disparity causes incorrect results if any index
from this list was used for coloring.
2017-03-11 14:47:45 +11:00
Celtic Minstrel
df0a665571 Fix wrong function name in [modify_side] implementation 2017-03-10 16:15:40 -05:00
Celtic Minstrel
6fe8e65502 another fixup 6de1c9441f25
Missed a usage of the potentially-nil value
2017-03-10 16:13:29 -05:00
ln-zookeeper
23662cb07c Removed editor-specific border fade images which are no longer used 2017-03-10 16:34:31 +02:00
Severin Glöckner
0d5db80e5b Tutorial adjustments:
Do not show traits in the wiki for Li'sar and Konrad, since they can't get them.
Li'sars new sprite seems to use rather a sword than a saber.
Copied defense animation for Li'sar from HttT.
Changed lua due to deprecation warning.

[ci skip]
2017-03-11 00:00:53 +11:00
Charles Dang
81504c8da3 Addon Manager: mark all relevant strings as translatable
[ci_skip]
2017-03-10 20:43:57 +11:00
Charles Dang
93eb07ad8b Addon Manager/Addon List: center addon icon in available space 2017-03-10 18:07:39 +11:00
Celtic Minstrel
6de1c9441f Fix some [modify_ai] isses (addresses GNA25558)
As far as I can tell, the most likely cause of the bug was that several
cases of [modify_ai]action=add were called with a path that lacked the final
empty braces at the end of the path.

This commit makes both the tag and the underlying Lua API calls explicitly
handle this case as if the final empty braces were, in fact, present.
2017-03-10 00:12:11 -05:00
jostephd
9cfe76253e HttT: don't kill Gryphons in the recall list
The player can't have recruited Gryphons yet, but may have summoned them using `:create'.  Don't kill any such Gryphons, only the one added by the event.
2017-03-09 23:40:34 +02:00
Charles Dang
790f88f39f Addon Manager: implement main panel publish/delete buttons 2017-03-09 22:06:42 +11:00
Charles Dang
637642f510 Added definitions for Addon Manager publish/delete buttons 2017-03-09 17:24:00 +11:00
Charles Dang
9d579ed6ba Removed hard-drawn zoom slider grove from minimap panel image 2017-03-09 17:23:38 +11:00
Celtic Minstrel
7488d6094c Fix error in [heal_unit] (GNA25578)
The helper.get_child function was being called incorrectly.
2017-03-08 21:05:27 -05:00
Severin Glöckner
c0a2812829 Moved {SOUND:POISON} and {SOUND:SLOW} to deprecated-utils
These sounds are played now by default.

[ci skip]
2017-03-09 01:51:27 +02:00
Charles Dang
c912f7e7e7 Removed zoom slider code
This slider hasn't worked in ages, and we're planning to remove it anyway.

The slider "groove" image remains since it's hard drawn in the background image file.
2017-03-07 21:05:25 +11:00
Celtic Minstrel
ddce21f9d0 The fill tool is not evil! 2017-03-06 20:32:06 -05:00
Charles Dang
4a2711ad42 Addon Manager: temporarily disable background until I get a better image 2017-03-06 17:00:46 +11:00
Hironori Fujimoto
168e514144 help(editor): fix duplication of text attribute 2017-03-04 16:58:20 +11:00
sigurdfdragon
9a6663f3ec MP Aethermaw: Move message info into objectives notes 2017-03-03 01:41:03 +02:00
Jyrki Vesterinen
0fe2fd4c00 Fix the modify_ai_change_default_facet unit test
The test changes the default facet, which takes effect only if no other
facet takes priority. Thus, in turns 7 and 8, the test should expect attack
depth of 7, not 8.

Thanks to @CelticMinstrel for help.
2017-03-02 19:44:50 +02:00
Severin Glöckner
a3c2f027c4 changed texdomain for cleaver in legend of wesmere
[ci skip]
2017-03-01 10:41:02 +02:00
Charles Dang
d89730410b Improve ensure_config error messages 2017-03-01 11:58:33 +11:00
Celtic Minstrel
80cdac5b89 fixup! Improve error message when Lua config helper functions are not passed a config as the first argument 2017-02-28 19:15:57 -05:00
Celtic Minstrel
8319fee1f8 Improve error message when Lua config helper functions are not passed a config as the first argument 2017-02-28 19:03:41 -05:00
Celtic Minstrel
e107c52df4 Fix improper child_range call in [animate_unit] 2017-02-28 18:55:59 -05:00
Charles Dang
097867429b Addons Manager: allow installing addons on list row double click (bug #25547) 2017-03-01 09:13:54 +11:00
Celtic Minstrel
b37d7233d5 [animate_unit] now defaults to hits=yes if missing 2017-02-28 16:21:16 -05:00
Charles Dang
f52d6499dc Unit Preview Pane: fixup e2065867a. We only want the default dimensions for the default definition 2017-03-01 08:09:26 +11:00
Celtic Minstrel
4e7a2072f0 Fix a unit test still using experimental syntax 2017-02-28 14:11:45 -05:00
Charles Dang
b3830b9b09 SotA: use the mainline editor terrain group icon 2017-02-28 18:51:34 +11:00
Celtic Minstrel
5cd756f1b0 fixup! Accept [place_shroud]/[remove_shroud] with just a side key 2017-02-28 01:15:24 -05:00
Celtic Minstrel
39d31219e5 Accept [place_shroud]/[remove_shroud] with just a side key 2017-02-28 00:45:34 -05:00
Charles Dang
42b53e6953 MP/Swamp of Dread: fixed incorrect case in map path (bug #25546)
Doesn't affect all OSes, but still a problem.
2017-02-28 16:12:26 +11:00
sigurdfdragon
05bc654e76 Fix a Lua error in [modify_side] 2017-02-28 12:29:18 +11:00
Celtic Minstrel
aa421ef698 Fix a Lua error in [animate_unit] 2017-02-27 13:12:21 -05:00
ln-zookeeper
a6cb91e1d7 Used the brazier embellishment terrain instead of ANIMATED_BRAZIER 2017-02-27 19:59:36 +02:00
ln-zookeeper
c599627ab9 Map update for Fallenstar Lake
From Horus2.
2017-02-27 19:51:58 +02:00
ln-zookeeper
fafce20db4 Added several new multiplayer maps
Received from Horus2, with various WML changes by me. Maps by Horus2, Rigor, Mint, Dreadnough and Doc Paterson.
2017-02-27 19:45:26 +02:00
Charles Dang
f81392893d Attempt to fix some errors reported by @singalen 2017-02-27 18:52:10 +11:00