79388 Commits

Author SHA1 Message Date
Pentarctagon
858f8b4248
Missed some deprecated fungus on map edges. 2021-07-31 18:46:47 -05:00
kabachuha
c0981406d8 Fixed boars' attack descriptions being started with capital letters
Attack descriptions start with a lowercase letter in mainline Wesnoth. Should be backported to 1.16.1 with #5973 after the string freeze ends.
2021-07-31 23:19:09 +03:00
Pentarctagon
a6c61385f6
Use enum in copyright update script. 2021-07-31 12:55:31 -05:00
Tahsin Jahin Khalid
96b86d6aae
[world conquest] [master/1.17] add credits, campaign icon(s) and image. (#5959) 2021-07-31 12:15:52 -05:00
Elvish_Hunter
80900fdc1a wmllint: removed check for spaces in e-mail addresses 2021-07-31 17:47:45 +02:00
mattsc
c5d1602160 Update Xcode project 2021-07-31 07:23:22 -07:00
Charles Dang
ce879fea85 Updated tests 2021-07-31 08:48:07 -04:00
Nils Kneuper
cfe5d2748c updated Italian translation 2021-07-31 09:42:18 +02:00
Nils Kneuper
e170a08e56 updated Russian translation 2021-07-31 09:41:10 +02:00
Charles Dang
543399d3ff MP/Lobby: more cleanup 2021-07-31 02:04:36 -04:00
Charles Dang
56d319190f Differentiate class names 2021-07-31 01:33:11 -04:00
Charles Dang
37878872f1 Lobby Info: handle keep track of installed addon cache entirely in-class 2021-07-30 23:42:04 -04:00
Charles Dang
cc5e67e373 Forgot to commit the source_lists change 2021-07-30 23:28:05 -04:00
Charles Dang
ceafd6faa3 MP/Lobby: some more player list-related cleanup
- Improved display
- Removed unused pointer member in helper
- Removed unnecessary extra tree clear step
2021-07-30 23:27:45 -04:00
Charles Dang
d661187a8f Lobby Info: consolidated two loops 2021-07-30 23:25:55 -04:00
Charles Dang
5f2338f397 MP: used more config::optional_child 2021-07-30 22:42:10 -04:00
Charles Dang
7430cf5720 MP/Lobby: removed colorize 2021-07-30 22:41:05 -04:00
Charles Dang
1f994775c2 MP/Lobby: split handling of user list updating into separate class
This also fixes an issue introduced in 0e3faee8031610a1e7db2cd484e4c65cfbe292ea where, since the newly added
nodes were sorted by player name, the default sorting of players (first by relation, *then* by name) was ignored.

This also changes tree_view_node::replace_children to take a vector instead of a map for its data.
2021-07-30 22:37:05 -04:00
Charles Dang
60d2f42e73 GUI2/Tree View: added get_node_definition 2021-07-30 19:25:44 -04:00
Celtic Minstrel
23bfa4c896 fix whitespace 2021-07-30 19:22:57 -04:00
Celtic Minstrel
44da16d66a Lua API: Use the new location_set complement in the place_shroud deprecation wrapper 2021-07-30 19:22:57 -04:00
Celtic Minstrel
300b4492b8 Lua API: Ensure unit test assertions specify a message string 2021-07-30 19:22:57 -04:00
Celtic Minstrel
2a4339199d Lua API: wesnoth.map.parse|make_bitmap are now defined in the base kernel
This is mainly so that they can be used in the mapgen kernel; exposing them to the plugin kernel is just an incidental side-effect.
2021-07-30 19:22:57 -04:00
Celtic Minstrel
1372724d40 Lua API: Make wesnoth.map.generate_height_map return data compatible with location_set
To maintain backwards compatibility, this format is opt-in.
2021-07-30 19:22:57 -04:00
Celtic Minstrel
08e3a31979 Lua API: When creating a location set from triples, also support tables with x, y, and value keys 2021-07-30 19:22:57 -04:00
Celtic Minstrel
c59c3b9273 Lua API: Use a named tuple when converting a location set to triples 2021-07-30 19:22:57 -04:00
Celtic Minstrel
7d7b58e31e Lua API: Add an absolute complement option to location_set
- ls:invert(w,h,[border_size]) takes an absolute complement as if the map were the given size
- ls:invert(map) takes an absolute complement relative to the specified map
- ~ls is only available in the game kernel and takes an absolute complement relative to the real map
2021-07-30 19:22:57 -04:00
Celtic Minstrel
eb1bd1af6c Lua API: Add wesnoth.map.filter_tags for the mapgen kernel
This was supposed to be added for 1.16, but it was forgotten; anyone wishing to use it in 1.16 will have to copy it from World Conquest.
2021-07-30 19:22:57 -04:00
Celtic Minstrel
5951a63d3e Lua API: Fix wesnoth.map.find(filter, unit) ignoring the unit 2021-07-30 19:22:57 -04:00
Celtic Minstrel
15c61effc9 AI: Fix short goal syntax 2021-07-30 19:22:57 -04:00
Celtic Minstrel
8723d95d65 Add deprecation messages for the most FormulaAI WML 2021-07-30 19:22:57 -04:00
Celtic Minstrel
fa6bcb0a37 New config methods for getting deprecated attributes or children 2021-07-30 19:22:57 -04:00
Celtic Minstrel
03ee904513 Update the shroud unit tests and add a few more for cases new in 1.16 2021-07-30 19:22:57 -04:00
Celtic Minstrel
3af768150e Add unit tests for the Lua shroud functions 2021-07-30 19:22:57 -04:00
Celtic Minstrel
858f37e20e Lua API: Fix the deprecation wrappers for place_shroud and remove_shroud
- The "all" special case moved to place_shroud, as it should be
- Shroud data string handling fixed

Fixes #5885
2021-07-30 19:22:57 -04:00
Celtic Minstrel
632941b03d Lua AI: Fix a typo 2021-07-30 19:22:57 -04:00
Celtic Minstrel
30a3619202 Lua API: Fix bug in wesnoth.map.iter_adjacent
Fixes #5972
2021-07-30 19:22:57 -04:00
Celtic Minstrel
8261db4cc0 Fix a misplaced doc comment 2021-07-30 19:22:57 -04:00
Celtic Minstrel
c96afdfefa WFL: Support 2-argument atan 2021-07-30 19:22:57 -04:00
Celtic Minstrel
5f450542f5 WFL/Lua: Add lerp and clamp functions 2021-07-30 19:22:57 -04:00
kabachuha
3de79c15fb Removed WC2-specific feedback link
It doesn't need a special feedback link anymore as it's now a part of mainline Wesnoth.
Changes tested on my local 1.15.15 dev instance.
2021-07-31 01:01:43 +03:00
Charles Dang
699204f62c GUI2/Tree View: stored root node ID in a constant 2021-07-30 16:24:40 -04:00
Charles Dang
d84f73f4d8 All hail structured bindings 2021-07-30 16:24:05 -04:00
Pentarctagon
144d7667f8
Add a script to automatically update the copyright notice in source files. 2021-07-29 11:43:50 -05:00
Steve Cotton
9369b520e7 SotA: Synchronise the zombie recruitment dialog
This dialog works by setting variables in the postshow function,
so the code had to be moved around to ensure that those variables
were synchronised, not just the return value of the dialog.

The message about not having enough gold isn't necessary for the
replay, so that gets moved into the synchronised code too.
2021-07-29 01:12:14 +02:00
Steve Cotton
3d50320369 Tutorial S01: Synchronise the choice of character
This avoids showing the dialog during replays, and thus avoids an
OOS if the person watching the replay chooses the other character.
2021-07-29 01:12:14 +02:00
Pentarctagon
57ce449af8
Re-add attribution to copyright notices.
These are mostly useless and outdated/wrong, but apparently it's probably illegal to remove them.
2021-07-27 20:21:38 -05:00
Pentarctagon
6681c96e6e
Fixup some copyright notices.
In hindsight I should've written the script checking these notices first...
2021-07-26 12:31:25 -05:00
Pentarctagon
ba75e1af50
Copyright update.
This additionally:
* Makes all copyright notices identical aside from the starting year for Wesnoth-specific source files. Files not included: mariadbpp, lua, spirit po, xbrz, and bcrypt (crypt_blowfish).
* Removes all attribution from the files, since the vast majority of them are outdated or seemingly just outright incorrect. For example, I would guess that Dave is no longer the sole author of the majority of Wesnoth's current code.
2021-07-26 11:38:03 -05:00
kabachuha
d445cb36dc Paraphrased allied orbs description to remove outdated color reference 2021-07-26 14:56:15 +03:00