Skip to content

Fix liquid combat and movement behavior - #6

Merged
themuffinator merged 1 commit into
mainfrom
codex/liquid-lab-overhaul
Aug 19, 2026
Merged

Fix liquid combat and movement behavior#6
themuffinator merged 1 commit into
mainfrom
codex/liquid-lab-overhaul

Conversation

@themuffinator

Copy link
Copy Markdown
Owner

Companion game-module changes required by openQ4 pull request #118. Adds liquid projectile and hitscan traversal, reliable splash audio, bubble trails, water-jump egress, surface-sound debounce, underwater acoustics, and localized environmental death routing in matching SP and MP code paths.\n\nValidated locally with a clean x64 SP/MP module build and the parent openQ4 PR validation suite.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: d06a09d551

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread src/game/Player.cpp
// openQ4 BEGIN
savefile->WriteInt( (int)previousWaterLevel );
savefile->WriteInt( previousWaterType );
savefile->WriteInt( nextLiquidSurfaceSoundTime );

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P1 Badge Preserve the version-3 player save layout

Existing saves from the parent build are stamped as compatibility version 3, which remains the current accepted version, but they do not contain this new integer. Restore() now unconditionally consumes four bytes for it, shifting every subsequent player field and ultimately causing synchronization/footer validation to reject the save. Either keep this transient debounce timer out of serialization or introduce a new compatibility version with a gated migration; the mirrored MP serializer has the same layout change.

AGENTS.md reference: AGENTS.md:L22-L22

Useful? React with 👍 / 👎.

@themuffinator
themuffinator merged commit 6c62c98 into main Aug 19, 2026
14 checks passed
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.

1 participant