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
Replace deprecated share_maps and share_view with share_vision #6498
Conversation
Hmm, where are those ...share_view tests defined? Did it break just because I renamed the tests to match the updated code? |
The file |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Were all the edited scenarios checked to see if the update works as intended? Otherwise we might be preparing for a flood of bugs.
Also, it goes like this: In any case, the edits look fine. |
I checked the test scenario and a few of the campaign scenarios and didn't see anything obviously wrong but I'd still prefer for others to check this as I'm not entirely sure of 'correct' behaviour.
That's basically how I read it too. |
data/campaigns/Legend_of_Wesmere/scenarios/chapter1/03_Kalian_under_Attack.cfg
Show resolved
Hide resolved
All looks good to me. I haven't tested in-game. |
Should I wait till someone else does some testing before merging? |
I've tested all the campaign changes except for the LoW ones. The LoW ones look right, but as it's getting rewritten anyway I didn't see the need to test. My feeling is to merge, but as it's campaign content I think the decision has to be made by @nemaara rather than me. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Upcoming rework has no bearing on making improvements to the current version.
@Wedge009 I've added a few comments about possibly adding comments, but feel free to merge as-is or with those as you feel appropriate. |
Closes wesnoth#6496. share_maps=yes -> share_vision=shroud share_view=yes -> share_vision=all
bc3b0b8
to
505a9cb
Compare
…ed effect when the player finds her.
@stevecotton Thanks for your review. If you can just double-check the second commit relating to the sharing of Chantal's side's vision and advise whether or not it's okay, then I'll merge or correct accordingly. |
I think it makes sense to backport all of this. Now we've tested DM S11 on 1.16, I'm confident that these changes won't introduce any bugs. |
Closes #6496.
Not sure if I'm understanding the documentation correctly but I interpreted
share_maps=yes
asshare_vision=shroud
andshare_view=yes
asshare_vision=all
.Also not sure if it's worth back-porting, since there's the potential to break compatibility for games in progress. But if reviewers think it's okay, I can back-port too.