24240 Commits

Author SHA1 Message Date
doofus-01
e61bb91b6c UtBS: more defense animations for the Quenoth (#2560)
* defense animation for Quenoth Mystic

* Kaleh defense animation

* Nym defense animation
2018-02-28 20:11:35 +02:00
Steve Cotton
8354eff5e4 LoW Prevent the 'generic loyal' last breath triggering for main characters
For example, when Kalenz died he'd say to himself "I grieve that
I have failed you, my lord Kalenz..." followed by "Farewell Kalenz".
I'm sure that I've already seen this bug reported somewhere, but
can't find it now.

Also use speaker= instead of id=.
2018-02-25 20:56:06 +01:00
Steve Cotton
39da6a39c3 LoW S03 Remove an IS_LOYAL overlay from a non-loyal unit
At the start of Kalian Under Attack there are two scout units, on 22,21 and
24,21. In MP mode, both are loyal (with correct overlays), and the players get
one each. In SP mode, only one is loyal, but both had overlays.
2018-02-25 16:52:50 +01:00
Steve Cotton
3528c1a365 LoW Some loyal units were missing the IS_LOYAL overlay 2018-02-25 14:15:49 +01:00
doofus-01
9069a4fa9b UtBS: defense animations for Quenoth Elves (#2553) 2018-02-25 13:59:26 +02:00
Lari Nieminen
9cad2926ee
NR S09b: Removed redundant leader keys from the leaderless side 2018-02-24 21:56:21 +02:00
Lari Nieminen
577af1e377
SotBE S07: Removed redundant leader keys from the leaderless side 2018-02-24 21:53:56 +02:00
Charles Dang
9c83099613 MP Lobby: increased chatbox height on standard resolution
[ci skip]

* Increase chatbox height from 25% of the screen height to 28%
* Removed remaining horizontal spacer line
* Disabled horizontal scrollbar for the game list. I had set the mode to 'auto' in order to
  reserve space for the bar should it be needed. However, I've since decreased the amount of
  content in the game listbox, rendering the chance it will be needed much less likely.
2018-02-24 22:52:35 +11:00
Charles Dang
cc3d73621a Preferences Dialog: avoid offset-by-one handling for accl speeds
Since the slider values started at 1, they needed to be adjusted for speed
index access. Less confusing to start at 0.
2018-02-24 18:57:06 +11:00
Charles Dang
894cc6a3cc GUI2/Toggle Panel: switched to procedural border drawing for semi-transparent message variant
[ci skip]

This matches the regular toggle panel now.
2018-02-23 15:45:02 +11:00
Charles Dang
ca4b7dccff GUI2: removed excess spaces and newlines from font size macros
[ci skip]
2018-02-23 15:37:47 +11:00
Charles Dang
5f1005d5ce GUI2/Chatbox: removed room listbox header
[ci skip]

Headers don't do anything with horizontal listboxes.
2018-02-22 16:19:49 +11:00
Charles Dang
b35663e1bf GUI2/Chatbox: handle main border in including windows
[ci skip]

This is consistent with other widgets.
2018-02-22 15:13:48 +11:00
Charles Dang
4bf5c9341f Revert "Remove invalid attribute from idle AI"
This reverts commit 1d84d83c6c6c70e3c25de6e3d443a7ec17936711.

I had introduced use of the hidden= key in b2df837d8e7a95ae2e15dcbdffbd0653ab481443, but
apparently didn't add them to the valid list of non-aspect keys.
2018-02-22 12:21:20 +11:00
Jyrki Vesterinen
1d84d83c6c Remove invalid attribute from idle AI
It was interpreted as a simplified aspect, resulting in a warning when
loading a replay.

Found with WML unit tests.
2018-02-21 22:34:11 +02:00
ln-zookeeper
bf561e68f3 Fixed missing castle<->void transitions
Also re-aligned the castle walls section of the file again.
2018-02-21 22:24:01 +02:00
Charles Dang
68843b0ca9 EI S18: minor tweaks (facing, s1 starting position)
[ci skip]

Starting position also affect S15 since it uses the same map.
2018-02-21 20:21:21 +11:00
Charles Dang
d04c444f2d Wired in new game theme music
[ci skip]
2018-02-21 20:14:20 +11:00
V N
f7b31e79c9 addon_manager: allow uploading . dir
fixes GH-2494
2018-02-20 13:41:29 +02:00
Charles Dang
38477ee23b MP Lobby: ensure turn/slots text always has enough space
[ci skip]
2018-02-20 15:13:22 +11:00
Nils Kneuper
bac3ab530a applied fix that pofix.py already applies
A fix to httt causes fuzzy strings in NR without this change. Tow
options were available:
1) Remove the fix from pofix since it creates false matches
2) Add the fix to the file in NR that also has the issue and apply
pofix to all po files in wesnoth-nr textdomain as well as the pot file

Since it is a "bug" having this grammar mistake in there, I went for
option 2 even though it is string freeze (since it should no longer
cause "false positive fuzzies").
2018-02-19 23:53:13 +01:00
Celtic Minstrel
ae0ba18f96 Tutorial: Fix flag tooltip reading "Konrad" even when playing as "Li'sar"
Addresses #1175
2018-02-18 12:53:07 -05:00
Celtic Minstrel
29942eec35 Expose side_name attribute to Lua API and [modify_side] 2018-02-18 12:53:00 -05:00
Charles Dang
72a80fed5b Removed GUI_NORMAL__RESOLUTION macro
[ci skip]

Not necessary since the "tiny" resolution was removed a long time ago, and the parameters
would implicitly convert to 0 engine-side.
2018-02-17 17:33:32 +11:00
Iris Morelle
8549e93a13 Copyright/attribution update
[ci skip]
2018-02-16 20:16:16 -03:00
Iris Morelle
c9eee2d351 Copyright/attribution update
[ci skip]
2018-02-16 20:03:24 -03:00
Iris Morelle
8413b1014e wesmere: Copyright/attribution update
[ci skip]
2018-02-16 19:56:31 -03:00
sigurdfdragon
dfdf8ccacd Update ids to match type changes in 91e0bb491179 2018-02-16 17:51:00 -05:00
vgaming
098b4495bc addon_manager: allow overriding keys (#2491)
[wesnoth_addon_manager] Allow overriding keys in _server.pbl

Example usage:
wesnoth_addon_manager \
	--port 1.13.x \
	--upload ~/.local/share/wesnoth/1.13/data/add-ons/example \
	--pbl-override version "$(git describe --tags)" \
	--pbl-override description "$(cat avoid_copy_paste_with_WML)" \
	--pbl-override passphrase "in countrary to server.pbl, this is secret"

Downsides: user has to be aware that specifying
passwords as CLI arguments is not safe in a multi-user environment.
If we're really-really serious about it, we should parse
values from environment variables then..
I wouldn't bother though.

fixes GH-2485
2018-02-14 20:49:43 +01:00
Charles Dang
ec03dfcd08 Updated GUI2 schema for f4a1abdb9b11 2018-02-14 14:48:30 +11:00
Charles Dang
1632afe1af Outro: used script font for text
[ci skip]
2018-02-14 14:40:31 +11:00
Charles Dang
f4a1abdb9b Fonts: added script font family 2018-02-14 14:39:51 +11:00
Charles Dang
7d647a6d3d Update GUI2 schema for 6bd9740 2018-02-14 09:18:31 +11:00
Charles Dang
0b77514031 Outro: improved text display
[ci skip]

Increased text size to 100 and made use of the light variant.
2018-02-14 04:05:50 +11:00
Charles Dang
6bd9740f53 Fonts: actually got light weight variant font support working
This replaces the broken implementation I added in fb6c85e70b0c012e4ae10edd29354f41725ca6b9.
See documentation in data/hardwired/fonts.cfg for explanation as to why it didn't work and
why this does.

Currently "light" is set to Lato Light, which is weight 300. Regular is weight 400.
2018-02-14 04:05:46 +11:00
Charles Dang
b1dbee0a2d Don't have macro in translatable string
[ci skip]
2018-02-13 10:44:56 +11:00
V N
ae048467ed addon_manager: simplify usage
To remove an add-on, you now have to use:
--remove ADD_ON PASSPHRASE
instead of:
--password 123 --remove NAME

Also, this commit fixes the badly
documented --password field.
It could previously be read as it can be applied
to any operation, not only removal.
But in fact it could only be used for removal.

Fixes GH-2445
2018-02-12 21:00:55 +01:00
Gregory A Lundberg
9c1a80043c
One last Khalifate change
wml unit nests should now run without error
2018-02-12 13:04:18 -06:00
Charles Dang
f5aad72889 wmlindent run 2018-02-13 05:52:21 +11:00
Charles Dang
91e0bb4911 Fixed some remaining uses of deprecated Khalifate names
[ci skip]

Also "colour"->"color"
2018-02-13 05:45:31 +11:00
Charles Dang
7e09a34edf Fixed opaque shadows in Dwarvish Stalwart ne attack anim
[ci skip]

Fixup b969940ba4aa83f7fb41e5215a4206168c62932c.
2018-02-13 03:50:41 +11:00
Celtic Minstrel
ae50be5bbe Add #deprecated preprocessor directive for marking macros deprecated 2018-02-12 00:09:48 -05:00
Celtic Minstrel
3440546f2d Some fixes to the Lua deprecation API, and extend it to C++
* Some improvements to the messages
* Don't clobber existing metatables on deprecated subtables
* Fix Lua deprecation messages not even being logged
* Fix deprecation of Lua subtables
* Don't clobber the metatable when deprecating a subtable
2018-02-12 00:09:48 -05:00
stevecotton
c50554fef4 Update the description of orcs to include goblins (#2489)
This makes a paragraph of common text for both orcs and goblins
2018-02-12 00:02:50 -05:00
Celtic Minstrel
80b4ed51fa Tweak the race descriptions of orcs and goblins
Closes #2478
2018-02-12 00:02:07 -05:00
V N
0193302847 addon_manager: fix default ign file 2018-02-12 00:11:26 +01:00
Celtic Minstrel
e0e1f7ac6b Remove MAGENTA_IS_THE_TEAM_COLOR from UtBS units and Dwarvish Witness line 2018-02-12 08:45:42 +11:00
mattsc
85b46f34b0 Fast Micro AI: make code robust against events removing units
The previous version caused errors under some circumstances when an
event removed units other than the attacker during or immediately after
an AI attack.
2018-02-11 08:05:58 -08:00
Charles Dang
b4c220260e MP Join Game: increase gold icon and text size
[ci skip]

Also removed some superfluous tooltips.
2018-02-11 10:36:50 +11:00
Charles Dang
7a7744c943 Game Load: some UI tweaks
[ci skip]

* Improved leader list display
* Made dialog slightly wider to reduce likelihood of a horizontal scrollbar appearing.
  Still not a perfect fix, but it's better.
2018-02-11 10:36:49 +11:00