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

Core: move region and location management to worlds #4028

Open
wants to merge 13 commits into
base: main
Choose a base branch
from

Conversation

alwaysintreble
Copy link
Collaborator

@alwaysintreble alwaysintreble commented Oct 4, 2024

What is this fixing or adding?

This moves the region, location, and entrance caches to all be per world. There's a layer of back compatibility so all of the multiworld related helpers still work, and multiworld.regions access still works. latter will need to be deprecated and dropped eventually but unsure if any of the helpers need to be removed, as I haven't looked too deeply into all the core usages of them.

How was this tested?

A bunch of generations with solo Messenger, multiworld, and item link generations.

If this makes graphical changes, please attach screenshots.

@github-actions github-actions bot added the affects: core Issues/PRs that touch core and may need additional validation. label Oct 4, 2024
BaseClasses.py Outdated Show resolved Hide resolved
BaseClasses.py Outdated Show resolved Hide resolved
BaseClasses.py Outdated Show resolved Hide resolved
@alwaysintreble alwaysintreble marked this pull request as ready for review November 18, 2024 23:47
@Exempt-Medic Exempt-Medic added waiting-on: peer-review Issue/PR has not been reviewed by enough people yet. waiting-on: world-maintainer Issue/PR is waiting for feedback or approval by the maintainer of a world. is: refactor/cleanup Improvements to code/output readability or organizization. is: enhancement Issues requesting new features or pull requests implementing new features. labels Nov 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
affects: core Issues/PRs that touch core and may need additional validation. is: enhancement Issues requesting new features or pull requests implementing new features. is: refactor/cleanup Improvements to code/output readability or organizization. waiting-on: peer-review Issue/PR has not been reviewed by enough people yet. waiting-on: world-maintainer Issue/PR is waiting for feedback or approval by the maintainer of a world.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants