Skip to content

[Sonic Frontiers] Two minor documentation changes to libraries #48

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

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

Conversation

Icedude907
Copy link

Two minor edits I thought I'd contribute.

@DeaTh-G DeaTh-G added the enhancement New feature or request label Nov 4, 2023
/// <summary>
/// Is the Quick Cyloop gauge Active (false) or Charging (true).
/// </summary>
[FieldOffset(0xF1)] public bool QuickCyloopCharging;
Copy link
Member

@hyperbx hyperbx Nov 5, 2023

Choose a reason for hiding this comment

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

Please confirm that this is a bool and not a short, as the constructor for this class suggests there's a 16-bit integer at offset 0xF0. This could be flags instead of a single boolean, but that could also be a compiler optimisation.

Copy link
Author

@Icedude907 Icedude907 Nov 15, 2023

Choose a reason for hiding this comment

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

0xF0 seems to also be flags - for instance bit 6 (*0xF0 & 0b0100_0000) seems to be 'isPhantomRushActive' so it could be a short

However I have no idea how to confirm this - I'm a complete outsider to this game's reverse engineering efforts.

@DeaTh-G DeaTh-G requested a review from hyperbx November 19, 2023 12:06
@hyperbx hyperbx force-pushed the main branch 2 times, most recently from c4fae20 to bf728de Compare December 14, 2024 21:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants