24339 Commits

Author SHA1 Message Date
Lari Nieminen
fa1e37d71d EI: Fix Lua syntax error from 3783693cbe95
[ci skip]

(cherry-picked from commit 4d86af796ca46f204f958b712465a05bdfa0de75)
2018-10-07 03:18:03 +00:00
ln-zookeeper
733d8ff979 EI S03: Changed Mal-Kallat back to male
He was changed to female in f4d67031a436 even though he's addressed as "brother" in dialogue. Reported on the forums.

(cherry-picked from commit 3be2ff518781c7a7104e810707be64567cc26e27)
2018-10-07 03:18:03 +00:00
Iris Morelle
1ab0301064 wam: Update description and name for Modifications
They are no longer just for multiplayer mode (see issue #1475, commit
a09e2bb8583c6125f8c4e3157d6eba8bbd800b62).

[ci skip]

(cherry-picked from commit 39b05dd0dbc1fc14e50e7db19401651ec3eae154)
2018-10-07 03:18:02 +00:00
Celtic Minstrel
d849dfcf89 Add the advanced prefs entry for the deprecation setting
(cherry-picked from commit 9902a2df31aaa0755c10d2dbf8ea2954087e6a43)
2018-10-07 03:17:58 +00:00
ln-zookeeper
9b7e1ed383 UtBS: Corrected Sun Singer movetype from float to foot
(cherry-picked from commit 3cea4790b872803063854e28bffa40999ae00258)
2018-10-07 03:17:55 +00:00
Iris Morelle
0b3f14d63e campaignd: Set port allocation for version 1.14 2018-03-18 17:25:23 +11:00
Charles Dang
a43623ff2d Screenshot Notification: cleaned up and tweaked a few things
* Added textdomain closure missing from 267510ea076ce317d323da54bb81ccd255b93284
* Avoid use of invalidate_layout by having an em dash in the size field prior to
  saving. That's needed since GUI2 doesn't expand the label's canvas if its text
  is initially empty.
* Use a better button definition for the View button.
* Grouped Save and Close buttons together
2018-03-18 17:01:26 +11:00
Charles Dang
a18522acb8 File Dialog: removed label keys with empty values
[ci skip]

This doesn't do anything.
2018-03-18 17:01:24 +11:00
Celtic Minstrel
5008c72a22
Fixup wml.all_variables 2018-03-18 01:38:39 -04:00
doofus-01
f2cf0f1e5a
defense animation for Quenoth Warrior (will add Champion later) (#2595)
I'm going to merge this, possibly for git-illiteracy reasons, but if this causes problems, it doesn't have to permanently taint the stable branch.  We can fix it later.
2018-03-17 19:06:16 -07:00
Celtic Minstrel
7fcc813438 One more dunefolk tweak
Revert the change to Marauder blade resistance and instead raise Raider blade resistance
2018-03-17 18:52:31 -04:00
Celtic Minstrel
8d74b72031 fixup! Fix missing return in on_event() 2018-03-17 17:21:20 -04:00
Celtic Minstrel
a314876bf2 Use new persistent tags interface for [object] [objectives] [item] 2018-03-17 17:16:23 -04:00
Celtic Minstrel
c266b35528 Fix rabbits AI being broken by save-load 2018-03-17 17:16:22 -04:00
Celtic Minstrel
ddcbb4cb50 Add a more convenient way of registering custom saved game data 2018-03-17 17:16:22 -04:00
Celtic Minstrel
68d545c3be Add a couple more WML utility functions 2018-03-17 16:48:06 -04:00
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
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
loonycyborg
cdd1cb692b pot-update and regenerate doc files 2018-03-17 21:37:00 +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
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
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
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
79b7e08573 Fixup 3783693cbe95 (removed a C++-ism)
[ci skip]
2018-03-16 11:26:21 +11:00
Charles Dang
3783693cbe Campaigns: cleaned up more cases of deprecated Lua API usage
[ci skip]
2018-03-16 11:23:30 +11:00
ln-zookeeper
624a407c94 Fixed issues with NEW:VILLAGE_TOD
Changed the default probability from 25 to 100, because it looks like a bug when only part of villages of the same kind are lit at night. Restored the original probabilities for elven and coast villages, and fixed column alignment for village macro calls.

[ci skip]
2018-03-15 20:32:30 +02:00
Charles Dang
c07063a85c Further tweaks to Heavy Infantryman attack animation
[ci skip]

* Adjusted timings
* Disabled automatic sliding
2018-03-15 19:45:09 +11:00
Charles Dang
e3d136de76 Updated new Sylph sprite to the new Elvish palette
[ci skip]

Also cleaned up an area that was supposed to be transparent.
2018-03-15 15:05:55 +11:00
Charles Dang
a023c7989e New Elvish Sylph baseframe by Jetrel (@rkettering)
[ci skip]
2018-03-15 12:16:38 +11:00
Charles Dang
2493741651 Heavy Infantryman: fixed incorrect shadows in two frames
[ci skip]
2018-03-15 06:04:06 +11:00
Charles Dang
1f3f3a6658 Fixup 31a0a19d2e70e5e850e96e5f291152e12ff8727b
[ci skip]

Forgot to save some of these at the larger canvas size...
2018-03-15 05:00:34 +11:00
Charles Dang
7ffce2251a TRoW/EI: added new Jevyan and Ravanal sprites by sleepwalker
[ci skip]

https://forums.wesnoth.org/viewtopic.php?p=540837#p540837
https://forums.wesnoth.org/viewtopic.php?p=541707#p541707

Not wired in yet. I fixed the shadow on Ravanal's sprite (was the wrong color).
2018-03-14 16:56:37 +11:00
Charles Dang
31a0a19d2e New Heavy Infantryman attack animation by Zoomo
[ci skip]

https://forums.wesnoth.org/viewtopic.php?p=624673#p624673

Images were edited to fix the shadow color. Frame 1 was also removed, since it was
the same as the baseframe.

All frames were also resized to better center the sprite on the hex.
2018-03-14 12:04:35 +11:00
Charles Dang
0103959c36 Cleaned up deprecated API usage in core Lua
[ci skip]
2018-03-13 16:55:36 +11:00
Severin Glöckner
f97329a110 add a translation hint 2018-03-13 00:33:44 +01:00
Charles Dang
b92ee187b8 Cleaned up use of deprecated APIs in campaign Lua
[ci skip]
2018-03-13 08:06:11 +11:00
Charles Dang
443339d8a0 Updated default schedule ToD images
[ci skip]

Constructed from resources in images/unit_env/schedule (created by @Lordbob)
2018-03-13 06:12:33 +11:00
Charles Dang
1340c005b3 Fixed minor text errors reported on the wiki
[ci skip]

Added all to pofix except the extra space added before the Initiative ability's special note.
2018-03-13 04:11:54 +11:00