[PR #6752] [MERGED] Clear ten ledger rows that main already implements #7071

Closed
opened 2026-11-03 06:33:15 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

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

Base: main ← Head: chore/ledger-rest-004


📝 Commits (1)

  • 263efa9 Clear ten ledger rows rest-004 calls missing

📊 Changes

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

View changed files

📝 tools/port_map/rest-004.tsv (+10 -10)

📄 Description

Ten tools/port_map/rest-004.tsv rows still said missing for behaviour that current main has.
Each was checked in the code, and the row now names where it lives:

  • ColorLerper.getLerpedColor / getModifiedColor -> mobs/render.rs::jeb_wool_rgb, reached from
    the jeb_ name check in the same file: a sheep whose custom name is exactly jeb_ cycles the
    dye colours by age.
  • InputQuirks.isQuitShortcutDown -> the close path in game.rs, which tests
    settings.quit_shortcuts and input::is_quit_shortcut_down together, so with the option off the
    shortcut no longer closes the window.
  • Options.maxAnisotropyValue -> game/options.rs passes textureFiltering and
    maxAnisotropyBit to set_texture_filtering, so the value reaches the sampler.
  • PreeditEvent.fromSdlTextEditing / toFormattedText -> game.rs::ime_preedit from
    WindowEvent::Ime(Preedit): the composition text goes to the focused field.
  • Options.setModelPart -> options_file::MODEL_PARTS and the modelPart_* option keys, read
    back and sent as the player's model part set.
  • OptionInstance.SliderableEnum.next / previous -> Opt::Preset is a 0..3 slider
    (options_ui.rs unit/step), so the graphics preset steps through the slider, not a cycle arm.
  • Options.getFullscreenVideoModeString -> options.txt keeps fullscreen_resolution as the
    monitor index the mode was picked from rather than a WxH@Hz string; the window is restored
    from that index. Marked inline, since the stored form differs while the behaviour matches.

Proven: data file only, so nothing compiles differently. Each claim is from reading the
function or option table named in the row and the call site that reaches it.

Not proven: no in-game check; these are ledger verdicts, not behaviour changes.


🔄 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/6752 **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/ledger-rest-004` --- ### 📝 Commits (1) - [`263efa9`](https://github.com/horizon-rust/horizon/commit/263efa9370975589cc5239b1ec1e39bae2f6b6bd) Clear ten ledger rows rest-004 calls missing ### 📊 Changes **1 file changed** (+10 additions, -10 deletions) <details> <summary>View changed files</summary> 📝 `tools/port_map/rest-004.tsv` (+10 -10) </details> ### 📄 Description Ten `tools/port_map/rest-004.tsv` rows still said `missing` for behaviour that current `main` has. Each was checked in the code, and the row now names where it lives: - `ColorLerper.getLerpedColor` / `getModifiedColor` -> `mobs/render.rs::jeb_wool_rgb`, reached from the `jeb_` name check in the same file: a sheep whose custom name is exactly `jeb_` cycles the dye colours by age. - `InputQuirks.isQuitShortcutDown` -> the close path in `game.rs`, which tests `settings.quit_shortcuts` and `input::is_quit_shortcut_down` together, so with the option off the shortcut no longer closes the window. - `Options.maxAnisotropyValue` -> `game/options.rs` passes `textureFiltering` and `maxAnisotropyBit` to `set_texture_filtering`, so the value reaches the sampler. - `PreeditEvent.fromSdlTextEditing` / `toFormattedText` -> `game.rs::ime_preedit` from `WindowEvent::Ime(Preedit)`: the composition text goes to the focused field. - `Options.setModelPart` -> `options_file::MODEL_PARTS` and the `modelPart_*` option keys, read back and sent as the player's model part set. - `OptionInstance.SliderableEnum.next` / `previous` -> `Opt::Preset` is a 0..3 slider (`options_ui.rs` unit/step), so the graphics preset steps through the slider, not a cycle arm. - `Options.getFullscreenVideoModeString` -> options.txt keeps `fullscreen_resolution` as the monitor index the mode was picked from rather than a `WxH@Hz` string; the window is restored from that index. Marked `inline`, since the stored form differs while the behaviour matches. **Proven:** data file only, so nothing compiles differently. Each claim is from reading the function or option table named in the row and the call site that reaches it. **Not proven:** no in-game check; these are ledger verdicts, not behaviour changes. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-11-03 06:33:15 +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#7071
No description provided.