Skip to content

Bgm unlocks#394

Merged
Gunoshozo merged 1 commit intomasterfrom
bgm-unlocks
Feb 15, 2026
Merged

Bgm unlocks#394
Gunoshozo merged 1 commit intomasterfrom
bgm-unlocks

Conversation

@Gunoshozo
Copy link
Contributor

  • Use proper Ids for music menu
  • Implement music menu Init logic for CHLCC (BGM flags codepend on other BGM flags + on ending flags)

@Gunoshozo Gunoshozo linked an issue Feb 15, 2026 that may be closed by this pull request
@Gunoshozo Gunoshozo added the game-chlcc CHAOS;HEAD Love Chu☆Chu! label Feb 15, 2026
Copy link
Member

@Enorovan Enorovan left a comment

Choose a reason for hiding this comment

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

Properly unlocks BGMs

Comment on lines 152 to 157
const int endingFlags[7] = {SF_CLR_RIMI, SF_CLR_NANAMI, SF_CLR_YUA,
SF_CLR_MIA, SF_CLR_SENA, SF_CLR_KOZUE,
SF_CLR_SEIRA};
const bool gotRequiredEndings =
std::all_of(std::begin(endingFlags), std::end(endingFlags),
[](int flag) { return GetFlag(flag); });
Copy link
Member

Choose a reason for hiding this comment

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

const std::array<int, 7> endingFlags = [...];
const bool gotRequiredEndings = std::ranges::all_of(endingFlags,
        [](int flag) { return GetFlag(flag); });

@Gunoshozo Gunoshozo force-pushed the bgm-unlocks branch 2 times, most recently from 3825b37 to 9e39e06 Compare February 15, 2026 20:28
- Changed bgm checking to work with internal flags, not arbitrary ids.
- Add MusicMenu::Init with flag unlocks logic
- implement InstSoundMenu "MusicInit" branch

Co-authored-by: Quessian-Phaedrus-Sternabite <56981027+quessian-phaedrus-sternabite@users.noreply.github.com>
@Gunoshozo Gunoshozo merged commit 17c922b into master Feb 15, 2026
11 checks passed
@Gunoshozo Gunoshozo deleted the bgm-unlocks branch February 15, 2026 21:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

game-chlcc CHAOS;HEAD Love Chu☆Chu!

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Fix music menu unlocks

3 participants