- "Freeze here" stops the game loop, Application::run() freezes every value reachable from the globals and statics
(cryo_freeze include globals + statics: the application, engine, scenes, loop and timers, the game's services) and
runs the loop again; JUMPHP_CRYO_THAW thaws it in Application::boot() before anything is built, which returns the
thawed application: the game goes on exactly where it was
- native parts made again at the thaw: window and SDL renderer opened by the new process, textures from their recipe
(Sdl::$recipes: file or picture; render targets blank, redrawn), fonts, sounds and the music playing, gamepads
(cryo_register_resource + cryo_on_thaw / replaceClass); files signed with a key of the project
- the scene save point stays next to it, used when the whole program can not be resumed (code changed, OpenGL)
- SceneManager params by class (no WeakMap), the container's compiler and private-method closures out of the freeze
- ext-cryo a9c891d (php-cryo): typed properties holding a frozen value (closure, resource, __wakeup object, excluded
object) come back; DESKTOP_REV 11
- IDE: each save point says "whole program" / "scene only" (why); docs/ide.md, docs/cryo.md
Co-Authored-By: Claude Opus 5.5 <[email protected]>