Repository navigation
Warp tab: A-Z list with maps, and every dungeon room - #554
Merged
Merged
Conversation
The Warp tab keeps the two columns of the other tabs: on the left Overworld,
Houses & caves and Dungeons, each with its areas A-Z opening like folders
(Right / A opens, Left closes); on the right a map of the place under the
cursor, drawn from our own simple shapes - the island as a 16 x 16 grid of
regions with terrain marks and an icon per place, or the dungeon's floor and a
closer sketch of the room.
Dungeon rooms are read at runtime from the extracted level files
(warp_rooms.mm): each room's tile grid (walls, water, pits), its doors and
landmarks, its arrival points, and which cells form one room. Every top-down
room is now a place, named by what is in it and where it lies ("Chest room,
north-east"). Rooms without an arrival point of their own warp to the level's
nearest one, then Link is moved onto a floor tile just inside a doorway once
the level has loaded (warp_request_place, the position door jumps write).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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.
The Warp tab keeps the two columns of the other tabs, with maps added on the right.
Left: Overworld, Houses & caves and Dungeons, each with its areas A-Z. Areas open and close like folders (Right / A opens, Left closes). Search shows only matching areas.
Right: a map of the place under the cursor, drawn from our own simple shapes:
Every dungeon room is a place now (about 200 more). Rooms are named by what is in them and where they lie ("Chest room, north-east"). Rooms without an arrival point warp to the level's nearest one; once the level has loaded, Link is moved onto a floor tile just inside a doorway (
warp_request_placeinruntime/hle/warp.c, the position door jumps write).Room data is read at runtime from the extracted level files (
runtime/ui/warp_rooms.mm), so the repo ships no room data.Tested on macOS: in-game screenshots of every view, a room warp into a room with no arrival point, and a human play-test (layout, maps, Left to close, houses, dungeon maps, room warps, shutter / instrument rooms, search).
Not done yet: translations for the new room and compass words (they show in English), and Windows / Linux builds beyond CI.
🤖 Generated with Claude Code