24228 Commits

Author SHA1 Message Date
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
Jyrki Vesterinen
3b88de6cbc Add sort order dropdown to add-on manager (#1747)
This dropdown allows the player to sort add-ons by name, author, size,
download count, type, or the time of last update or original upload.
Sorting by the last two hasn't been possible in the GUI2 add-on manager
before.

Closes #1747.
2018-02-10 18:06:38 +02:00
doofus-01
ce363f491d
[UtBS] - New Quenoth sprites (#2414)
* initial commit for quenoth fighter-line sprites

* update to lvl1 sprite

* update fighter

* including revised antelope rider sprites

* another squashable sprite update

* more sprite edits
2018-02-10 04:12:18 -08:00
Charles Dang
c75ca87517 GUI2/Addon List: improved a bunch of stuff related to inline control buttons
* Flipped the arrow on the Update icon set to point downwards, since it's a download operation.
* Renamed existing small Update icon set Publish, and added downwards version to replace Update.
* Renamed all addon manager icons and their respective button definitions to be clearer.
* Moved unused small icon versions to their own subfolder.
* Added separate Publish inline button to image list. This is now used in all cases to publish,
  regardless of whether the addon has been uploaded previously or not. Prior to this, the Install
  button was used for non-published addons, and the Update one for published ones. This means the
* Refactor addon_list inline button setup to be clearer.
* Made inline Uninstall button display in all cases where an addon was installed, instead of just
  INSTALLED and NSTALLED_UPGRADABLE. It will not display if a publishable addon has not been
  published, however.
* Changed is_local check to match the ADDON_INSTALLED_LOCAL_ONLY. I figured this is a bit more
  robust. TODO: do the same in the addon manager itself?

Art assets credit to @Lordbob
2018-02-10 21:26:33 +11:00
Sofartin
34635aa281 Reorder names after last PR
I forgot reorder names before so I did it now
2018-02-10 12:13:39 +02:00
Jyrki Vesterinen
4500fa6412 Add a unit test to ensure that Lua API rejects dollar signs in tag names 2018-02-10 08:54:23 +02:00
Charles Dang
e48f1050ca New HD *a'f* map background by @Lordbob
[ci skip]
2018-02-10 03:48:01 +11:00
catagent101
ff6fcb803d Fix 2p - Clearing Gushes team names
On this map, side 1 starts at the bottom, while side 2 starts at the top. The naming of the teams assumed the opposite. Another check mark on issue #2453.
2018-02-10 01:58:52 +11:00
Charles Dang
3b6da9a232 Addon Manager: include outdated addons in dependency check (fixes #1494)
Also added missing border around addon list in Install Dependencies.
2018-02-10 00:36:38 +11:00
Charles Dang
ff341cc8ee Theme: draw plain black bg if no [main_map_border] background_image= is given 2018-02-09 21:45:02 +11:00
Charles Dang
9f22a56370 Theme: added [main_map_border] show_border= key to control whether map borders draw
Fixes #2272.
2018-02-09 21:35:14 +11:00
Charles Dang
aeed6d5538 GUI2/Chatbox: disable chat history
[ci skip]

This prevents private chat logs being saved in your preferences file. History isn't
currently working anyway, and it seems weird to be saving logs this way, especially
since it also records private messages.
2018-02-09 07:20:51 +11:00
Sofartin
17738ba646 Update about.cfg 2018-02-08 11:28:39 +02:00