Skip to content

Bind shared engine cursor controls in generated startup - #820

Merged
apotema merged 1 commit into
mainfrom
feat/shared-cursor-controls
Oct 13, 2026
Merged

apotema merged 1 commit into
mainfrom
feat/shared-cursor-controls

Conversation

@apotema

@apotema apotema commented Oct 12, 2026 •

Copy link
Copy Markdown
Contributor

Bind the engine's shared cursor API to the host window during generated startup, before scripts run. Both loop and callback paths emit g.bindCursorWindow(window) behind a comptime declaration check, preserving compatibility with older engines. The companion engine/core adapters safely handle backends without cursor support.

Includes startup-order tests, updated desktop/web/mobile golden outputs, and a compile-and-run test of the emitted statement against old and new engine surfaces. Animation registration remains first in startup.

Validation:

  • Full suite after wiring changes: 3844 passed, 16 skipped, zero failures (zig build test --summary all -j4).
  • Final dedicated zig build test-cursor --summary all -j4: 92/92 passed, including the new emitted-code compilation test.

Part of labelle-toolkit/labelle-bgfx#204. Core contract: labelle-toolkit/labelle-core#82. Backend implementation: labelle-toolkit/labelle-bgfx#205. Requires the companion engine API to activate cursor binding; older engines continue unchanged. Release all companions and regenerate the consuming game to use the shared API.

Companion PRs: core #82, engine #915, assembler #820, bgfx #205.

@coderabbitai

coderabbitai Bot commented Oct 12, 2026

Copy link
Copy Markdown

Important

Draft PR not reviewed

Draft PRs are not automatically reviewed by default.

  • Trigger a manual review

To automatically review draft PRs, update your CodeRabbit configuration:

reviews:
  auto_review:
    drafts: true
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Comment @coderabbitai help to get the list of available commands.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 13, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-13T08:21:29.576812Z 739e096 Draft marked ready
ℹ️ 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" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

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