Skip to content

Commit

Permalink
Update image pages for webp extension.
Browse files Browse the repository at this point in the history
  • Loading branch information
Pentarctagon committed Apr 30, 2022
1 parent 9469f8a commit 9bfd432
Show file tree
Hide file tree
Showing 563 changed files with 1,463 additions and 1,465 deletions.
6 changes: 3 additions & 3 deletions data/ai/micro_ais/scenarios/guardians.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -396,7 +396,7 @@ separate attack Zone"
[command]
[message]
speaker=narrator
image=portraits/dwarves/guard.png
image=portraits/dwarves/guard.webp
caption= _ "Standard WML Guardian"
message= _ "This is the built-in WML guardian coded using 'ai_special=guardian'. These guardians attack if there is an enemy within their movement range, otherwise they do nothing (except maybe retreating to a village for healing)."
[/message]
Expand Down Expand Up @@ -433,7 +433,7 @@ separate attack Zone"
[command]
[message]
speaker=narrator
image=portraits/undead/archer.png
image=portraits/undead/archer.webp
caption= _ "Stationed Guardian"
message= _ "A 'stationed guardian' is another variation of the standard Wesnoth guardian with a somewhat more complex behavior than that of the 'return guardian'. Two positions are defined for it, a 'station' and a 'guarded location', as well as a 'distance'. The behavior is as follows:
- If no enemy is within 'distance' of the guard's current position, do nothing.
Expand Down Expand Up @@ -475,7 +475,7 @@ separate attack Zone"
[command]
[message]
speaker=narrator
image=portraits/nagas/fighter.png
image=portraits/nagas/fighter.webp
caption= _ "Zone Guardian"
message= _ "A zone guardian is a unit that, as the name says, guards a zone. It moves randomly inside this zone until an enemy enters it (or a separately defined enemy zone, see below). Applications might be the defense of a castle or a nesting area. The zone macro can be called with an optional enemy zone:
- If not specified, the zone guard attacks any enemy coming inside its guard zone.
Expand Down
4 changes: 2 additions & 2 deletions data/campaigns/Dead_Water/scenarios/01_Invasion.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,7 @@
[/modifications]
id=Cylanna
name= _ "Cylanna"
profile=portraits/cylanna.png
profile=portraits/cylanna.webp
side=1
x=21
y=9
Expand Down Expand Up @@ -311,7 +311,7 @@
[/modifications]
facing=se
animate=yes
profile=portraits/gwabbo.png
profile=portraits/gwabbo.webp
[/unit]

[message]
Expand Down
2 changes: 1 addition & 1 deletion data/campaigns/Dead_Water/scenarios/09_The_Mage.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -386,7 +386,7 @@
{TRAIT_LOYAL_HERO}
{TRAIT_QUICK}
[/modifications]
profile=portraits/caladon.png
profile=portraits/caladon.webp
[/unit]

[if]
Expand Down
2 changes: 1 addition & 1 deletion data/campaigns/Dead_Water/units/Brawler.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
[unit_type]
id=Merman Brawler
name= _ "Merman Brawler"
profile="portraits/brawler.png"
profile="portraits/brawler.webp"
race=merman
image="units/merfolk/brawler.png"
hitpoints=38
Expand Down
2 changes: 1 addition & 1 deletion data/campaigns/Dead_Water/units/Child_King.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
name= _ "Child King"
race=merman
image="units/merfolk/child_king.png"
profile="portraits/kai_krellis.png"
profile="portraits/kai_krellis.webp"
hitpoints=22
movement_type=swimmer
movement=6
Expand Down
2 changes: 1 addition & 1 deletion data/campaigns/Dead_Water/units/Citizen.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
[unit_type]
id=Merman Citizen
name= _ "Merman Citizen"
profile="portraits/brawler.png"
profile="portraits/brawler.webp"
race=merman
image="units/merfolk/citizen.png"
hitpoints=20
Expand Down
2 changes: 1 addition & 1 deletion data/campaigns/Dead_Water/units/Soldier_King.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
name= _ "Soldier King"
race=merman
image="units/merfolk/soldier_king.png"
profile="portraits/kai_krellis2.png"
profile="portraits/kai_krellis2.webp"
hitpoints=52
movement_type=swimmer
movement=7
Expand Down
2 changes: 1 addition & 1 deletion data/campaigns/Dead_Water/units/Warrior_King.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
name= _ "Warrior King"
race=merman
image="units/merfolk/warrior_king.png"
profile="portraits/kai_krellis2.png"
profile="portraits/kai_krellis2.webp"
hitpoints=64
movement_type=swimmer
movement=7
Expand Down
2 changes: 1 addition & 1 deletion data/campaigns/Dead_Water/units/Young_King.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
name= _ "Young King"
race=merman
image="units/merfolk/young_king.png"
profile="portraits/kai_krellis.png"
profile="portraits/kai_krellis.webp"
hitpoints=38
movement_type=swimmer
movement=6
Expand Down
2 changes: 1 addition & 1 deletion data/campaigns/Dead_Water/utils/bigmap.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
keep_aspect_ratio=yes
[/background_layer]
[background_layer]
image=maps/dw.png
image=maps/dw.webp
scale_vertically=yes
scale_horizontally=no
keep_aspect_ratio=yes
Expand Down
8 changes: 4 additions & 4 deletions data/campaigns/Delfadors_Memoirs/scenarios/01_Overture.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -44,10 +44,10 @@
placement=leader
facing=sw
[/unit]
{NAMED_UNIT 2 (Great Mage) 8 9 "First Oracle" (_"First Oracle") (profile=portraits/oracle1.png)} {FACING se}
{NAMED_UNIT 2 (Great Mage) 10 11 "Second Oracle" (_"Second Oracle") (profile=portraits/oracle2.png)} {FACING sw}
{NAMED_UNIT 2 (Great Mage) 8 13 "Third Oracle" (_"Third Oracle") (profile=portraits/oracle3.png)} {FACING nw}
{NAMED_UNIT 2 (Great Mage) 6 11 "Fourth Oracle" (_"Fourth Oracle") (profile=portraits/oracle4.png)} {FACING ne}
{NAMED_UNIT 2 (Great Mage) 8 9 "First Oracle" (_"First Oracle") (profile=portraits/oracle1.webp)} {FACING se}
{NAMED_UNIT 2 (Great Mage) 10 11 "Second Oracle" (_"Second Oracle") (profile=portraits/oracle2.webp)} {FACING sw}
{NAMED_UNIT 2 (Great Mage) 8 13 "Third Oracle" (_"Third Oracle") (profile=portraits/oracle3.webp)} {FACING nw}
{NAMED_UNIT 2 (Great Mage) 6 11 "Fourth Oracle" (_"Fourth Oracle") (profile=portraits/oracle4.webp)} {FACING ne}
[/side]
# wmllint: validate-on

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -514,7 +514,7 @@
#po: addressing inferior, use them here.
speaker=narrator
message=_"WHO ENTERS THE TOMB OF AN-USRUKHAR?"
image="portraits/tomb-guardian.png"
image="portraits/tomb-guardian.webp"
[/message]
[message]
speaker=Delfador
Expand All @@ -526,7 +526,7 @@
#po: meaning to straddle but with a secondary sense of "to
#po: dominate", and connotations of gigantism.
message=_"I am the will of An-Usrukhar, greatest of mages, he who bestrode Irdya in the morning of time, who sleeps now in a death beyond death until the unmaking of the world."
image="portraits/tomb-guardian.png"
image="portraits/tomb-guardian.webp"
[/message]
[message]
speaker=Delfador
Expand All @@ -535,7 +535,7 @@
[message]
speaker=narrator
message=_"Living...? I see that it is so. Your breath stirs dust that has lain untouched since the Primal Aeon. And it was foretold that one like you would come."
image="portraits/tomb-guardian.png"
image="portraits/tomb-guardian.webp"
[/message]
[message]
speaker=Delfador
Expand All @@ -547,7 +547,7 @@
#po: for a long and indefinite span of time. The variant has
#po: mystical connotations.
message=_"Foretold in the Primal Aeon, years past beyond your counting. An-Usrukhar the Great, he of whom I am but the tiniest shade and fragment, foresaw in the Mirror of Evanescent Time that a living man would come here to be tested. AND I AM THE TEST!"
image="portraits/tomb-guardian.png"
image="portraits/tomb-guardian.webp"
[/message]
[message]
speaker=Delfador
Expand All @@ -559,7 +559,7 @@
[message]
speaker=narrator
message=_"It is only given to the small not to feel the hand of fate on their shoulder; the great must suffer its weight whether they will or no. Delfador, mage of Wesnoth, ARE YOU A SERVANT OF THE LIGHT?"
image="portraits/tomb-guardian.png"
image="portraits/tomb-guardian.webp"
[/message]
[message]
speaker=Delfador
Expand All @@ -572,7 +572,7 @@
#po: Garard II will be murdered by his wife and son, and the
#po: usurpation of Asheviere will begin.
message=_"Your king will die in an eyeblink and your kingdom in the drawing of a breath. Delfador, I ask you again, ARE YOU A SERVANT OF THE LIGHT?"
image="portraits/tomb-guardian.png"
image="portraits/tomb-guardian.webp"
[/message]
[message]
speaker=Delfador
Expand All @@ -584,7 +584,7 @@
#po: that of "ground" or "essence". This sense survives in
#po: modern English in constructions like "It matters a lot."
message=_"Peoples vanish and lands wither under the pitiless gaze of eternity; the true matter of the world is deeper. Delfador, I ask you a third time, and on your answer hangs your life: ARE YOU A SERVANT OF THE LIGHT?"
image="portraits/tomb-guardian.png"
image="portraits/tomb-guardian.webp"
[/message]
[message]
speaker=Delfador
Expand All @@ -597,7 +597,7 @@
[message]
speaker=narrator
message=_"IT IS WELL. Take up, O servant of light, the Staff of An-Usrukhar. The trials before you will be great. So is its power."
image="portraits/tomb-guardian.png"
image="portraits/tomb-guardian.webp"
[/message]

# Let the staff be taken
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,112 +18,112 @@
story=_"Kalenz, Chantal, and their troops departed to ride against the remnants of the orcish Great Horde. Delfador returned to Weldyn with the King and his gift from the elves, the Book of Crelanu. However, despite the victory, Delfador was deeply worried by the undead menace. On the way back, they met with Lionel who was arriving with reinforcements, and were deeply saddened to learn that Leollyn had died under very suspicious circumstances."
[/part]
[part]
background=story/portraits/garard-large.png
background=story/portraits/garard-large.webp
story={CAPTION ( _ "Garard II")} + _ "We have assembled here with good and bad news: The good news is that the orcs have been defeated decisively. Their Great Chief is dead and their army has been scattered. We owe much of this great victory to Delfador."
[/part]
[part]
background=story/portraits/young_delfador-large.png
background=story/portraits/young_delfador-large.webp
story={CAPTION ( _ "Delfador")} + _ "I did very little, sire. It was actually the elves who saved us on that day."
[/part]
[part]
background=portraits/lionel.png
background=portraits/lionel.webp
story={CAPTION ( _ "Lionel")} + _ "We owe the elves nothing, sire. They refused to send their archers when we needed them!"
[/part]
[part]
background=story/portraits/garard-large.png
background=story/portraits/garard-large.webp
story={CAPTION ( _ "Garard II")} + _ "Peace, Lionel. The elves fought well and have earned our respect. But this council is here to address an alarming matter. Young master Delfador here reports of an undead threat. He was able to fight them off at Parthyn Ford, but more are coming."
[/part]
[part]
background=portraits/lionel.png
background=portraits/lionel.webp
story={CAPTION ( _ "Lionel")} + _ "With your permission, sire, I will take some handpicked men north and crush these abominations."
[/part]
[part]
background=story/portraits/young_delfador-large.png
background=story/portraits/young_delfador-large.webp
story={CAPTION ( _ "Delfador")} + _ "Your Majesty, these are no stray undead; this lunatic, Iliah-Malal, has opened a portal to the Land of the Dead. Unless we close this portal soon, the relatively small numbers of enemy troops he now commands will swell into an endless stream of undead. And our army, having equipped and trained primarily to fight raiding orcs, is not well suited to fight even the forces he fields now. Mages, in combination with heavy infantry, are most effective against them."
[/part]
[part]
background=story/portraits/sagus.png
background=story/portraits/sagus.webp
story={CAPTION ( _ "Sagus")} + _ "I think our young and inexperienced friend overestimates the powers of the enemy. I’m sure they’ll be no match for Wesnothian troops."
[/part]
[part]
background=story/portraits/young_delfador-large.png
background=story/portraits/young_delfador-large.webp
story={CAPTION ( _ "Delfador")} + _ "I have fought these things, and I know what I am talking about. This is a deadly serious threat."
[/part]
[part]
background="portraits/humans/mage-red.png"
background="portraits/humans/mage-red.webp"
story={CAPTION ( _ "Artuman")} + _ "Are you saying Master Sagus speaks idly? Somebody needs to teach you respect!"
[/part]
[part]
background=story/portraits/garard-large.png
background=story/portraits/garard-large.webp
story={CAPTION ( _ "Garard II")} + _ "You have proven your bravery, young Delfador, but I think you underestimate the might of our army."
[/part]

[part]
background=portraits/lionel.png
background=portraits/lionel.webp
story={CAPTION ( _ "Lionel")} + _ "Sire, may I lead some part of your army to crush the undead?"
[/part]
[part]
background=story/portraits/garard-large.png
background=story/portraits/garard-large.webp
story={CAPTION ( _ "Garard II")} + _ "No, Lionel. This should be too simple a task for my best general. I will send Dudpon instead with most of my army."
[/part]
[part]
background=portraits/lionel.png
background=portraits/lionel.webp
story={CAPTION ( _ "Lionel")} + _ "What are my orders, then?"
[/part]
[part]
background=story/portraits/garard-large.png
background=story/portraits/garard-large.webp
story={CAPTION ( _ "Garard II")} + _ "As a reward for Delfador’s bravery, I am temporarily appointing you and your men to be his personal guard. Make sure nothing untoward happens to him, as the circumstances of Leollyn’s death are not fully clear."
[/part]
[part]
background=portraits/lionel.png
background=portraits/lionel.webp
story={CAPTION ( _ "Lionel")} + _ "As you command, sire!"
[/part]
[/story]

[story]
[part]
music=transience.ogg
background=story/landscape-battlefield.jpg
background=story/landscape-battlefield.webp
story=_"And so it was that the Wesnothian army left Weldyn to seek out and crush Iliah-Malal’s forces. But the campaign proved a disaster. Less than a handful of terrified soldiers returned. The Wesnoth army had been destroyed, with the few survivors fleeing in terror. Nothing stood now between Iliah-Malal’s army and Weldyn..."
[/part]
[part]
background=story/portraits/garard-large.png
background=story/portraits/garard-large.webp
story={CAPTION ( _ "Garard II")} + _ "This is a disaster. I should have led the army myself and died with them. And I should have listened to you, Delfador."
[/part]
[part]
background=portraits/lionel.png
background=portraits/lionel.webp
story={CAPTION ( _ "Lionel")} + _ "We will fight till the last man, my King."
[/part]
[part]
background=story/portraits/young_delfador-large.png
background=story/portraits/young_delfador-large.webp
story={CAPTION ( _ "Delfador")} + _ "My Lord, things are very grave indeed, but all is not yet lost. There is still hope if we do not falter."
[/part]
[part]
background=story/portraits/garard-large.png
background=story/portraits/garard-large.webp
story={CAPTION ( _ "Garard II")} + _ "Yes, Delfador. This time we will follow your advice."
[/part]
[part]
background=story/portraits/young_delfador-large.png
background=story/portraits/young_delfador-large.webp
story={CAPTION ( _ "Delfador")} + _ "There are three things we must do. First, we must organize our defenses as best we can. Second, we need to ask the elves to create a diversion that will distract and delay Iliah-Malal. The elves will not be able to fight the undead head-on on the field, but they can harass them by striking from forests where the undead dare not follow. And last, I have been studying the Book of Crelanu and I think I now know how to close Iliah-Malal’s portal to the Land of the Dead. I will need a small escort, but this must be done immediately."
[/part]
[part]
background=portraits/lionel.png
background=portraits/lionel.webp
story={CAPTION ( _ "Lionel")} + _ "My Lord, I can arrange the defenses around the city."
[/part]
[part]
background=story/portraits/garard-large.png
background=story/portraits/garard-large.webp
story={CAPTION ( _ "Garard II")} + _ "Very well, Lionel, take command."
[/part]
[part]
background=story/portraits/young_delfador-large.png
background=story/portraits/young_delfador-large.webp
story={CAPTION ( _ "Delfador")} + _ "These are only the first steps. If we are to defeat the undead, we need to reform the composition of our army. First, you must recall every mage in Wesnoth, from Alduin and elsewhere. And you must prepare more heavy infantry."
[/part]
[part]
background=portraits/lionel.png
background=portraits/lionel.webp
story={CAPTION ( _ "Lionel")} + _ "But heavy infantry is too slow! And mages in the army? Who can command these know-it-alls?"
[/part]
[part]
background=story/portraits/garard-large.png
background=story/portraits/garard-large.webp
story={CAPTION ( _ "Garard II")} + _ "Delfador could. You will command the heavy infantry. Make sure to shield our mages in battle, for they are precious. Now go, close the portal and come back soon!"
[/part]
[/story]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
[part]
# Asheviere marries Garard II in 478.
story= _ "But Delfador was not alone in having the King’s ear; there was one yet closer to him. The Queen’s power was rising..."
background="story/httt_story3.jpg"
background="story/httt_story3.png"
[/part]
[part]
# Eldred's raid takes place in 496
Expand Down Expand Up @@ -71,7 +71,7 @@
id=Eldred
name=_ "Eldred"
type=General
profile="portraits/eldred.png"
profile="portraits/eldred.webp"
facing=sw
[/leader]
[ai]
Expand Down
4 changes: 2 additions & 2 deletions data/campaigns/Delfadors_Memoirs/utils/bigmap.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
keep_aspect_ratio=yes
[/background_layer]
[background_layer]
image=maps/titlescreen.png
image=maps/titlescreen.webp
scale_vertically=yes
scale_horizontally=no
keep_aspect_ratio=yes
Expand All @@ -31,7 +31,7 @@
#
# Hand-hack this section strictly at your own risk.
#
# trackplacer: map=data/core/images/maps/titlescreen.png
# trackplacer: map=data/core/images/maps/titlescreen.webp
#
#define SEARCH_STAGE1
{NEW_REST 200 622}
Expand Down

0 comments on commit 9bfd432

Please sign in to comment.