-
-
Notifications
You must be signed in to change notification settings - Fork 12
Complete weapon-wheel time-scale CI integration #142
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
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -1075,7 +1075,8 @@ def validate_engine_hooks() -> None: | |
| ) | ||
|
|
||
| smooth_slow_time = function_body( | ||
| common, "static bool openQ4_ShouldUseSmoothSingleplayerSlowTime( void )" | ||
| common, | ||
| "static bool openQ4_ShouldUseSmoothSingleplayerSlowTime( float effectiveTimeScale )", | ||
| ) | ||
| require( | ||
| common, | ||
|
|
@@ -1087,6 +1088,11 @@ def validate_engine_hooks() -> None: | |
| "openQ4_singleplayerGameModuleReady.load( std::memory_order_acquire )", | ||
| "Arena-safe async module transition", | ||
| ) | ||
| require( | ||
| smooth_slow_time, | ||
| "return effectiveTimeScale < 0.999f;", | ||
| "Composed single-player slow-time detection", | ||
|
Comment on lines
+1091
to
+1094
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Inspecting only the helper body does not enforce the new composed-scale contract: changing Useful? React with 👍 / 👎. |
||
| ) | ||
| if ( | ||
| "cvarSystem->" in smooth_slow_time | ||
| or "GetCVarString" in smooth_slow_time | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Changing only this expected signature leaves
validate_async_module_state()intools/tests/game_type_module_selection.pysearching for the old( void )declaration at line 834. The commit-validation workflow runs that script, which now raisesValueError: substring not foundbefore completing; update that duplicate contract to recognize the parameterized helper as part of this change.Useful? React with 👍 / 👎.