[PR #7535] [MERGED] port_map: the F3 overlay's chunk, level and chart lines #7653

Closed
opened 2026-11-03 07:21:28 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/horizon-rust/horizon/pull/7535
Author: @MSedgeMC
Created: 11/2/2026
Status: ✅ Merged
Merged: 11/2/2026
Merged by: @ludovic111

Base: main ← Head: chore/led2-client2-010


📝 Commits (1)

  • 76f1dc4 port_map: the F3 overlay's chunk, level and chart lines

📊 Changes

1 file changed (+5 additions, -5 deletions)

View changed files

📝 tools/port_map/client2-010.tsv (+5 -5)

📄 Description

tools/port_map/client2-010.tsv: three rows said F3 draws no chunk or level lines, and two that there is no profiler chart. The overlay lines and the charts are there.

  • DebugScreenOverlay.getServerLevel -> inline crates/horizon-client/src/game/debug_lines.rs::Game::debug_chunk_source_lines — the Chunks[S] line over the server's chunk map, from the server debug the overlay asks for; the module comment names DebugScreenOverlay.getServerChunk and its ServerLevel.
  • DebugScreenOverlay.getLevel -> inline crates/horizon-client/src/game/debug_lines.rs::Game::debug_entry_lines — every enabled entry's lines read the client level there: Day #, biome, local difficulty, the chunk source and render stats.
  • DebugScreenOverlay.getClientChunk -> inline crates/horizon-client/src/game/debug_lines.rs::Game::debug_heightmap_lines — the client chunk's heightmaps as the CH line, then the server chunk's as SH (?? without one), through debug_overlay.rs::heightmap_lines.
  • DebugScreenOverlay.showProfilerChart -> inline crates/horizon-client/src/debug_chart.rs::DebugCharts::draw — the charts the corners hold are drawn from the toggles: frame and tick times with the framerate limit and mspt, bandwidth and ping on a remote, the lightmap. Vanilla's predicate is folded into the draw, so there is no separate show test.
  • DebugScreenOverlay.toggleProfilerChart -> port crates/horizon-client/src/debug_chart.rs::DebugCharts::toggle_fps — the chart key turns the FPS chart on and, with it, the F3 overlay, turning the network and lightmap charts off; corners then places them.

The file's other missing rows were rechecked and stay: ChatComponent.preserveCurrentChatScreen (unsure:, no chat screen kept across a dimension change), the Checkbox width and tooltip rows (a dialog label is set to its full width and never wraps), CommandSuggestions.hasMessageArguments (no argument kinds in the parse), the ContainerObjectSelectionList focus rows (unsure:, only gamepad focus_step), logRemoteSample (unsure:), EditBox.setEditable (unsure:, no read-only flag) and FocusableTextWidget.keyPressed (unsure:).

Map-check:

PORT_LEDGER_OUT=/tmp/led-led python3 tools/port_ledger.py map-check tools/port_map/client2-010.tsv
144 rows, no problems.

Proven: the Horizon side read at the cites — debug_entry_lines' dispatch and its level reads, debug_chunk_source_lines' Chunks[S] line, debug_overlay.rs::heightmap_lines, and DebugCharts::draw/toggle_fps/corners with debug_keys.rs:320 drawing the charts. Every where cell resolves under map-check (the first draft pointed at game/debug_chart.rs and map-check rejected it).

Not proven: no in-game check; the F3 screen was not opened to see the CH/SH lines, and no chart key was pressed.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/horizon-rust/horizon/pull/7535 **Author:** [@MSedgeMC](https://github.com/MSedgeMC) **Created:** 11/2/2026 **Status:** ✅ Merged **Merged:** 11/2/2026 **Merged by:** [@ludovic111](https://github.com/ludovic111) **Base:** `main` ← **Head:** `chore/led2-client2-010` --- ### 📝 Commits (1) - [`76f1dc4`](https://github.com/horizon-rust/horizon/commit/76f1dc4a6693d674c6eaf3633f2e96a561773bff) port_map: the F3 overlay's chunk, level and chart lines ### 📊 Changes **1 file changed** (+5 additions, -5 deletions) <details> <summary>View changed files</summary> 📝 `tools/port_map/client2-010.tsv` (+5 -5) </details> ### 📄 Description `tools/port_map/client2-010.tsv`: three rows said F3 draws no chunk or level lines, and two that there is no profiler chart. The overlay lines and the charts are there. - `DebugScreenOverlay.getServerLevel` -> `inline crates/horizon-client/src/game/debug_lines.rs::Game::debug_chunk_source_lines` — the `Chunks[S]` line over the server's chunk map, from the server debug the overlay asks for; the module comment names `DebugScreenOverlay.getServerChunk` and its `ServerLevel`. - `DebugScreenOverlay.getLevel` -> `inline crates/horizon-client/src/game/debug_lines.rs::Game::debug_entry_lines` — every enabled entry's lines read the client level there: `Day #`, biome, local difficulty, the chunk source and render stats. - `DebugScreenOverlay.getClientChunk` -> `inline crates/horizon-client/src/game/debug_lines.rs::Game::debug_heightmap_lines` — the client chunk's heightmaps as the `CH` line, then the server chunk's as `SH` (`??` without one), through `debug_overlay.rs::heightmap_lines`. - `DebugScreenOverlay.showProfilerChart` -> `inline crates/horizon-client/src/debug_chart.rs::DebugCharts::draw` — the charts the corners hold are drawn from the toggles: frame and tick times with the framerate limit and `mspt`, bandwidth and ping on a remote, the lightmap. Vanilla's predicate is folded into the draw, so there is no separate `show` test. - `DebugScreenOverlay.toggleProfilerChart` -> `port crates/horizon-client/src/debug_chart.rs::DebugCharts::toggle_fps` — the chart key turns the FPS chart on and, with it, the F3 overlay, turning the network and lightmap charts off; `corners` then places them. The file's other `missing` rows were rechecked and stay: `ChatComponent.preserveCurrentChatScreen` (`unsure:`, no chat screen kept across a dimension change), the `Checkbox` width and tooltip rows (a dialog label is set to its full width and never wraps), `CommandSuggestions.hasMessageArguments` (no argument kinds in the parse), the `ContainerObjectSelectionList` focus rows (`unsure:`, only gamepad `focus_step`), `logRemoteSample` (`unsure:`), `EditBox.setEditable` (`unsure:`, no read-only flag) and `FocusableTextWidget.keyPressed` (`unsure:`). Map-check: ``` PORT_LEDGER_OUT=/tmp/led-led python3 tools/port_ledger.py map-check tools/port_map/client2-010.tsv 144 rows, no problems. ``` **Proven:** the Horizon side read at the cites — `debug_entry_lines`' dispatch and its level reads, `debug_chunk_source_lines`' `Chunks[S]` line, `debug_overlay.rs::heightmap_lines`, and `DebugCharts::draw`/`toggle_fps`/`corners` with `debug_keys.rs:320` drawing the charts. Every `where` cell resolves under map-check (the first draft pointed at `game/debug_chart.rs` and map-check rejected it). **Not proven:** no in-game check; the F3 screen was not opened to see the CH/SH lines, and no chart key was pressed. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-11-03 07:21:28 +07:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
horizon-rust/horizon#7653
No description provided.