Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Backport map_file feature fixes for 1.14 #4671

Merged
merged 1 commit into from
Dec 29, 2019
Merged

Conversation

fluffbeast
Copy link
Contributor

This branch combines fixes needed for using map_file.

See issues #4407, #4397, #4519, and #4652 for details.

This branch combines fixes needed for using map_file.

See issues wesnoth#4407, wesnoth#4397, wesnoth#4519, and wesnoth#4652 for details.
@Pentarctagon
Copy link
Member

Was changing map_data to map_file on just Aethermaw intended?

@fluffbeast
Copy link
Contributor Author

Yes, that was intended as an example, and to match the change in #4407.

@gfgtdf
Copy link
Contributor

gfgtdf commented Dec 28, 2019

well even though its technically a 'bugfix', backporting this would still encourage people to write code that is incompatible to older 1.14 versions for a rather little gain. So in fact i think really think we shodul put this into 1.14 . I think its better if we change the documentation to just say that map_file is not supported in [multiplayer] in 1.14.

@Pentarctagon
Copy link
Member

Pentarctagon commented Dec 28, 2019

Yeah, I was wondering why a new API feature was added mid-way through 1.14. Though I don't think there's any reason to not do both (change the documentation and fix the bugs).

@gfgtdf
Copy link
Contributor

gfgtdf commented Dec 28, 2019

Yeah, I was wondering why a new API feature was added mid-way through 1.14

well it wasn't really added mid way it was always there in a halfway broken and undocuemented way.

@Pentarctagon
Copy link
Member

I mean that according to the wiki, the map_file attribute was newly added in 1.14.3, when it really shouldn't have been added to 1.14 at all at that point. Given that it's already in 1.14 though, I don't think it really makes sense to intentionally leave it broken, especially given the fixes don't themselves break compatibility and are also relatively small.

@Vultraz Vultraz merged commit c650498 into wesnoth:1.14 Dec 29, 2019
@fluffbeast fluffbeast deleted the map_file branch December 29, 2019 01:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants