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

rooms: use flip status flag for finding rooms #2373

Merged
merged 1 commit into from
Jan 24, 2025

Conversation

lahm86
Copy link
Collaborator

@lahm86 lahm86 commented Jan 24, 2025

Resolves #2362.
Resolves #2370.

Checklist

  • I have read the coding conventions
  • I have added a changelog entry about what my pull request accomplishes, or it is an internal change
  • I have added a readme entry about my new feature or OG bug fix, or it is a different change

Description

This introduces a flip status flag on rooms so that we can avoid yielding rooms that are not in the correct state when finding one by position.

It'd be good to test saving/loading in different flip states, and while in photo mode, issue /flip in a flipmap area to ensure everything looks good.

I may follow this up soon with getting rooms handled more commonly in TRX for such things as main reading/loading and handling flipmaps to reduce some duplication.

This introduces a flip status flag on rooms so that we can avoid
yielding rooms that are not in the correct state when finding one by
position.

Resolves LostArtefacts#2362.
Resolves LostArtefacts#2370.
@lahm86 lahm86 added TRX bug A bug with TRX TR2 TR1 labels Jan 24, 2025
@lahm86 lahm86 self-assigned this Jan 24, 2025
@lahm86 lahm86 requested review from a team as code owners January 24, 2025 15:08
@lahm86 lahm86 requested review from rr-, walkawayy and aredfan and removed request for a team January 24, 2025 15:08
Copy link
Collaborator

@aredfan aredfan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, and thank you! 👍

@lahm86 lahm86 merged commit be39629 into LostArtefacts:develop Jan 24, 2025
7 checks passed
@lahm86 lahm86 deleted the store-room-flip-states branch January 24, 2025 16:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
TR1 TR2 TRX bug A bug with TRX
Projects
Status: Done
3 participants