Compatibility-breaking changes between 1.16 and 1.17/1.18
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.
Re: Compatibility-breaking changes between 1.16 and 1.17/1.18
.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
$ filesystem.have_asset("images","maps/titlescreen.png")
false
$ filesystem.have_asset("images","maps/titlescreen.webp")
true
Re: Compatibility-breaking changes between 1.16 and 1.17/1.18
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&).
Re: Compatibility-breaking changes between 1.16 and 1.17/1.18
So it is only visual difference not compatibility.
-
- 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
https://wiki.wesnoth.org/ModificationWML:
I don't know if this is "Compatibility-breaking", but it's probably worth a note here either way.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.
Speak softly, and carry Doombringer.
- 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
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
take one down, patch it around
-2,147,483,648 little bugs in the code