71454 Commits

Author SHA1 Message Date
Celtic Minstrel
d4e08359dd Fix missing return in on_event() 2018-03-17 16:48:04 -04:00
Celtic Minstrel
e776635023 Clear up redundancies in helper compatibility and deprecate the array functions 2018-03-17 16:48:03 -04:00
Celtic Minstrel
4b08a40181 Deprecate wesnoth.set_music 2018-03-17 16:48:02 -04:00
Celtic Minstrel
6e4d09d2a5 Bump up a couple of deprecation levels at @vultraz's request 2018-03-17 16:48:01 -04:00
Celtic Minstrel
08ec9017b5 Lua API: Some tweaks of the experimental wml module 2018-03-17 16:48:00 -04:00
Celtic Minstrel
23aac4f72f Cleanup of fef953a48e258e5b07ff4559eeff5571103d58c1
- Fix the rabbit AI
- Enable invoke_synced_command to also call (some) built-in commands
  and give an error message in the case of an unknown command
- Remove some unnecessary implementation details
2018-03-17 16:48:00 -04:00
loonycyborg
f80b7c40f2 Updated Czech translation 2018-03-17 23:44:42 +03:00
Jyrki Vesterinen
107fed1dc7 Add ability to save screenshots as JPEG to changelog 2018-03-17 21:16:22 +02:00
Jyrki Vesterinen
9609281711 Remove outdated changelog entry
I changed the default screenshot format back to PNG in commit 267510ea076ce317d323da54bb81ccd255b93284.
2018-03-17 21:09:34 +02:00
gfgtdf
214e46c895
Update changelog.md 2018-03-17 20:05:27 +01:00
gfgtdf
8acb78b609
Update changelog.md 2018-03-17 20:02:42 +01:00
stevecotton
29e3468b91 LoW S14 Objectives, reinforcements, edit repetitive dialog (ok for string freeze) (#2585)
Objectives: note that the death of Galtrid is a losing condition

Reinforcements: In multiplayer, Landar's L3 troops that join on turn 9
now join his side, instead of trying to join side 13 (and ending up on
Kalenz' side).

Dialog: the following conversation happened on both turn 1 and turn 9.
Having 6 repeated messages in a row gave a strong sense of deja vu,
and I thought that a bug had repeated an event. This commit cuts the
repetition.

* Elf: "Kalenz! We come to fight beside you!"
* Kalenz: "Where is the rest of the elvish army? ...
* Elf: "The Great Council has decided it was too risky ...
* Landar: "That is well! If the Ka’lian is too fearful or blind ...
* Cleodil: "It is not well that we have become so divided as this."
* Kalenz: "No, it is not. But ...
2018-03-17 20:53:25 +02:00
gfgtdf
ff31a99aa2
add bar_offset_x/y to [unit_type]
this should probably be opimized later so that it does not need the config lookup on each redraw, but that can be done 1.13.12
2018-03-17 19:47:30 +01:00
loonycyborg
cdd1cb692b pot-update and regenerate doc files 2018-03-17 21:37:00 +03:00
loonycyborg
828aee9416 Changed docbook xsl path back so it works for me 2018-03-17 21:28:35 +03:00
loonycyborg
45311b2b0e Updated Czech translation 2018-03-17 21:28:35 +03:00
Celtic Minstrel
5c3f04518d Attempt to address RIPLIB violations in Raider -> Marauder advancement
- Grant Marauder the mountain movement+defense of the Raider
- Reduce Raider hills defense to match the Marauder
  (avoiding reduction on level-up)
- Adjust Marauder resistances
2018-03-17 14:27:29 -04:00
Celtic Minstrel
c8f95b1bf5 Simplify Piercer resistance definition by only listing those that differ from the movetype 2018-03-17 14:27:29 -04:00
Celtic Minstrel
ee8077ea14 Dunefolk balancing tweaks
- Burner line: -20% cold
- Soldier line: -10% cold
- Soldier line: possibility of fearless trait
- Rover line: +10% pierce
- Piercer: +10% impact
- Reduced Piercer XP
- Increased Rider XP
2018-03-17 14:27:29 -04:00
doofus-01
003942410f [UtBS] Quenoth Mystic and Sun Singer line animations (#2579)
* Initial pass at sun singer animations

* adding sun-shyde and generalizing fire animations

* sun-singer healing anim, and change of default image

* mystic healing animation, and move mystic images to sub-directory

* harmonized sprite file naming scheme for sun-shyde with sun-singer
2018-03-17 19:50:16 +02:00
Jyrki Vesterinen
81d965cdc3 Fix C++ unit test failures
For the record, the code I removed from screenshot_notification.cpp was
from an earlier iteration of the dialog, no longer necessary with current
design.
2018-03-17 15:28:17 +02:00
Jyrki Vesterinen
19ac9c9560 Changelog entry for commit c5e972b8b4b2dc0355dd05f2527c90c985de40a9 2018-03-17 14:11:14 +02:00
Jyrki Vesterinen
c5e972b8b4 Disallow accessing files whose names are in the default ignore list 2018-03-17 14:01:28 +02:00
Jyrki Vesterinen
eed3927d12 Move default filename ignore list to filesystem.hpp
Also use a custom class for it instead of a pair of vectors of strings.
2018-03-17 14:01:28 +02:00
RatArmy
16c822cbb4 text_box_base: Fix segfault when type characters more than limit by IME (#2666)
pango_text.set_text() is not check whether the text over the maximum
length, so change it to insert_text()
2018-03-17 21:14:18 +11:00
Jyrki Vesterinen
05da076e92 Build fixes 2018-03-17 00:23:03 +02:00
Jyrki Vesterinen
267510ea07 Show screenshot window before saving the screenshot
In particular, this allows the player to choose the filename before saving,
including the extension. If support for target format is present, Wesnoth
honors the extension and saves the screenshot in that format.

I also changed the default screenshot format back to PNG due to quality
issues JPEG has with pixel art. See discussion in pull request #2655.

This commit doesn't introduce any string changes. I used existing strings
for everything (sometimes having to take them from another textdomain).
2018-03-16 23:45:36 +02:00
gfgtdf
f6428edabd
Update RELEASE_NOTES 2018-03-16 19:53:39 +01:00
Jyrki Vesterinen
b3f2169ca7 Fix build with Visual Studio 2013 2018-03-16 20:07:05 +02:00
Sofartin
84ce193ef8 Fixed Xcode project after #2647 2018-03-16 12:51:41 -05:00
Charles Dang
2a6ba6924b Updated VS projectfile
[ci skip]
2018-03-17 02:28:59 +11:00
Alexander van Gessel
0f3d1c4a36
Merge pull request #2647 from AI0867/base64-refactor
Base64 refactor
2018-03-16 15:44:39 +01:00
Charles Dang
6a175d1bbc Removed commented out stuff from fef953a48e25 2018-03-17 00:41:45 +11:00
Charles Dang
95d9eb7f1b Unit Attack: removed the Choose Weapon text
[ci skip]

Legacy from the GUI1 dialog, not really in line with our current UI.
Replaced it with a spacer.
2018-03-17 00:41:33 +11:00
Charles Dang
134353f863 Further cleanup of deprecated Lua API usecases (inc. ones from fef953a)
[ci skip]
2018-03-17 00:41:32 +11:00
gfgtdf
10a3ef1dac
Merge pull request #2663 from gfgtdf/no_syncedcommand
No synced command
2018-03-16 13:48:22 +01:00
gfgtdf
fef953a48e remove ai.synced_command
fixes #1649 . ai.synced_command could easily be used to implement all types of
undeteced cheats so it was removed. As a replacement this commit adds a
[custom_command] synced command that just calls
wesnoth.game_events.on_synced_command which calls a lua handler that
must first be set.
2018-03-16 13:43:05 +01:00
gfgtdf
e752a172d1 fix [do_command] 2018-03-16 13:43:00 +01:00
Charles Dang
85f98fc4d4 Bump map border layers
[ci skip]

Fixes map borders drawing over certain editor overlays. Not sure why UMC editor overlays
weren't affected...

Should also preempt other such issues, since we always want borders to draw on top of
everything.
2018-03-16 22:17:37 +11:00
Charles Dang
55866694ff Editor: added overlay to Fake Shroud terrain
[ci skip]
2018-03-16 20:23:47 +11:00
Charles Dang
2a7b8885a5 GUI2/Canvas: add missing ctor entries for drawn_shapes_ 2018-03-16 18:54:43 +11:00
Charles Dang
5c5eeac595 Increased JPG screenshot quality
Feedback indicated 50 was too low. However, the suggested value of 100 produces quite
large files. So I compromised and went with 75.
2018-03-16 18:25:53 +11:00
Charles Dang
f28136af6b Deprecation: added documentation, tweaked, and cleaned up few things
* Formatting cleanup
* Fixed copyright year
* Don't use copy-initialization of string_maps
* Tweaked the FOR_REMOVAL message. It's a little confusing to specify "next version", since
  the version given may not necessarily be the next version.
2018-03-16 18:16:20 +11:00
Alexander van Gessel
4e11f6b46f
Switch to standard base64
The exact format is unimportant, what matters is that the nonce contains
enough entropy. Crypt64 was originally chosen because it was used elsewhere.
Raw bytes would also work, but would be less readable if inspected manually.
2018-03-16 07:57:58 +01:00
Alexander van Gessel
9932ed0999
Use common crypt64::encode in server 2018-03-16 07:57:58 +01:00
Alexander van Gessel
b753b33239
Add unit tests for base64 and crypt64 2018-03-16 07:57:57 +01:00
Alexander van Gessel
0ed7ff100a
Factor out base64 and crypt {en,de}coding
Base64 according to RFC4648.
Crypt64 is whatever crypt() does.

The two radix-64 encodings share less code than I would like,
because base64 is stream-oriented and therefore big-endian,
while crypt is little-endian.
2018-03-16 07:57:51 +01:00
Charles Dang
cec4f0dd20 uintmax_t is part of the standard lib, no need to use the Boost alias 2018-03-16 17:29:00 +11:00
Celtic Minstrel
82fd82d534 Accept [and] and [or] in [filter_wml] 2018-03-16 17:10:59 +11:00
Charles Dang
79b7e08573 Fixup 3783693cbe95 (removed a C++-ism)
[ci skip]
2018-03-16 11:26:21 +11:00