Skip to content

Preserve user time and movement CVars - #141

Merged
themuffinator merged 1 commit into
mainfrom
codex/fix-weapon-wheel-timescale
Aug 27, 2026
Merged

Preserve user time and movement CVars#141
themuffinator merged 1 commit into
mainfrom
codex/fix-weapon-wheel-timescale

Conversation

@themuffinator

Copy link
Copy Markdown
Owner

Summary

  • add an atomic transient game-time channel that composes with, but never rewrites, the public timescale CVar
  • keep smooth SP simulation pacing and matching audio pitch while the weapon wheel is held, with clean Escape/module resets
  • pair with openQ4-game PR Artwork! #9, which also restores the Quake 4 SDK walk/run selection so pm_walkspeed controls walking
  • add regression coverage and player-facing 0.12.0 notes

Validation

  • openQ4-game PR Artwork! #9 merged as f86321f5a0654649c3988b9f6c98b4fa83b0b7e3
  • Windows x64 engine, dedicated server, SP module, MP module, OpenGL renderer, and Vulkan renderer build
  • windowed airdefense2 gameplay: timescale remained 0.5 and pm_walkspeed remained 160 across waits
  • tools/tests/weapon_wheel_time_scale.py
  • tools/tests/game_class_allocator_alignment.py
  • tools/tests/gamelibs_staging.py
  • Meson native tests: 11/11 passed

@themuffinator
themuffinator merged commit bdbed49 into main Aug 27, 2026
1 of 3 checks passed
@themuffinator
themuffinator deleted the codex/fix-weapon-wheel-timescale branch August 27, 2026 13:43

@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: 88c54904f9

ℹ️ 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".

require(run_frame, "cvarSystem->GetCVarFloat( \"timescale\" ) * common->GetGameTimeScale()", "SP simulation scale")

game_api = read(GAME_ROOT / "src/game/Game.h")
require(game_api, "const int GAME_API_VERSION\t\t= 44;", "updated engine/GameLib ABI")

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 Keep the GameLib ABI assertion consistent with version 45

When either checked-in validation workflow runs this new test, it checks out the companion revision explicitly documented as implementing GAME_API_VERSION 45, while this assertion requires version 44; existing tests such as game_type_module_selection.py and renderer_temporal_presentation.py also require 45. Consequently, no normal Game.h can satisfy the full validation suite, so every PR and push fails here. Update the companion pin and all ABI assertions coherently—using a new ABI version if the added virtual methods require it—rather than uniquely expecting 44 in this test.

AGENTS.md reference: AGENTS.md:L26-L27

Useful? React with 👍 / 👎.

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