Skip to content

Release zStudio 0.13.1 - #103

Merged
Vorta merged 7 commits into
mainfrom
feature/zmap-terrain-height
Nov 21, 2026
Merged

Vorta merged 7 commits into
mainfrom
feature/zmap-terrain-height

Conversation

@Vorta

@Vorta Vorta commented Nov 21, 2026

Copy link
Copy Markdown
Owner

Closes #102.

Problem and resulting behavior

Editing a RECOIL HUD map over tall geometry was awkward: structures hid the ground being outlined, the Terrain zones list was capped at seven rows and usually scrolled, and outlines could not be reordered although the game draws them in the file's order.

  • Height cutoff in Edit ZMAP, a section of the Outlines pane above Terrain zones: type a world Y to hide all map geometry above it (terrain, structures, vehicles, pickups) as you type, step it by 0.5 with − and +, clear it from inside the field. The header shows the cutoff in effect. MCP: source_zmap terrain_height, state terrainMaxY.
  • Outline reordering: Move up and Move down on an outline's row and in its context menu, Alt+Up and Alt+Down for the selected outline. MCP: source_zmap move_outline with a zero-based index. One undo step.
  • Outlines pane height: the outlines list and the zone rows share the pane. Every zone row shows while both fit, so nothing scrolls; in a shorter window the outlines list scrolls first.
  • Version 0.13.1, dated release notes, README download link.

Verification

  • Release build and asset-independent tests pass.
  • Must-have tests are added or kept for changed behavior.
  • No game assets, extracted content, build output or credentials are included.
  • User-facing documentation and the changelog are updated when applicable.
  • New or changed GUI capabilities have MCP parity, typed schemas, capability inventory entries and protocol verification.

Local: locked Release build with 0 warnings and 0 errors; all 3,228 tests passed on a private desktop with the supplied ZMAP corpus enabled; command catalog regenerated, parity test included. The pane was checked in rendered captures at 1080×650 to 1920×1200, dark and light, with a 200 DIP pane. The locally published package passed verify-package.ps1 and a stdio MCP smoke test of the extracted ZIP before the step changed from 0.1 to 0.5.

Not run: hover states of the row arrows, the context menu and real pointer or keyboard input for reordering were not exercised by hand; display scales that are no multiple of 25 % and a move between monitors are covered by windowless layout probes only. In-game drawing order of reordered outlines was not checked in the game.

Adversarial review

  • The full PR diff and affected producers/consumers were reviewed; relevant risk passes have concrete evidence and any coverage gaps are stated.
  • Findings were reproduced or supported by a concrete failing path, fixes were rechecked, and a final challenge pass after the last production change found no further actionable P1/P2.

The cutoff's clipping and live typing were reviewed in earlier rounds on this branch. The Height cutoff section, the pane layout and outline reordering went through six full independent review passes over the whole change: eight findings (seven in the pane's height arithmetic at display scales that round rows to whole pixels, one in the row's width in a narrow pane), each reproduced, fixed and covered by a test; the sixth pass found nothing. The 0.5 step and the release metadata were reviewed separately with no findings.

The cutoff's controls move out of Terrain zones into a Height cutoff section above it. The Outlines pane shares its height between the outlines and the zone rows, so zones show whole whenever they fit and nothing scrolls while both fit. Outlines can be moved up and down in the file's order from the row, the context menu, Alt+Up / Alt+Down and source_zmap move_outline.
@Vorta
Vorta merged commit 76f24ef into main Nov 21, 2026
1 check passed
@Vorta
Vorta deleted the feature/zmap-terrain-height branch November 21, 2026 23:44
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.

Release zStudio 0.13.1

1 participant