74841 Commits

Author SHA1 Message Date
Martin Hrubý (hrubymar10)
78a16e1f0f
Fix macOS package build 2019-08-15 13:32:30 +02:00
Martin Hrubý (hrubymar10)
bf9e991a1f
Update changelog in macOS package 2019-08-15 13:32:17 +02:00
Steve Cotton
dd8e5bb6fc Correction to changelog, the add-on server change was client-side 2019-08-15 12:14:43 +02:00
Steve Cotton
edcf204ddf Add to changelog: editor fix, 1.15 add-ons, mysql, dune ranger fix 2019-08-15 12:07:34 +02:00
nemaara
cb5c2669ef Dune Sunderer: fix description typo 2019-08-14 22:19:08 -04:00
Pentarctagon
8f7eabeac8 Fix Dune Range advances_to value. 2019-08-14 21:08:24 -05:00
Gunter Labes
211f14176c
campaignd: Assign port 15015 to 1.15.x (#4228)
campaignd: Assign port 15015 to 1.15.x
2019-08-14 21:26:15 +02:00
Steve Cotton
1c52699bb7 Rule of Five for event::sdl_handler
This fixes the default implementations of widget's copy constructor and copy
assignment, which was root cause of the regression in 4139b43cc900 (#4215).

This reverts commit f46ed66f2c9a8acf8d88338d8433fc35689d4c39.
2019-08-15 01:39:45 +11:00
Pentarctagon
d69b5c8804 Add deny_unregistered_login to the wesnothd man page. 2019-08-12 18:55:27 -05:00
loonycyborg
bacf361285 Remove references to player changelog from NSIS script 2019-08-12 19:14:56 +03:00
Pentarctagon
59e9f9a138 Add support for storing game information in wesnoth's mysql database.
This requires three more tables to be added to any database with the forum user handler enabled, the structures of which are defined in the wesnothd man page:
* `db_game_info_table` - stores information about each game.
* `db_game_player_info_table` - stores information about each player in the game.
* `db_game_modification_info_table` - stores information about any modifications that are enabled for the game.
2019-08-12 13:04:26 +02:00
Jyrki Vesterinen
1322f376c7 Fixed warning C4800 in Visual Studio 2015 2019-08-12 05:08:50 +03:00
Charles Dang
f46ed66f2c Fixed regression from 4139b43cc900 (fixes #4215)
This fixes the buttons in the editor's terrain palette being unselectable. Since the gui::widget class
had a virtual base class, the class was not trivially copy-constructable. We need to explicitly define
the copy constructor so we can initialize the sdl_handler base class.
2019-08-12 12:36:07 +11:00
Charles Dang
981ca4ebea VC16: build with C++17 again, enable /utf-8 for all projects
[ci skip]
2019-08-11 19:53:27 +11:00
Charles Dang
3677ddcf07 Post-release version bump 2019-08-11 12:04:31 +11:00
Charles Dang
54fc4175d0 Pre-release version bump 1.15.0 2019-08-11 12:03:03 +11:00
Charles Dang
92d00256da Use full path for all server includes 2019-08-11 10:47:19 +11:00
Charles Dang
ab5c29ced1 Delete forbidden functions 2019-08-11 10:40:03 +11:00
Steve Cotton
b2cd1cf6c3 Handle unit overlays as modifications, allow [effect] to remove them
Possible fix for #4058, with the following logic:

* If non-empty, [unit]overlay= is handled by adding modifications
* unit::write will always output an empty overlay=
* The Lua API's get_units() will still provide the list of overlays
* [effect]apply_to=overlay can now remove as well as add overlays
* [remove_unit_overlay] is implemented with [effect]apply_to=overlay

Using [object]s with durations hasn't been tested, but expected effects:
* An expired add= followed by a non-expired remove= will simply cause the remove=
    to have no effect when std::remove(overlays_ ...) is called.
* A remove= followed by [remove_unit_overlay] cause the [remove_unit_overlay] to be a no-op,
    and the overlay will reappear when the first remove= expires. This edge case is already
	documented as unsupported on the wiki.
2019-08-10 23:25:04 +02:00
Charles Dang
e868c7e890 Loading Screen: removed animation timing
Decided it's better to just tie this to the draw rate. There were problems with the timing on the accelerated_rendering
branch, so I had disabled it there, but I think it's better without the timing so I'll just leave this.
2019-08-11 07:24:57 +11:00
Pentarctagon
c08cf5c01a Add Dunefolk overhaul to changelog. 2019-08-10 15:19:02 -05:00
josteph
08352d2ab4 theme: Add optional argument to REPLAY_THEME for the benefit of user-defined themes
See #4184
2019-08-10 20:09:36 +00:00
Charles Dang
ed7d60ce1b Wesnothd/Player Connection: minor cleanup 2019-08-11 07:08:54 +11:00
FranPrin
4819846910 Dunefolk faction rework by various people
Changelog provided by @ghype below. Additional credits at the end.
=================================================================================================

*Art*
Most of units were reworked - some more some less - but our goal was to make them fit for mainline all together.
If any changes are needed to any unit, then we gladly execute those. There have been months worth of progress
documented in the according art thread for this project.

Base Units: https://forums.wesnoth.org/viewtopic.php?f=9&t=49075
Extra Units: https://forums.wesnoth.org/viewtopic.php?f=9&t=49625

*Balance*
The main reason why this project started in the first place. Here as well we have all the progress for balancing
Dunefolk documented and all developers and users interested in this project and seemed to agree on the current
state of balance. Thats the reason why we will not enlist all the changes here. If there are any problems with
the balance, then we too are willing to provide alternatives that can be discussed either here or on forum.

Balance Thread: https://forums.wesnoth.org/viewtopic.php?f=15&t=49627

*Alignment*
The balance of this faction was based on the newly proposed liminal alignment which works as +0/+0/+25/+0/+0/+25
instead of the old -25/-25/+0/-25/-25/+0

*Weapon Portraits*
As Dunefolk features entirely new units, we found some weapon portraits that fits the attacks of certain units.
The portrait - called „blade-curved“ is a franken but a convincing one. As the current blow pipe for UtbS is a
franken as well, this new weapon portrait should good enough to be mainlined as well. If this request get’s denied,
then we are free to provide alternatives as well. It just fits very well the theme of exotic Naga weapon
craftsmanship without relying on the orcish theme. It used for the following two units:

Lv2 Naga Bladewhirler
Lv3 Naga Dervish

*Descriptions*
New unit concepts require changes and new units require entirely new descriptions. We enlisted all problems and
inconsistencies that resulted with the rework and provided either solutions for them or new descriptions. Yumi
already started doing them but for those who want to see the initial conflicts, here you can find all the problems
displayed:

Unit Descriptions: https://forums.wesnoth.org/viewtopic.php?f=32&t=49867#p642698

*Female Dunefolk Names*
With the introduction of female units to this faction, we would require female names as well. Apparently this was
already coded in mainline, but simple not used.

*Future Plans - Animations*
There are some recourses from past works that allow us to - more or less - easily animate most of Dunefolk units.
The animations range from idle to attack-only, while other units will be fully animated. Some of the units that
are harder to animate will first receive single attack/defend frames until animation concepts were agreed upon.
Our goal is to make Dunefolk as alive as possible.

*Future Plans - Theme, Sound FX*
Rather unimportant to most people but I am interested to add some new sound fx that can start with different hit/death
sounds or new weapon sounds for scimitars. Those are just example and I do not know what I will end up with. But I know
that I will compose a Dunefolk Theme at some point. Using your feedback, I am sure I can manage to create something that
fits the faction the best.

*Future Plans - Wyvern Rider*
This is the only unit is the only one that did not get touched or reworked. The wyvern on it self looks amazing an does
not need any rework but the rider does not really fit thematically anymore, not to mention the weapon is too oversized
and not the usual Wesnoth style. But I won’t touch this sprite until it actually will be needed, most likely - IF -
there is ever going to be a mainline Dunefolk campaign.

*Credits*
I don’t know how detailed you need this to be but here all contributors.
ghype, Hejnewar, Krogen, The_Gnat, Lordlewis, EarthCake, Tom_Of_Wesnoth

It is however important to mention that the amount of contributions of each varies a lot in different categories. I will
organise it a bit and you make use of this info how ever you want. The names are in order of the amount of work put in.

Art: ghype, The_Gnat, Lordlewis
Balance: Hejnewar, Krogen, ghype, The_Gnat
Descriptions: Tom_Of_Wesnoth, Hejnewar

Earthcake joined us in the end and helped us finishing this project by cleaning/finishing the codes and doing all the git
stuff together with The_Gnat. Although none of his work can be categorised in one of the three categories, he still deserves
to be credit in one way or another.

Thanks for your time and efforts.
2019-08-11 07:02:58 +11:00
josteph
bc90feedee statistics_dialog: Move a static tooltip from C++ to WML 2019-08-10 17:20:41 +00:00
josteph
4bcd0ba620 statistics_dialog: Don't let the tooltip end with a colon with nothing following it. 2019-08-10 16:47:49 +00:00
josteph
3af342af71 statistics_dialog: Fix tooltip mixup
The tooltip of the p-value was used for the "This turn" percentages.
2019-08-10 16:44:33 +00:00
josteph
14daf1c4f3 statistics_dialog: Clarify tooltip 2019-08-10 16:40:00 +00:00
josteph
0b0569457d help: Fix punctuation 2019-08-10 13:28:49 +00:00
josteph
dada4e1826 changelog: Add #4187 2019-08-10 13:23:34 +00:00
josteph
21ec7963ef Show the turn dialog before updating the GUI for the incoming player.
In hotseat games, the main map and minimap were updated and healing was animated
before blacking out the display for the turn dialog.

Fixes #4187.
2019-08-10 13:21:00 +00:00
Charles Dang
ad9bb8b845 Wesnothd: used std::queue 2019-08-10 06:19:54 +11:00
nemaara
35aabb6563 Add TSG update to changelog 2019-08-08 22:20:38 -04:00
nemaara
ef50f12be3 TSG S5: reduce difficulty 2019-08-08 22:20:07 -04:00
Charles Dang
80d3e93d2b Moved Leonard03 to Artwork and Graphics
[ci skip]
2019-08-08 05:20:27 +11:00
Severin Glöckner
2d3c26b560 German translation update
[ci skip]
2019-08-06 20:33:07 +02:00
Severin Glöckner
1a50d783cd German translation: master only update
help pages
[ci skip]
2019-08-06 20:26:54 +02:00
Steve Cotton
06f0776134 Refresh help_impl.cpp using ranged-for loops and avoiding raw pointers
The old copy-assignment code would have appended the topics and sections
without clearing those lists, while the new code does clear them. However, the
copy-assignment is only called after calling clear(), so this doesn't affect
the behavior.
2019-08-06 16:29:59 +02:00
Charles Dang
32a9acf7d0 Wesnothd Connection: fixed debug code
[ci skip]
2019-08-06 22:02:35 +11:00
Charles Dang
318a39a7b8 Fixup 80d26af 2019-08-06 21:21:53 +11:00
Charles Dang
80d26afa31 Attempt to fix tests
The poll() function was removed, but perhaps it's doesn't need to be replaced since we now handle
everything in the wesnothd_connection worker thread.
2019-08-06 20:25:12 +11:00
Charles Dang
115cf7df9d Wednothd Connection: reimplement wait_and_receive_data with std::conditional_variable 2019-08-06 19:37:13 +11:00
Charles Dang
bced41acef Wesnothd Connection: used a void promise at celmin's suggestion 2019-08-06 14:17:50 +11:00
Charles Dang
1d5e4f881a Handled case where wait_for_handshake is called more than once 2019-08-06 11:22:02 +11:00
Charles Dang
bcc119487a Wesnothd Connection: removed now-unused poll() 2019-08-05 19:25:41 +11:00
Charles Dang
65937511bf Attempt to fix tests
An exception was getting thrown during the handshake process that wasn't properly being thrown.
Since poll() only ran during the handshake, I've moved the handling in that case to wait_for_handshake().
2019-08-05 18:37:04 +11:00
Charles Dang
1e9d649271 Wesnothd Connection: clarified data queues' nature by wrapping them in std::queue
I kept the underlying container an std::list like before.
2019-08-05 17:22:39 +11:00
Charles Dang
2051e7fc5b Refactor client-side wesnothd handshake process
This makes things a bit less confusing by making the worker thread handle the handshake. It also
removes the need for manually spinning the main thread to wait for the handshake.
2019-08-05 10:05:21 +11:00
Severin Glöckner
b7234a48b2 help: use no pango markup
Pango support for the help has been reverted together with the help's GUI2 port.
[ci skip]
2019-08-04 22:21:46 +02:00
Charles Dang
91d74a5aa0 Removed unnecessary include 2019-08-05 06:50:00 +11:00