Coldwave Read the docs

Changelog, part 4#

Part 4 of 7: newer · older.

  • frost builds headless: cargo build -p frost_cli --no-default-features leaves out the machine's sound device and gamepads, and with them the only system libraries frost needed on Linux (ALSA's and udev's headers). It still tests, runs, exports and serves, and frost run --wav and frost test's loudness check still hear the game: they use the software mixer, which frost_remote's new tape feature gives without a device. A default build is as it was.
  • Every not-a-number is one value to the world: the checksum, the test of whether a column is all one value, and every compare of kept data and of field values read any not-a-number as the quiet one with no sign (frost_core::bits). Machines disagree on which one 0/0 makes (positive on Arm, negative on x86, either in WebAssembly), -(0/0) flips it anywhere, and a save writes every one as nan: a world that held one could come to another checksum on another machine, or after a save and a load. A recorded game whose world held a not-a-number with a sign comes to a new checksum: frost test --write.
  • A planning hand's refusal says what was tried: E0447 names the command's own parameters (game.seek with step 240 is refused: ...), and its data carries them as {command, tried}. No game changes.
  • A model's pictures are held once: a cooked model read from its blob keeps each picture inside it in place, not copied out, and decodes one only when it is drawn (Model::picture). Loading the Spin Top hull (three 4096² pictures) from a warm cache holds 483 MB where it held 751 MB. Nothing a game draws changed.
  • A picture the web draws smaller is said: frost check and frost export web warn (W0455) of each picture inside a model longer than 2048 on a side, with its size and the size the web cooks it to. The game's checksums are the same in a browser; its frames are not, and frost test compares shots natively only. Nothing a game draws changed.
  • profile.frame tells the last frame that drew a picture, and a step as it was played: a request that only reads (game.info) no longer becomes the frame told; the answer names the step drawn. profile.frame {step} gives that step's spans and counters as profile.steps does, recorded: true when they are as it was played; the 16 slowest steps of a run keep theirs past the minute, so profile.steps' worst has them too. No game changes.
  • What --write wrote is named, with the hash of its bytes: each frost test --json run gives wrote: [{path, sha256}], and frost check --json --shots [--write-shots] gives shots and wrote; --json now goes with --shots. No game changes.
  • A model's pictures have their levels, and 2048 a side on the web: frost cook makes each picture inside a .glb a texture with every level (VTEX 2), and for --profile web (and frost export --web) halves one longer than 2048 on a side first. A 2D picture is cooked as before, one level, the same pixels for every profile. A model's triangle that has one vertex twice once its corners are welded has no area and is left out, and counted: frost cook says how many for each part (VMSH 2 keeps the count). A model with a part that loses every triangle so is refused (E0527). Cached pictures and models cook again once. Nothing a game draws changed.
  • frame.capture {fast: true} writes the picture quickly rather than small: the same pixels in a PNG a tenth to a fifth larger (twice as large at first: it now uses the Paeth filter), for a client that shows frames live, with or without view or target. Without it, every capture is the same bytes as before; saved pictures and frost check --shots never use it. No game changes.
  • The editor can see more of the world than the camera: frame.capture {view: {left, bottom, right, top}} draws that rectangle of a 2D world, the interface on the camera's rectangle at its scale; frame.at, frame.in and blame.pixel take the same view. A 3D game's view is E0449 for now. Without view, nothing changes. No game changes.
  • frost test --json gains dotnet in each run: {accepted, here}, the major version of .NET a game with C# was accepted on and the one it runs on here when they are two; null otherwise, and always for a game with no C#. No game changes.
  • Scripts run faster: the step budget's counter is the engine's own: Luau counts every loop turn and call for the step budget through a callback of the engine's instead of the binding's general one. Measured on an Apple M-series Mac, built like release, ns a turn: a trivial loop turn 12.3 to 10.0, an empty loop 6.5 to 4.3, a call to a small function 28.1 to 21.3, arithmetic 11.6 to 9.5 (327 to 274 machine instructions a loop turn). The count, where a script is stopped and that pcall cannot hide it are as they were: no checksum and no script_work moves. And a correction: a loop turn never cost 83 ns; that figure divided each step's walk of state by the loop's turns (see state in the reference: keep a big table that never changes in a local).
  • Another run of the game is read beside the one played: world.series and events.since take run (a project file of the game with a replay, as frost test lists them), with or without against: "accepted", and echo it. No game changes.
  • A failing test that names no step says where, why, and whether to accept: frost test --json gives each run stretch (the checkpoints its run first differs between), reason (one plain sentence) and accept_sound. No game changes.
  • A model's surfaces show its pictures: each part of a 3D model is drawn with its material's base colour picture, inside the model or beside it, as the file paints it (sampled smoothly and repeated past its edges). Nothing that names no picture changes: its parts draw white under their colours, as before.
  • script.state says which kept numbers are a thing: its answer gains kinds, a script's name with {key: "thing"} for each key of its state whose number is a thing of the game (a C# script's Thing field; -1 is no thing). states is as it was, and a game of Luau scripts answers kinds: {}: a client that held the whole answer to its exact bytes meets one more field. No game changes.
  • frost dev says which process it is: into a pipe it prints a second line, process PID, after the line that says where it listens, and debug.state answers the same number as process: what a debugger of the machine attaches to. The first line is unchanged, token last; a program that reads every line frost dev prints meets one more. No game changes.
  • Atlases: frames by name: a .atlas.toml file puts many pictures on one, packed from the PNG files its pictures patterns match (* in one folder's file names) or cut from one sheet by a grid, and Sprite.frame (new) names the frame a sprite shows: Sprite = { image = "art/hero.atlas.toml", frame = "run_0" }. Sprites of one atlas share one picture, so a layer of them is one draw call. A frame draws exactly its picture's pixels (filter = "nearest"; one step in a few pixels with "linear"). An unknown frame stops the game with E0531 and the nearest names; frames that do not fit 4096 by 4096 are E0530; a pattern that matches nothing is E0532; frost check prints what each pattern matched. frost export ships each atlas cooked (NAME.atlas.toml.vatl) and not the pictures packed in it. With a frame, src_* cut a part of the frame, stopped at its edge; a sprite with a frame and a Repeat is refused (E0533). Sprite.frame is marked Schema::added, so no recorded game's checksum moved. assets.cooked {path} (new, the protocol and MCP) says what the cook makes of a file: a picture's size, an atlas's frames, a model's parts.
  • Two fingers on a touch screen: [input] fingers: up to 4 finger slots, each a region of the frame (in the pointer's -1 to 1 units) and three actions, its place (x, y) and its press. A finger takes the first free slot whose region it comes down in and keeps it until it lifts; a finger over the bars is at the frame's edge. Slots are actions, so recordings, tests and input.set play them. A new key: no checksum moves, and the first finger is still the pointer with "MouseLeft". An exported page's loader lets touches and clicks through to the game as it fades (it took them for 300 ms).
  • Each thing a material draws has four numbers of its own: Mesh = { ..., p0, p1, p2, p3 }, which its material's functions read as thing (a heat, a flash, a hole's size), set by a script per thing. What it does to a game: a 3D game with a Mesh changes its run checksum (four more numbers a Mesh); no picture changes.
  • A save is on the disk when the player is quit: Cmd-Q on macOS ends the process without unwinding, so a save still being written could be lost; the player and frost dev now finish it first. No game changes.
  • What frost test --write accepts keeps the recording it was played on: a game whose recording is a file of its own (recording = "run.toml", a saved test's tests/NAME.run), and a model's buffers and pictures, are kept in .frost/accepted/NAME beside the rest, so a later failure names the first step that differs with no git. A copy an older frost kept without its recording says so and how to keep it again (frost test --write once), instead of E0401 from inside it.
  • A project lists the models only its scripts name: models = ["kit/drum.glb"], beside images, loads each as the scenes' meshes are. A Mesh naming a model that was not loaded is E0438 (new) and frost check says E0439 (new) of a script whose text names one, in a tool and in an exported player alike. A changed picture in a game with models is redrawn again rather than restarting the game.
  • A 3D game's materials bend and paint what they draw: [render.materials] names each material's WGSL functions (vertex, which moves a point already in the world; fragment, a surface's colour before it is lit), and Mesh.material draws a mesh with one. Its eight numbers are Material = { of, p0..p7 } on one thing, written by a script: a shader has no clock. E0437 (new): a thing names a material not declared, or two give one its numbers. What it does to a game: a 3D game's run checksum changes, as Mesh holds material and Material is declared; no picture changes.
  • A hand carries its mode, and a planning hand changes nothing: session.hello {mode} (frost mcp --join --mode plan|ask|trial|free) and the editor's session.mode {hand, mode}; in plan every command that is not read-only is refused (E0447), and only the editor lifts it (E0448). No game changes.
  • A port has a read-only token: frost serve --join-file PATH --read-join-file PLANS writes PLANS with it (read_only: true). An agent that joins by it changes nothing (E0447) under any name or mode until the editor's session.mode lets its hand, so an agent that opens its own connection is held too. The first token and its answer are as they were. No game changes. lifts it (E0448). It holds an agent that acts through frost mcp --join; one that opens its own connection to the port under a new name is not yet held. No game changes.
  • An exported web page opened with ?mute plays no sound at all: it opens no audio, keeps no samples, and nothing a script asks for turns it on; the game plays the same to the same checksum. Open the page again without it to hear it. Nothing else changed.
  • A restore can bring the changes made since into the moment it puts back: game.restore answers changes (each command that made edits_after: step, what, hand, who, name), and game.restore {id, again: true} makes them again there, all or none (a refusal keeps its own code and leaves the game as it was). No game changes.
  • An exported game draws its models: frost export (desktop and web) ships each model a scene's Mesh names as the model cooked from it, NAME.vmsh beside where the model was (art/crate.gltf.vmsh), and not the .glb or .gltf, which a player cannot read; the player, and any program given a game with no model file, draws that. A game with no Mesh exports as before.
  • change.test {says, against?} is frost test --says over the protocol and as an MCP tool: the same answer (passes, said, differs, shots) with the line and the warnings, for an editor's landing line and an agent's report without a shell. A program that cannot run it (a browser's) says so (E0452). Nothing else changed.
  • The accepted run beside the one now: where a difference ends, and its events: frost test --json's differs gains until, the last step of the recording at which the run still differs from the game it is told against (null when it differs to the end), and events.since {against: "accepted", to?} reads the accepted game's events, played aside from its kept files. Nothing else changed.
  • events.since lists each event once: an event sent early in a step was in the log again for every stage after the one that sent it (four times for a script's send). A client that counted events counts fewer. Nothing in a world changed.
  • A 3D game's Mesh draws the model it names: Mesh = { file } names a .glb or .gltf, cooked when the game loads and kept in the cache (E0436, new: one the cook cannot read). An exported game draws no model yet. No game that has no Mesh changes.
  • frost cook cooks glTF models, and frost cook FILE cooks one asset alone: a .glb, or a .gltf with its buffers inside it or beside it (each one's hash is in the key), becomes a model (VMSH 1, crates/frost_assets/src/mesh.rs, agreed with the 3D renderer): every mesh the default scene draws, placed by its nodes' transforms (a mirror keeps faces counter-clockwise), welded, with flat normals and Lengyel tangents made where the file has none, COLOR_0 and an application's own _ attributes kept as streams, the bounding box and sphere, the materials, and the pictures they name (one beside the model by its path; a PNG inside it cooked as a texture). One level, the whole mesh. frost cook FILE.png|FILE.glb|FILE.gltf says what it became; a file its importer cannot read is E0526 (new). frost_remote::cooked_model gives a loader the model for a path. No game draws a model yet; nothing else changed.
  • graph.uses and script.complete answer from the game's text: every place a part, field, thing, event, input action or tuning key is named (scripts, libraries, scenes, the project file), and the names that fit where a script is being written. Both read the text, say so (read: "text"), and count columns in UTF-16 code units (columns: "utf16"). Nothing else changed.
  • A 3D game draws its meshes, lit, as its Camera sees them: in a project with space = "3d", Camera has fov, near and far beside zoom, and Mesh and Light exist; the frame graph's implicit passes are the meshes, tested against a 32-bit reversed depth target, then every layer over them. A [render] pass may draw meshes (draw = "meshes", depth = "...", a target of format "depth"). Meshes are handed to the renderer by name (see the entry above for models). What it does to a game: a 3D game's run checksum changes, as its Camera holds three more numbers (its pictures do not: zoom stays, and the layers are seen through it as before); frost test --write writes the new one. No 2D game changes.
  • An agent joins with arguments that never change: frost serve GAME.toml --join-file PATH writes where it listens and its token to PATH (mode 0600) and removes it on exit, and frost mcp --join-file PATH reads it, so the agent's command line is the same at every start of the game. A file left by a session that is gone is refused (E0521).
  • frost test --json prints one line for the whole test: each run's passed, steps, against, the first difference (step, thing, part, field, now, was, more, written) and the line it prints. Nothing else changed.
  • Repeat makes a sprite's picture repeat past its edge: with it, a part (src_x, src_w, and down) that runs past the picture shows the picture again instead of stretching its last pixels: scroll a belt by moving src_x. A new component: no checksum moves. The whole picture repeats, not a frame of it.
  • Shape draws rings, discs and lines: Shape = { kind = "ring" | "disc" | "line", w, h, width, from, to, dash, color, layer }, in the rectangle w by h (an ellipse when they differ), cut from from to to degrees into an arc or a wedge, dashed, its edges smooth; Rotation, Scale, Opacity and Blend apply as to a Rect, and it sorts with everything else by layer. A new component: no checksum moves. frame.at names it "Shape" where it draws, and not in a ring's hole.
  • A scaled Tilemap draws all of itself: a map with Scale was cut to the part of the view its unscaled grid covered (an 8 by 8 map at 0.5 showed one row), and frame.at named the tile of the unscaled grid. Both now go by the scaled grid. No checksum moves; a picture of a scaled map shows the tiles that were missing.
  • The frame says how it was drawn: render.passes lists the frame graph as it runs (passes kept and dropped, targets and the textures they share, pipelines); frame.capture { target } returns a target between passes; frame.at, frame.in and blame.pixel name each hit's pass and material, blame.pixel adds the passes the pixel came through, and frame.view the passes' names. Nothing else changed.
  • A project may declare its frame graph in [render]: targets between passes, passes that draw a range of layers, and the built-in effects copy, bright, blur and add (a glow, say: the engine's ballast/glow.toml example). A project without the table is drawn as before, by one pass of every layer into the frame: no checksum and no picture moved. A graph that cannot run is refused when the project is read, with the line of its pass.
  • A game's pictures are read through the cook's cache: frost run, frost dev, frost test, frost serve and the rest keep each picture's texture the first time it loads and read it from the cache after, in FROST_CACHE or the system's folder for caches. The pixels, frames and checksums are the same; FROST_CACHE=off decodes at every load as before. An exported game is not changed. Under cargo (tests, cargo run, scripts/verify) the cache is target/ven-cache (.cargo/config.toml), never the system's folder.

Generated from Coldwave 0.0.1 r289, 2026-11-30 by the binary itself: do not edit by hand.