73537 Commits

Author SHA1 Message Date
Celtic Minstrel
90d1aec2f2 Fix schema validator ignoring toplevel keys 2018-11-18 00:41:42 -05:00
Celtic Minstrel
6936c59e17 Fix --validate-core and --validate-addon implying --wconsole 2018-11-18 00:22:40 -05:00
Celtic Minstrel
9e01b9ecb5 Fix several issues with the --validate command-line option
(They also affect the --validate-schema option.)
2018-11-17 23:51:36 -05:00
Celtic Minstrel
1d76a98041 Update credits for recent merge
@holius-fr
2018-11-17 23:28:31 -05:00
Celtic Minstrel
9e518a666f Update changelog for recent merges 2018-11-17 23:28:12 -05:00
Celtic Minstrel
f49a02d839 Fix merge error 2018-11-17 23:19:06 -05:00
Celtic Minstrel
7b358440f6 Merge pull request #2664 from holius-fr/liminal_bonus 2018-11-17 13:04:49 -05:00
Celtic Minstrel
2f9bca43af
Fix erroneous deprecation 2018-11-15 23:12:55 -05:00
Jyrki Vesterinen
68f3a8e846 Lua fixes 2018-11-16 05:47:28 +02:00
Celtic Minstrel
866420adf8 Redesign force cth macro
Closes #3707
2018-11-15 21:17:04 -05:00
Celtic Minstrel
6d7736e6e6 Deprecate helper.wml_error and move it to wml.error 2018-11-15 21:06:55 -05:00
Celtic Minstrel
8bcf749666 Lua API reorganization: units module deprecations 2018-11-15 21:06:55 -05:00
Celtic Minstrel
7c3fd9a612 Lua API reorganization: units module 2018-11-15 21:06:55 -05:00
Celtic Minstrel
3e79b3bde8 Lua API reorganization: GUI module deprecations 2018-11-15 21:06:55 -05:00
Celtic Minstrel
3ec9ce4b60 Lua API reorganization: GUI module 2018-11-15 21:06:55 -05:00
Celtic Minstrel
55a6c16810 Lua API reorganization: interface module deprecations 2018-11-15 21:06:55 -05:00
Celtic Minstrel
e3e80b4a99 Lua API reorganization: interface module 2018-11-15 21:06:55 -05:00
Martin Hrubý (hrubymar10)
88550b8592
Add data/schema into macOS packages 2018-11-15 15:56:47 +01:00
mattsc
8c8cafaa70 Deprecate EXPERIMENTAL_AI macro 2018-11-15 06:46:41 -08:00
Martin Hrubý (hrubymar10)
fee7f00bd2
Fix Xcode project 2018-11-15 09:24:08 +01:00
Severin Glöckner
eb1ebe1cd8 Help: cut portraits of monsters, bats and zombies
This will less often wrap the text of the descriptions.

For many of the zombies is more possible, but it has been taken care to have the
linebreak for 'required xp' and in the variation list the same on all their pages.

The reason for the 319px height on some of them is:
- It's still taking enough space to have 'required xp' on a new line.
- It does for both the WC and Soulless not interfere with the description text.
- The swimmer can't be smaller than 319px without cutting any non-tranaparent
  pixel. To have more structure the goblin/dwarf/dog use the same.

[ci skip]
2018-11-14 23:45:45 +01:00
Severin Glöckner
6b744f1ca0 German translation: small changes
- spelling fixes
- adjust category for raceless units
- renaming »Volk« to »Spezies« at one more place
  (originally done to better fit with some other races, like bats, gryphons,
   undead, mechanical,…)
- [ci skip]
2018-11-14 20:15:01 +01:00
josteph
e642223017 wmlxgettext: Fix crash if no *.cfg file is found
fixes #3719
[ci skip]
2018-11-14 20:14:44 +01:00
loonycyborg
c4e9c389a6 wesnothd: delay sending diff with user moving to game they created
until game_id is valid from client's pov to prevent an error message
from it.
2018-11-14 15:33:21 +03:00
loonycyborg
921203803e wesnothd: remove redundant assert 2018-11-14 14:47:18 +03:00
Celtic Minstrel
22d8592164 Document schema validation short options and make --validate imply --wconsole on Windows 2018-11-13 23:17:17 -05:00
Celtic Minstrel
f1fd2312f7 Add type annotations for the new schema command-line arguments 2018-11-13 22:46:17 -05:00
josteph
815ded47dd Themes: Fix unit status icons not showing
When [unit_status] shows two or more images, only the first showed and
there was no indication that there were further statuses. Now an
ellipsis is shown and the tooltip contains the information about the
second and further statuses.

Fixes #3197
2018-11-13 22:16:07 +00:00
Jyrki Vesterinen
ce3f6ccecc Fix build with -Werror=unused-private-field 2018-11-13 19:55:30 +02:00
mattsc
59397a40b5 ExpAI recruiting: fix AI crash for unit type with unknown race 2018-11-13 06:53:20 -08:00
gfgtdf
20b36d2713 variables in lua mapgen, fixes #3657
In campaigns The lua mapgenerator code has now access to the
variables from the last scenario via wesnoth.get_variable.
2018-11-13 14:42:05 +01:00
gfgtdf
05a397ddde use std::move 2018-11-13 13:38:59 +01:00
gfgtdf
01581d0218 small team.cpp cleanup 2018-11-13 13:28:29 +01:00
Jyrki Vesterinen
7d21a844ad Second attemptm to fix build with Apple Clang 2018-11-13 07:31:27 +02:00
Jyrki Vesterinen
b789c07e33 Attempted build fix for Apple Clang 2018-11-12 22:49:39 +02:00
Jyrki Vesterinen
8ca0534b28 Visual Studio project: move schema code to wesnothlib
Like it already was in source_lists.
2018-11-12 22:42:28 +02:00
Jyrki Vesterinen
a5ef8d040c Fix build with GCC and Clang
Fixes #3712.
2018-11-12 19:47:42 +02:00
josteph
711434d571 wmlparser3: Fix [+foo] without preceding [foo] in toplevel 2018-11-12 02:53:52 +00:00
Celtic Minstrel
b94ccf9020 Rewrite helper.modify_unit to not use a WML variable 2018-11-11 20:03:05 -05:00
Celtic Minstrel
9885932011 Use wml.tag in helper.get_user_choice 2018-11-11 20:03:05 -05:00
Celtic Minstrel
40bf04ec8e Rewrite helper.move_unit_fake to not use a WML variable 2018-11-11 19:51:29 -05:00
Celtic Minstrel
d732ef00c2 Lua API: Allow specifying a schema for wml.parse()
Closes #3696
2018-11-11 19:43:52 -05:00
Celtic Minstrel
3016d92811 Lua API: Add wml.clone() 2018-11-11 19:37:49 -05:00
Celtic Minstrel
e692294532 Lua API: Make wml.tostring a lossless conversion
This means that wml.parse(wml.tostring(cfg)) now returns a perfect clone of the original config.

Addresses #3696
2018-11-11 19:33:35 -05:00
Celtic Minstrel
45689305eb fixup -Wreorder 2018-11-11 18:52:31 -05:00
Celtic Minstrel
20e85aa417 Lua API: Add wml.load and wml.parse functions 2018-11-11 16:01:08 -05:00
Celtic Minstrel
6ed57cdc70 Fix crash when invoking Lua console from the main menu 2018-11-11 15:59:09 -05:00
Celtic Minstrel
6c54451e2a fixup 2018-11-11 15:58:58 -05:00
Celtic Minstrel
2ee2f4d33f Fix various compiler warnings/errors from Travis 2018-11-11 15:32:18 -05:00
Celtic Minstrel
639787e1c9 Merge pull request #2562 from wesnoth/schema 2018-11-11 13:52:19 -05:00