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

Dedupe lib e_lock_camera + st_debug #2233

Merged
merged 2 commits into from
Feb 19, 2025

Conversation

JoshSchreuder
Copy link
Contributor

@JoshSchreuder JoshSchreuder commented Feb 19, 2025

While doing this I found a lot of very similar code in entity_unk_id12.h and entity_lock_camera.h.

I am going to put up a separate PR to refactor this stuff, including the extensions, since I think this is really all just variations on EntityLockCamera, and we can name it as such everywhere. It looks like this function was copied around a lot in the overlays and changed numerous times.

s16 unk84;
s16 unk86;
u16 unk88;
u16 unk8A;
Copy link
Contributor Author

Choose a reason for hiding this comment

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

I think all of the existing unkid12 code can and should use this extension struct, and I'll update them in the next PR refactor

@sozud sozud merged commit ffce97b into Xeeynamo:master Feb 19, 2025
27 checks passed
@JoshSchreuder JoshSchreuder deleted the fix/lib_lock_cam branch February 19, 2025 23:49
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