77458 Commits

Author SHA1 Message Date
Nils Kneuper
9e91ddb1fe updated Polish translation 2020-10-24 10:55:59 +02:00
Nils Kneuper
9561a65b82 updated Portuguese (Brazil) translation 2020-10-24 10:49:22 +02:00
Nils Kneuper
2776c8d34b updated British English translation 2020-10-24 10:48:04 +02:00
Charles Dang
4fe9149166 Removed wesnothd_connection::fetch_data_with_loading_screen
No need to keep a loading screen dependency in wesnothd_connection.
2020-10-24 18:38:32 +11:00
Celtic Minstrel
0b8f54f7d7 fixup indentation
[ci skip]
2020-10-23 22:46:31 -04:00
Pentarctagon
29096de875 Clean up a couple things in global.hpp. 2020-10-23 09:23:12 -05:00
Pentarctagon
dbd230c1d6 Bump minimum gcc requirement to 5.4. 2020-10-23 09:23:12 -05:00
Charles Dang
a4dd36cd10 Don't use while(0/1) 2020-10-23 13:44:11 +11:00
Charles Dang
a726f2db3c GUI2/Chatbox: tweaked some text 2020-10-23 13:02:56 +11:00
Charles Dang
f2e77842fc VS: cleaned up campaignd and wesnothd projects
[ci skip]
2020-10-23 11:12:29 +11:00
newfrenchy83
8c5f6c2a4d Fix codeblock test 2020-10-21 17:12:34 -05:00
Iris Morelle
a26435312e Remove network proxy-related command line option descriptions
The command line options themselves were removed in commit
168313bed9da570d3bf7d4b6bc7fc93db1e7935f, wherein someone clearly didn't
do the full research.

Specifically, the SDL_net-based implementation of the network API never
supported or used these options. Only libana did.
2020-10-21 01:33:38 -03:00
Wedge009
e123956524 Minor prose corrections.
[ci skip]
2020-10-21 15:09:22 +11:00
Wedge009
ff4456c9d3 Capitalise Northlands in Wesnoth as a proper noun.
[ci skip]
2020-10-21 15:07:56 +11:00
Pentarctagon
2b1d88356f Add travis check for WML indentation correctness. 2020-10-20 14:57:26 -05:00
gfgtdf
c27d477407 run wmlindent 3 2020-10-20 10:37:10 +02:00
Iris Morelle
858f55c7fd log: Fix precise timestamps missing a trailing space
Without this, log messages with --log-precise enabled tend to look just
a bit *off*:

  20201019 23:09:21.786752info general: attempting to generate locale by name 'en_US.UTF-8'
                          ^
2020-10-19 23:13:32 -03:00
Iris Morelle
0bfb9101a8 Minor fixes to --help text
More importantly, --log-precise's description is now more
platform-agnostic (there isn't a "logfile" on platforms other than
Windows).
2020-10-19 23:08:02 -03:00
Iris Morelle
6c6dee0655 log/windows: Guard against null pointer dereference
This is semantically correct since we can't claim we own a console
before we find out if we have one or need to set one up.

Nobody should be calling using_own_console() before
early_log_file_setup() finishes, but you never know. People in this
project have surprised me before.
2020-10-19 21:32:08 -03:00
Iris Morelle
f4815fae78 log/windows: Fix missing class member initializer
This had the confusing side-effect of making some code in wesnoth.cpp
believe it was safe to prompt the user to press Enter when NOT using
--wconsole on my system, because the flag ended up with a true value by
default.

This is why you don't leave integral-type variables uninitialized, ever.
2020-10-19 21:20:39 -03:00
gfgtdf
4eb6eab7e3 run wmlindent 2 2020-10-19 23:53:52 +02:00
gfgtdf
b21c110f30 run wmlindent 2020-10-19 23:53:52 +02:00
gfgtdf
e822e22b2f wmlindent: don't indent #'#deprecated' 2020-10-19 23:53:52 +02:00
gfgtdf
ae9b533925 wmlindent: don't indent if #endarg is on the same line
this might change behaviour of the arg value
2020-10-19 23:53:52 +02:00
gfgtdf
d61747bec4 run wmlindent on WC 2020-10-19 23:53:52 +02:00
gfgtdf
267b7db441 fix indention of NEAREST_HEX macro uses
previously the code put the brackets in the wrong
line and handfixed that but a wmlindent comment,
but that then broke possible other uses of that
macro.
2020-10-19 23:53:52 +02:00
gfgtdf
2f234a8823 add data/schema to wmlindent ignore
until we decided what to do with it
2020-10-19 23:53:52 +02:00
Pentarctagon
055fbf7b8c Replace the final use of boost::posix_time with std::chrono. 2020-10-19 16:49:32 -05:00
Pentarctagon
d757ee280b Use steady_timer rather than deadline_timer in wesnothd.
wesnothd has four timers, three were using steady_timer, one was using deadline timer. This changes the final timer to be a steady_timer, which won't be affected by clock changes whereas deadline_timer would be affected. It also allows using std::chrono instead of boost::posix_time.
2020-10-19 16:49:32 -05:00
newfrenchy83
62afd8bef7
Fix initiative not affecting allies (#5218)
This was missed in commit 7f7217c.
2020-10-19 20:49:12 +02:00
Gunter Labes
f1a1317616
Typo fix 2020-10-19 16:34:39 +02:00
Gunter Labes
2b1885bce4
Typo fix 2020-10-19 14:04:32 +02:00
Nils Kneuper
a4a798cd04 updated Portuguese (Brazil) translation 2020-10-19 11:51:53 +02:00
doofus-01
bfa973e83a
Update changelog.md 2020-10-18 17:39:19 -07:00
doofus-01
eb5a336adc
SoF S9 - some cleanup to the final scenario (#5215)
* SoF S9 - some cleanup to the final scenario

* Sof S9 - change time to tint red, replace remove key, add some small dialog to explain the reduced recall cost
2020-10-18 17:34:54 -07:00
doofus-01
4a52e2b035
Update changelog.md 2020-10-18 17:32:05 -07:00
doofus-01
fca68c1057
SotA - revisions to units and possibly terrain (#5189)
* SotA - units - new sprites for sea captain, including non-skeleton undead version

* SotA - Sc4 Intro revision for ghoul background

* SotA - remove y,z characters from terrain codes, all campaign codes should now end with S.

* core terrain - new iron fence terrain *^Eqf

* SotA S2 - change large custom fence to iron fence
2020-10-18 17:22:30 -07:00
Charles Dang
4355a9046c Fixed changelog indent 2020-10-19 09:35:46 +11:00
Steve Cotton
28cd5f1e6e Show a deprecation message for [event]remove=yes, recommend [remove_event]
The remove attribute for [event] was never added to the validation schema,
and using [remove_event] seems easier to search WML for. Let's just recommend
the new key and deprecate the old one.
2020-10-19 00:05:45 +02:00
Iris Morelle
1575457a3b addon/mg: Simplify [request_campaign_hash] UI message 2020-10-18 18:19:43 -03:00
Martin Hrubý (hrubymar10)
eabaa42fe4
Fix Xcode project 2020-10-18 21:09:54 +02:00
Iris Morelle
f1d4f352a4 Clean up excessive use of this pointers in add-ons client
I have no idea what code style statement past me was trying to make
here anymore.
2020-10-18 14:03:51 -03:00
Charles Dang
d4ca82bbbb GUI2/Player Info: you shouldn't be able to DM yourself 2020-10-18 13:52:49 +11:00
Steve Cotton
b38d272c4c During allies' turns, their units' orbs show the move status (#1424)
Instead of using the allied orb during their turn, the unmoved, moved and
partial orbs are shown. The player's own units will be shown with the moved orb
during the ally's turn, which matches the previous behavior. This is intended for
co-operative MP campaigns, where it will make it easier for players to discuss
possible moves. The UX is also visible in SP scenarios with allied sides, HttT's
first scenario is an easy place to see what it does.

If another status is added to the orb_status enum, this code is likely to
support it with no changes needed for the parts in this commit. For example,
issue #5155's proposed orb_status::disengaged has been tested with this.

Updated the documentation about orb colors. In these docs I've moved all of
the images to a single line above the bullet-pointed list, as otherwise the
layout looked bad once a line wrapped - the first line appeared
horizontally-aligned with the center of the image, the second started under the
image.

Added documentation about the delay in multiplayer games, as the purpose of this
orb-coloring feature is to assist discussion in multiplayer games.
2020-10-17 14:11:10 +02:00
Steve Cotton
934cae6093 Refactoring the orb-coloring code, adding new units/orb_status.hpp
Instead of creating lots of image::locators and calling a family of
similarly-named preferences functions, this refactor encapsulates that logic
and uses an enum.

The new orb_status files still need adding to the MacOS build.

An assert has been added to `unit_drawer`'s constructor. There are two callers
- the `display` class guards it with an explicit check before constructing
unit_drawer. The `game_display` class doesn't have an explicit check, but it's
clear that other code in that class assumes the teams are already valid (and
would crash if they weren't).
2020-10-17 14:11:10 +02:00
Charles Dang
6b21233c44 Split chat-related things out of lobby_info
Greatly simplifies code. Also addresses an issue raised in #3729. Autocompletion now looks at users in the current room.
2020-10-17 22:10:42 +11:00
Steve Cotton
15fb85f446 Add some section-headings to the changelog
Trying to reduce the merge-conflicts if PRs include their own
changelog updates.

[ci skip]
2020-10-17 06:57:17 +02:00
Pentarctagon
0cbf8ff7a8
Wesnoth 1.15.6+dev. 2020-10-16 23:41:32 -05:00
Pentarctagon
49a5899c4e
Wesnoth 1.15.6. 1.15.6 2020-10-16 23:40:02 -05:00
Iris Morelle
003f5c0897 pot and documentation update 2020-10-17 01:34:18 -03:00