Repository navigation
Conversation
…'s progress itself front_progress_hook (front.h): set before the game starts, it gets every front_progress call's title, done and total on the front end's main thread, and the front end shows no progress screen of its own. NULL by default, so the Mac app and the iOS app keep their screens exactly as they are. A launcher that holds several games in one app draws the step in its own look.
v0lumehi
added a commit
to LNPANDY/NX2Apple
that referenced
this pull request
Oct 30, 2026
4 of 5 tasks
v0lumehi
added a commit
to LNPANDY/NX2Apple
that referenced
this pull request
Oct 30, 2026
v0lumehi
added a commit
to LNPANDY/NX2Apple
that referenced
this pull request
Oct 31, 2026
v0lumehi
added a commit
to LNPANDY/NX2Apple
that referenced
this pull request
Oct 31, 2026
v0lumehi
added a commit
to LNPANDY/NX2Apple
that referenced
this pull request
Oct 31, 2026
v0lumehi
added a commit
to LNPANDY/NX2Apple
that referenced
this pull request
Oct 31, 2026
seedds
added a commit
that referenced
this pull request
Nov 2, 2026
…'s progress itself (#742) front_progress_hook (front.h): set before the game starts, with a window it gets each front_progress call's title, done and total on the front end's main thread, and the front end shows no progress screen of its own. NULL by default, so the Mac app and the iOS app keep their screens as they are. A launcher that holds several games in one app draws the step in its own look. docs/frontends.md lists it in a new section for apps that host the engine in-process. Co-authored-by: v0lumehi <[email protected]>
Owner
|
Thanks. Landed as fa4c356, with you as co-author. The code is as you wrote it. Two additions: the comment in |
Closed
3 tasks done
2 of 4 tasks
Know-It-All-Brother
pushed a commit
to Know-It-All-Brother/nxnative
that referenced
this pull request
Nov 9, 2026
…'s progress itself (seedds#742) front_progress_hook (front.h): set before the game starts, with a window it gets each front_progress call's title, done and total on the front end's main thread, and the front end shows no progress screen of its own. NULL by default, so the Mac app and the iOS app keep their screens as they are. A launcher that holds several games in one app draws the step in its own look. docs/frontends.md lists it in a new section for apps that host the engine in-process. Co-authored-by: v0lumehi <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What and why
A launcher that holds several games in one iOS app (route C in the NX2Apple fork: one shell app, each game's modules in its own framework, the shell hosts the engine and front_ios.m's game view) wants the first-start "Preparing shaders" step to look like the rest of its UI instead of the front end's dark UIKit screen.
This adds one optional hook in
front.h:Set before the game starts, it receives every
front_progresscall's values on the front end's main thread (title NULL when the step ends), and the front end then shows no screen of its own. It is NULL by default, so the per-game iOS app and the Mac app keep their current progress screens exactly as they are: the default path is unchanged. Both front ends (front_ios.m,front_mac.m) define it, so a host app on either platform can use it.Checked
dm/ios/tools/compile_check.pywithGAME=010015100B514000(183 files, 0 failed) andmake -C dm/host GAME=010015100B514000 dmhoston the Mac.lint_python.pyhas nothing new to check. No test covers the front ends' progress screen, and none is added: with the hook unset the code path is the old one.scripts/regress.py: not run, the change only adds an unset hook to the two front ends.Docs