Compatibility-breaking changes between 1.16 and 1.17/1.18

The place to post your WML questions and answers.

Moderator: Forum Moderators

Forum rules
  • Please use [code] BBCode tags in your posts for embedding WML snippets.
  • To keep your code readable so that others can easily help you, make sure to indent it following our conventions.
User avatar
Ravana
Forum Moderator
Posts: 3313
Joined: January 29th, 2012, 12:49 am
Location: Estonia
Contact:

Re: Compatibility-breaking changes between 1.16 and 1.17/1.18

Post by Ravana »

.png is not redirected either, so if using same way it wont be compatibility breaking.

$ filesystem.have_asset("images","maps/titlescreen.png")
false
$ filesystem.have_asset("images","maps/titlescreen.webp")
true
User avatar
octalot
General Code Maintainer
Posts: 818
Joined: July 17th, 2010, 7:40 pm
Location: Austria

Re: Compatibility-breaking changes between 1.16 and 1.17/1.18

Post by octalot »

Although it isn't redirected for have_asset, .png is redirected when it gets to src/picture.cpp's load_image_file(const image::locator&).
User avatar
Ravana
Forum Moderator
Posts: 3313
Joined: January 29th, 2012, 12:49 am
Location: Estonia
Contact:

Re: Compatibility-breaking changes between 1.16 and 1.17/1.18

Post by Ravana »

So it is only visual difference not compatibility.
white_haired_uncle
Posts: 1456
Joined: August 26th, 2018, 11:46 pm
Location: A country place, far outside the Wire

Re: Compatibility-breaking changes between 1.16 and 1.17/1.18

Post by white_haired_uncle »

https://wiki.wesnoth.org/ModificationWML:
require_modification: a boolean value; if set to yes, all players have to have this modification installed to join the game. Default no in older versions and yes since 1.18.
I don't know if this is "Compatibility-breaking", but it's probably worth a note here either way.
Speak softly, and carry Doombringer.
User avatar
Pentarctagon
Project Manager
Posts: 5730
Joined: March 22nd, 2009, 10:50 pm
Location: Earth (occasionally)

Re: Compatibility-breaking changes between 1.16 and 1.17/1.18

Post by Pentarctagon »

Added.
99 little bugs in the code, 99 little bugs
take one down, patch it around
-2,147,483,648 little bugs in the code
Post Reply