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

Fix variables tab in level editor #1289

Merged

Conversation

jaythebusinessgoose
Copy link
Contributor

Fixes variables tab to only show conflicts between the current file and its dependencies/dependants, and only apply fixes by modifying the current file instead of attempting to change every other file that conflicts with it.

This also hopefully fixes the resolve conflicts button breaking levels, since the resolving conflicts logic is simpler and makes sense now.

Some other changes are also included which help avoid conflicts being introduced in the first place, or fix related logic.

Fixes variables tab to only show conflicts between the current file and its dependencies/dependants, and only apply fixes by modifying the current file instead of attempting to change every other file that conflicts with it.

This also hopefully fixes the resolve conflicts button breaking levels, since the resolving conflicts logic is simpler and makes sense now.
…x some dependencies for tilecode suggestions.
1. The same tilename can be in the dependency with a different code, so this allows that tile to be cleared from the dependency anyway.
2. Two dependencies can have different tiles with the same code. This is not necessarily a conflict, as they may not depend on each other. When selecting one of these tiles, a new code will be assigned to avoid conflicts.
@jaythebusinessgoose jaythebusinessgoose merged commit d1b1e58 into spelunky-fyi:main Dec 17, 2024
5 checks passed
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.

2 participants