Repository navigation
Release zStudio 0.13.1 - #103
Merged
Merged
Conversation
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.
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.
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.
source_zmapterrain_height, stateterrainMaxY.source_zmapmove_outlinewith a zero-basedindex. One undo step.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.ps1and 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 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.