69409 Commits

Author SHA1 Message Date
doofus-01
e10c334df6 a couple items images 2017-07-31 02:53:35 +11:00
doofus-01
816bd059a6 removing pine2.png image from middle of Kalian castle, where it was sitting on top of another tree - guessing it was left over from an earlier map version? 2017-07-31 02:53:35 +11:00
doofus-01
4208eda7bf editing some mainline scenarios that used images in previous commit, so there is no longer as much of a repeating pattern 2017-07-31 02:53:35 +11:00
doofus-01
96860d94e5 touch-ups to some _ancient_ scenery images, and adding a few variations 2017-07-31 02:53:35 +11:00
Jyrki Vesterinen
13fe9db755 We won't heal slow/poison if the opponent is already dead
Fixup of 93be1487fac79406c30c71e5b2a79e43ca722770. This bug frequently caused incorrect attack prediction.
2017-07-30 17:31:03 +03:00
Charles Dang
9801a92b36 GUI2/Window: added getters for dispatcher and display mode, and flag for modeless windows
Previously they were using the modal flag.
2017-07-30 00:07:49 -04:00
sigurdfdragon
d2cec5eda7 DM S21: Fix typo 2017-07-29 14:21:08 -04:00
sigurdfdragon
15d69d19e2 DM S21: Fix grammar
There are two signposts.
2017-07-29 14:21:08 -04:00
sigurdfdragon
e54bae953f DM S20: Have Eldred look beaten instead of healed 2017-07-29 14:21:08 -04:00
sigurdfdragon
2ef06716c6 DM S02: Fix dialog based on feedback
Forum feedback indicates that some players were expecting the
villages to be burnt on capture.
https://forums.wesnoth.org/viewtopic.php?f=52&t=25557
2017-07-29 14:21:08 -04:00
sigurdfdragon
f9928f84bd DM S07: Fix typo 2017-07-29 14:21:08 -04:00
sigurdfdragon
56e8b6749a DM S07: Adjust turns so time over event displays properly
Previously, when time over fired, the time schedule would loop back
to dusk, which doesn't match the dialog.
2017-07-29 14:21:08 -04:00
sigurdfdragon
ee01350acf DM: Clarify scenario objectives 2017-07-29 14:21:08 -04:00
sigurdfdragon
69b447b5e7 DM S12: Add loyal icon for the loyal units 2017-07-29 14:21:08 -04:00
Smok94
e4552c7a75 [store_unit_defense] tag
Stores in variable the defense of a unit on a particular terrain. If terrain is not specified, the terrain on which the units currently stands is used. (Note: it is a WML defense, so the higher it is, the weaker unit's defense is.)

* StandardUnitFilter
* loc_x, loc_y: x and y of terrain location.
* terrain: alternatively, the character of terrain.
* variable: the name of the variable into which to store the defense. default: "terrain_defense"
2017-07-29 11:34:54 +11:00
Jyrki Vesterinen
6a4f889f39 Fix build with Visual Studio 2013 2017-07-28 22:06:16 +03:00
Gregory A Lundberg
eaba48d982 Fix unused expression result (#1869)
clang reports a warning. This appears to be a missing return. Originally fell through resulting in null pointer reference.
2017-07-27 22:46:03 -04:00
Celtic Minstrel
d63d1e8cb9 fix #1870 2017-07-27 22:45:17 -04:00
Celtic Minstrel
52e77fb0ed Also avoid quick_exit on MinGW and non-Apple clang/libc++ 2017-07-27 22:39:32 -04:00
Celtic Minstrel
bc3842e673 fixup ac063ce
Seriously though, if it's broken for some trivial reason, don't just comment it out. Fix it properly.
2017-07-27 22:32:15 -04:00
gfgtdf
120b11c0e0 don't use std::quick_exit on old compilers 2017-07-28 04:02:40 +02:00
gfgtdf
b219b018e7 include <cstdlib> for std::quick_exit 2017-07-28 02:13:45 +02:00
gfgtdf
e7488f6f73 use std::quick_exit in loading screen
std::quick_exit doesn't call dtors and was made exactly for cases like this.
2017-07-27 20:20:29 +02:00
Jyrki Vesterinen
5a297ed1d6 Fix build with -Werror=address 2017-07-27 21:09:12 +03:00
gfgtdf
1810b6ae2c fixup travis tests 2017-07-27 19:43:30 +02:00
gfgtdf
4dda789e8e attempt to fix boost tests 2017-07-27 19:33:33 +02:00
gfgtdf
59947ae969 fix units with high mp beeing able to step over unreachable 2017-07-27 15:53:58 +02:00
Celtic Minstrel
ac063ce8e7 Try not to allow IME to intercept hotkeys
More work on this may be required, in particular for GUI2
2017-07-26 22:29:10 -04:00
Celtic Minstrel
382c469949 Fix inability to bind numeric keypad keys 2017-07-26 22:17:28 -04:00
Celtic Minstrel
ce74fe4330 Attempt to fix a crash in [music] (#1861) 2017-07-26 22:17:27 -04:00
Celtic Minstrel
4ce40f5992 WFL: Allow access to gamestate functions in ability formulas 2017-07-26 22:17:26 -04:00
Gregory A Lundberg
d89558b611 Corrections for clang autodoc comments (#1862) 2017-07-26 22:16:21 -04:00
Jyrki Vesterinen
74eda449bf Merge remote-tracking branch 'donovanamitchell/bug#1800'
This is a manual merge of pull request #1823.

Closes #1800.
2017-07-26 19:39:44 +03:00
gfgtdf
304f480813 update mainline for #1846 2017-07-26 16:43:49 +02:00
gfgtdf
77638c7b89 Update RELEASE_NOTES 2017-07-26 16:34:32 +02:00
gfgtdf
2ca349d3ba Merge pull request #1846 from DisherProject/master
Set village income and support to their expected default values in mp games
2017-07-26 16:31:23 +02:00
Charles Dang
67e3c76fca GUI2/Addon List: restrict markup to name and installation status fields
We don't want markup in any of the other fields. I still need to find a slightly better solution for the name
field, though. We don't want users to be able to use markup unnecessairly, but we do need markup to highlight
the names of ready-to-upload addons.

This fixes warnings about unescaped ampersands in the Author field.
2017-07-27 01:08:24 +11:00
Charles Dang
11b2732123 Fixup b4990801
The commit was incorrectly backported from accelerated_rendering, and getx was returning window height
while gety was still relying on the framebuffer surface.
2017-07-27 00:56:33 +11:00
Charles Dang
d8e2ddc72a Changelog entry for fc8e9cf07ea0
[ci skip]
2017-07-26 22:31:08 +11:00
Charles Dang
bc3f72b45b Update CB projectfile for 4e4d7b527
This is the same fix as applied to Scons in a3d884ef.
2017-07-26 22:29:22 +11:00
Charles Dang
bbfe46755e Hotkey: removed unused basic_handler class
Not sure what this was used for, but it's not used for anything now and is just confusing being around.
2017-07-26 22:13:14 +11:00
Charles Dang
3d8dbde03b GUI2: strip trailing spaces from utility macros
[ci skip]
2017-07-26 22:13:13 +11:00
Charles Dang
0b5ef105c9 GUI2: allowed window maximum_width/height keys to be validated as formulas
[ci skip]
2017-07-26 22:13:13 +11:00
Charles Dang
88ebb72b98 Addon Info: escape formatting when generating addon display title
This resolves the issue with having markup enabled for addon titles in the addon_list widget
as mentioned in cd357f28 and it stil allows the addons manager to apply formatting of its own.
2017-07-26 22:13:12 +11:00
Charles Dang
e550c1f67c GUI2/Styled Widget: enabled the virtual init function
I need this for some upcoming changes to the minimap widget that require an initialization
step on after canvas creation.
2017-07-26 22:13:11 +11:00
Charles Dang
cc3c9be5b0 Mouse Handler Base: formatting cleanup
# Conflicts:
#	src/mouse_handler_base.cpp
2017-07-26 22:13:11 +11:00
Charles Dang
79ba6ea55f Controller Base: shortened a few calls 2017-07-26 22:09:07 +11:00
Charles Dang
5b3da6157f Controller Base: formatting cleanup
Header additions are one-line setters being moved there.

# Conflicts:
#	src/controller_base.cpp
2017-07-26 22:09:07 +11:00
Charles Dang
ac723367c7 Removed unused CVideo argument from controller_base ctor
# Conflicts:
#	src/controller_base.cpp
2017-07-26 22:06:04 +11:00
Charles Dang
e11cc5f522 Format forum URLs correctly
[ci skip]

* Use https:// over http://
* Use 'forums' over 'forum'
2017-07-26 22:03:02 +11:00