70850 Commits

Author SHA1 Message Date
loonycyborg
e00ed07a65 pot-update and regenerate doc files 2018-02-04 15:46:30 +03:00
Sofartin
3431976cbd Update about.cfg
Add my real name
2018-02-04 17:36:41 +11:00
Celtic Minstrel
61aad57dbd Add new contributors to credits
@stevecotton @hrubymar10 @ilyapopov @fluffbeast
@singalen @kallaballa @SoapGentoo

Also tweak entries for @vgaming @sevu
2018-02-03 23:08:35 -05:00
Celtic Minstrel
54f8b3446d Update changelog 2018-02-03 23:06:33 -05:00
Charles Dang
b6a5341ec4 Pre-release version bump 2018-02-04 12:56:53 +11:00
Charles Dang
c1cfcdb472 Lua: don't allow setting a unit's x,y coordinated to an off-map location 2018-02-04 12:56:52 +11:00
Charles Dang
cfd0f774e4 Rework 883b4f1856a8 (*much* simpler method) 2018-02-04 12:56:52 +11:00
Severin Glöckner
762ec56e06 Dark Forcast: reanable solo playmode
force_lock_settings did also force controller_lock=yes

[ci skip]
2018-02-04 02:40:21 +01:00
Charles Dang
883b4f1856 Expand 13cacd1d1edb by allowing unit.loc = {x, y} 2018-02-04 12:29:20 +11:00
Charles Dang
419568dad5 Tweaked Elvish Outrider description (closes #2429)
[ci skip]

Original suggestion raised by @catagent101 (see PR above), tweaks by myself and @jostephd.
2018-02-04 11:50:57 +11:00
pentarctagon
6976091626 Renames the Dunefolk(formerly Khalifate) units based on forum discussions.
This commit actually changes the contents of the unit files, and adds deprecated.cfg for all the old IDs.
2018-02-04 11:46:50 +11:00
pentarctagon
dc21c42683 Renames the Dunefolk(formerly Khalifate) units based on forum discussions.
See this thread, along with a few linked within:
https://forums.wesnoth.org/viewtopic.php?f=12&t=47704

The purpose of this is both to:
a) Make the unit names more descriptive, so new players especially will have an easier time learning them and knowing what they do.
b) Make them eligible for translation, like the units of other factions are.

This commit only renames the files, along with the faction/AoH faction and wmllint.
2018-02-04 11:46:50 +11:00
ln-zookeeper
461e2aab26 UtBS: Disabled choice of old elf units, although old saves still work 2018-02-03 21:12:54 +02:00
sigurdfdragon
264167edcf Macros: Fixup DEPRECATE_ACTION_MACRO 2018-02-03 12:39:03 -05:00
Charles Dang
7c49995981 Fixup 13cacd1 (use luaL_checkinteger over luaL_checknumber) 2018-02-04 04:21:41 +11:00
Charles Dang
40da35d8de Made use of std::tie for certain unit_map operations 2018-02-04 04:20:22 +11:00
Charles Dang
13cacd1d1e Allow moving on-map units by setting unit.x an unit.y fields. 2018-02-04 03:08:29 +11:00
Charles Dang
fe23166a31 Updated pofix for ae33006
[ci skip]
2018-02-04 02:15:16 +11:00
Charles Dang
ae3300688d HttT S4: minor grammar fix (fixes #2435)
[ci skip]
2018-02-04 02:10:01 +11:00
Charles Dang
a012e7f0c3 Lua/Unit: allow modifying of id field for Lua-only units (fixes #2433)
Celticminstrel recommends restricting this to off-map units until we can be sure
changing the ID is safe in all contexts. I don't see why not, though... but this
should be enough for the situation described in the bug (a unit made with copy_unit).
2018-02-04 02:07:19 +11:00
Charles Dang
64b1ff2292 Added changelog note about missing [event] name= raising error
[ci skip]
2018-02-04 01:35:12 +11:00
Charles Dang
1478f21a77 Added ai::manager::has_manager function
Better than the hack we had before.
2018-02-04 01:34:33 +11:00
Charles Dang
a003633c5a Removed trailing tabs and whitespaces from C++ source
[ci skip]

I ran the same command from 9b7b1751fdda.

Excludes:
* lua/
* spirit_po/
2018-02-04 01:01:39 +11:00
josteph
6b703fd93c pofix: Update for HttT changes in previous commit. 2018-02-04 01:00:33 +11:00
josteph
b802d85a92 HttT S18: Rearrange the merman's message. 2018-02-04 01:00:33 +11:00
josteph
e1d192becf HttT: Fix English grammar and punctuation 2018-02-04 01:00:33 +11:00
Steve Cotton
bf754a8a8e tips: add tips that villages can be lures, and losses are necessary
From oaq's post https://forums.wesnoth.org/viewtopic.php?f=3&t=47702

Kai Laudiss is Kai Krellis' dad, and the quote would be 3 years
before Dead Water.
2018-02-04 00:24:41 +11:00
Jyrki Vesterinen
7ca5a0df64 Attempt to get the backtrace from the C++ unit test executable
Turns out that it's still crashing on startup in Travis,
but no longer giving the old error message

Xlib: extension "RANDR" missing on display ":99.0".

I also removed the old line that ran test_executor.sh only if WML tests had
failed. That made no sense.
2018-02-03 13:51:16 +02:00
Jyrki Vesterinen
f40a4966bc Travis CI: enable C++ unit tests
The tests should be able to run in Docker, and now when they are no longer
failing, we can enable them.
2018-02-03 12:17:53 +02:00
Jyrki Vesterinen
a67e13b4c5 Fix C++ unit tests
Regression from commit f2b31ba082e1ff47443120469e06b89318f37284.

The calls to get_fake_display() must not be removed. They are essential to
change the size of the fake screen. Fortunately we have a unit test to
check that constructing GUI2 windows doesn't succeed if the screen is way
too small.
2018-02-03 12:16:05 +02:00
Steve Cotton
07054112b0 Make [cancel_action] set_action_canceled (fixes #2430)
It was calling the getter instead of the setter.
2018-02-03 14:25:08 +11:00
josteph
e48964fa1b pofix: Add wesnoth-help fixes from previous commit. 2018-02-03 14:04:42 +11:00
josteph
a83a7cabda core: Fix grammar in Lich description. 2018-02-03 14:04:42 +11:00
josteph
4ac110b8b5 core: Fix grammar and punctuation
Split from #2390 at @GregoryLundberg's request.
2018-02-03 14:04:42 +11:00
sigurdfdragon
23dddd88b9 SotA: Call the passengers what they are
Names are only seen in S04 in the sidebar.
2018-02-02 18:23:52 -05:00
Severin Glöckner
9cd5d03609 remove very old gentoo packaging file
[ci skip]
2018-02-03 00:07:07 +01:00
Severin Glöckner
3777a5b307 add an appdata file for appstream software centers
(closes #1831 & #2160)
2018-02-02 23:46:59 +01:00
Sofartin
4d7df5fffe Update Copyright year 2018-02-02 13:50:48 +02:00
pentarctagon
44f567c6a3 Enable LTO by default.
LTO for Windows is disabled for now, as TDM-GCC does not work well with it.
LTO for Travis is also disabled, due to the extra time linking with LTO takes.
2018-02-02 17:56:07 +11:00
Charles Dang
69f5d9c260 Made more use of std::isalnum and std::isalpha (std::locale versions)
I didn't also deploy std::isdigit since @jyrkive said he feels digit comparison is fast
and simple enough.
2018-02-02 17:42:06 +11:00
ancestral
2598497c74 Changed text in tutorial to make it easier to understand how the tutorial works and better understand game topics
[ci skip]

* Expanded the text to explain how to read '5×4' and what it means
* Changed the wording slightly to emphasize the order of damage times attacks
* Added a message explaining the format of the tutorial
* Separated some long messages into multiple messages instead
* Removed some unnecessary wording to keep things simpler
* Changed some spelled numbers to regular numerals when referring to game currencies (such as gold and income)
* Minor changes to grammar
2018-02-02 16:14:52 +11:00
Charles Dang
c8abb8d5d9 Add formula= option to [set_variable] (change by @celticminstrel)
[ci skip]
2018-02-02 15:40:44 +11:00
Charles Dang
c916a85d1e Game Events: some safeguards
* Don't register an empty event
* Raise a WML error if a event is missing a name= key (the wiki declares it mandatory)
2018-02-02 08:34:15 +11:00
Charles Dang
b888713918 Create Engine: added is_campaign helper to simplify logic 2018-02-02 07:58:50 +11:00
Charles Dang
30172c8ebe Fixed SP option selections not being saved
Had forgotten to call prefrences::set_options. Instead of adding an extra call in the
SP Options Manager, I just moved the call to configure_engine::set_options, which is
called by both SP and MP codepaths.
2018-02-02 07:14:34 +11:00
Charles Dang
9de2783200 Fixed SP option variables never being set (fixes #2401)
Was just missing a check for the SP_CAMPAIGN type.
2018-02-02 07:09:58 +11:00
Charles Dang
eee4b4e147 NR S2: change victory condition to prevent unwinnable scenario (fixes #2352)
[ci skip]

Previously, the scenario only ended if you triggered the sighted Hamel event with Tallin.
If you triggered it with any other unit, you wouldn't progress since you can't fire a
sighted event on a unit already visible.

I've changed the condition to move within five hexes of Hamel with Tallin. Still possible
this might result in an unwinnable scenario, but that's much less likely than with what
was there before.
2018-02-02 06:49:31 +11:00
sigurdfdragon
5bc09da48d Units: A more positive description for the Naffat 2018-01-31 14:05:10 -05:00
sigurdfdragon
57f06ab443 Units: Remove unnecessary religious references from Dunefolk units 2018-01-31 14:03:55 -05:00
sigurdfdragon
b0e0a75138 Units: Generalize Falcon description by removing faction reference 2018-01-31 14:01:21 -05:00