78260 Commits

Author SHA1 Message Date
Charles Dang
cd120f5118 MP Manager: avoid setting singleton ptr until connection is established 2021-02-08 10:38:40 +11:00
Charles Dang
1f7a0e2a13 MP Manager: used an optional for host parameter 2021-02-08 10:36:32 +11:00
Charles Dang
fa95eb7d79 Wesnothd: avoid use of deprecated functions on Boost >= 1.66 2021-02-07 23:50:43 +11:00
Eric Gallager
6ad4ee9b7b
Legend of Wesmere: update Cliffs of Thoria difficulty (#5497)
LoW S10: reduce difficulty
2021-02-07 04:50:35 -05:00
Nils Kneuper
fb07c247e8 updated Catalan translation 2021-02-06 12:03:57 +01:00
Andrey Bienkowski
c42bf11424 Clarify hotkey names in the preferences dialogue 2021-02-03 19:13:58 -06:00
Andrey Bienkowski
4b0a4e4227 Delete the list of hotkeys from the manual 2021-02-03 19:13:58 -06:00
Michal Žejdl
3c41e55c5b change User to Custom to unify the help with the game 2021-02-03 19:12:07 -06:00
newfrenchy83
043d49c6c3
fix codeblock projectfiles and update instructions 2021-02-03 19:58:36 +01:00
Andrey Bienkowski
6f237b7ac0 wc: markcheck off due to campaign-specific attrs
World_Conquest has a bunch of campaign-specific tags and attributes. This was causing wmllint to produce spurious errors (see below).
I suppressed the errors with markcheck off

"data/campaigns/World_Conquest/resources/data/training.cfg", line 305: info should not have a translation mark
"data/campaigns/World_Conquest/resources/data/training.cfg", line 519: info should not have a translation mark
"data/campaigns/World_Conquest/resources/data/training.cfg", line 533: info should not have a translation mark
"data/campaigns/World_Conquest/resources/data/training.cfg", line 549: info should not have a translation mark
"data/campaigns/World_Conquest/resources/data/training.cfg", line 565: info should not have a translation mark
"data/campaigns/World_Conquest/resources/data/training.cfg", line 580: info should not have a translation mark
"data/campaigns/World_Conquest/resources/data/training.cfg", line 596: info should not have a translation mark
"data/campaigns/World_Conquest/resources/data/training.cfg", line 620: info should not have a translation mark
"data/campaigns/World_Conquest/resources/data/training.cfg", line 652: info should not have a translation mark
"data/campaigns/World_Conquest/resources/data/training.cfg", line 681: info should not have a translation mark
"data/campaigns/World_Conquest/resources/data/training.cfg", line 692: info should not have a translation mark
"data/campaigns/World_Conquest/resources/data/training.cfg", line 702: info should not have a translation mark
"data/campaigns/World_Conquest/resources/data/training.cfg", line 727: info should not have a translation mark
2021-02-02 17:54:19 +01:00
Charles Dang
0c4ebc1f8a
Merge pull request #5510 from hexagonrecursion/display-off
Cleanup wmllint: display on/off
2021-02-03 02:38:29 +11:00
Andrey Bienkowski
5cb1790669 Cleanup wmllint: display on/off
https://github.com/wesnoth/wesnoth/pull/5481 removed the check that made
wmllint: display on and wmllint: display off necessary.
This PR removes now redundant wmllint comments.

find ./data/ -name '*.cfg' -exec sed -ri '/^ *# *wmllint *:? *display *(on|off) *$/d; s/ *# *wmllint *:? *display *(on|off) *$//' '{}' ';'
2021-02-02 18:36:28 +03:00
Andrey Bienkowski
5826262023 wmllint: Only parse terrain strings if maptype==map 2021-02-02 15:41:34 +01:00
Andrey Bienkowski
5735a16abf wmllint: Ignore notes when checking for shroud and fog
The following line was causing a wmllint error because it contains _s:

Irs, book_start Icr^Ii, Irs

"../../data/campaigns/Descent_Into_Darkness/maps/07c_A_Small_Favor3.map", line 10: warning, fog or shroud in map file
2021-02-02 15:41:34 +01:00
Andrey Bienkowski
bbf3840f82 wmllint: cleanup two useless lines
As far as I can tell this lines do nothing.
1. `file_handle = None` is NOT how to close a file in python
2. The file handle is already closed due to `with open() as file_handle:`
2021-02-02 15:18:06 +01:00
Andrey Bienkowski
2296a17e5d wmllint: remove check for nonstandard word-wrap style
> I'm not convinced this test is doing anything useful. I really doubt this ever caught an error. I'd rather remove it.

@soliton- in https://github.com/wesnoth/wesnoth/pull/5479#issuecomment-763696081
2021-02-02 15:15:56 +01:00
Andrey Bienkowski
7a25c7f7d6 wmllint: remove outdated comment
This poor orphaned comment was left behind by 659f5d1894e400f60a1471816529512a5b23a2f4
2021-02-02 15:15:56 +01:00
nemaara
2540991364
HttT S14: fix no gryphon rider recruit bug 2021-01-31 20:53:42 -05:00
Andrey Bienkowski
63c71a010a
Move [color_range] id=darkblue to core (#5504)
Move [color_range] id=darkblue to core
2021-01-31 15:13:16 -06:00
Andrey Bienkowski
5032bed2b2 wmllint: remove commented out code 2021-01-31 15:09:11 -06:00
doofus-01
842725bcc1
orcish grunt sprite animations (#5506)
* units - orc grunt die anims (north and south)

* units - face-graft for orcish grunt defend frames
2021-01-31 11:28:28 -08:00
Nils Kneuper
a9247060ab updated French translation 2021-01-30 12:01:10 +01:00
Nils Kneuper
0bdbce7442 updated British English translation 2021-01-30 12:00:21 +01:00
Nils Kneuper
737e155ca5 updated Catalan translation 2021-01-30 11:58:34 +01:00
Charles Dang
c97d2cb6fb Several misc cleanups 2021-01-29 14:03:15 +11:00
Iris Morelle
6260a48e40 bi: Use Boost.Predef to detect and expose the build arch
This commit also adds this information to the startup banner on stderr,
the output of --report, and the Game Version dialog's main UI and
clipboard report.
2021-01-28 15:55:27 -03:00
Charles Dang
ac85468032 Fixed duplicate const 2021-01-28 12:59:01 +11:00
Charles Dang
e334e5f43d Fixed build 2021-01-28 12:29:43 +11:00
Charles Dang
78373d7c59 Cleanup and fixup 2021-01-28 04:41:25 +11:00
Charles Dang
df09fd8bf6 I forgot to *name my variables* :| 2021-01-28 03:56:14 +11:00
Charles Dang
5de1f8d5cc Campaignd: deployed an example use of config::optional_child 2021-01-28 02:50:48 +11:00
Charles Dang
67024f29a1 Added a new config::optional_child function
This is intended to replace uses of config::child that may fail, since we eventually want to get rid
of that ugly "invalid config" and the dreaded "Mandatory child missing yet untested for" error.

Both config::child and config::find_child had new optional throw-if-not-found behavior added, enabled
by an instance of config::throw_when_child_not_found.
2021-01-28 02:15:53 +11:00
Eric Gallager
efefcd2284
Tweak Eastern Invasion difficulty (#5496)
EI: small tweaks
2021-01-26 03:49:58 -05:00
Charles Dang
26426ea338 GUI2/Typed Formula: made use of std::optional 2021-01-26 11:12:39 +11:00
Charles Dang
3757f2caf6 GUI2/Loading Screen: made animation time-based instead of frame-based
Big thanks to @celticminstrel for help on this.
2021-01-25 18:56:48 +11:00
Charles Dang
745b774102 GUI2/Preferences Dialog: utilized maximum_value_label 2021-01-25 18:52:17 +11:00
Eric Gallager
3118f7cecf
Tweak Delfador's Memoirs difficulty (#5382)
* DM: tweak difficulty

this should be equivalent to the following commits in my other repository:
3427219b45 (diff-f2f73b177895cba8d63b07c163e862b8fdd9da442fc060ae5d6b871ae321c867)
bb211951c1 (diff-f2f73b177895cba8d63b07c163e862b8fdd9da442fc060ae5d6b871ae321c867)
20e2a751f1 (diff-f2f73b177895cba8d63b07c163e862b8fdd9da442fc060ae5d6b871ae321c867)
2021-01-24 23:16:29 -05:00
doofus-01
2a8baa9590
various small fixes (#5495)
* units - set image_icon for sidebar display of Cataphract

* units - remove inactive ability description for Diversion

* add recruit/recall to event list triggering check for diversion animation (Dunefolk Falconer)
2021-01-24 16:59:54 -08:00
doofus-01
818077cf18
Update changelog.md 2021-01-24 16:59:14 -08:00
doofus-01
9229600b72
Sprite work (#5417)
* units - north facing bowman and troll whelp

* units - north facing standing and defense frames for dunefolk skirmisher

* units - defense and (half-hearted) dagger attack anims (SE) for poacher

* units - update footpad sprite (SE-only)

* ran wmlindent
2021-01-24 16:56:33 -08:00
Charles Dang
454bed95ce GUI2/Loading Screen: improved animation 2021-01-25 09:21:01 +11:00
Charles Dang
673937d573 WFL: fixed a crash using debug_print 2021-01-25 09:19:04 +11:00
Pentarctagon
4ec1b46c09
Fix manual translation typo. 2021-01-24 13:31:27 -06:00
Pentarctagon
4524b3c783
Fix man translation typos. 2021-01-24 13:01:59 -06:00
Nils Kneuper
c22bd3b65e updated Catalan translation 2021-01-24 12:14:25 +01:00
Pentarctagon
b8d7b96d7b
VS README update. 2021-01-23 16:54:57 -06:00
Pentarctagon
47ba5b7af8
This script was never finished and never used, so delete it. 2021-01-23 12:42:34 -06:00
Charles Dang
c9c1204815 Unit: consider all [modification] tags 2021-01-23 23:49:11 +11:00
Charles Dang
0c2134a645 Further boost cleanup
* Removed more unnecessary includes
* Used std::swap instead of boost::swap in fake_unit_ptr. This is since unit_ptr (the type of `unit_` here)
  is now just a shared_ptr instead of a boost::intrusive_ptr.
* Used std::gcd instead of boost::integer::gcd
2021-01-23 23:46:20 +11:00
Nils Kneuper
de8ad232d4 updated Portuguese (Brazil) translation 2021-01-23 13:17:54 +01:00