Объединяет принятые графические изменения MoonWell для клиента 1.12.1.
- Обновляет атмосферное освещение, локальные источники света, тени, воду, погоду и детализацию рельефа.
- Добавляет семь пресетов и ручную настройку эффектов в меню «Графика MoonWell».
- Фиксирует атрибуцию адаптированных техник и обновляет сгенерированные карты клиента.
### Проверки
- Полный scripts/gates.sh на Windows прошёл. Проверены форматирование, Clippy, таблицы benilla-re, workspace с установленными игровыми данными и без них, документация, каталог сообщений, рендер-проходы, профиль игрока и оба запуска движка.
- 37 тестов workspace и 32 теста профиля игрока пропущены по доступности внешних данных. Без установки тесты, которым нужны архивы игры, штатно пропускаются.
- Отдельно прошёл Clippy для MoonWell без dev.
- На локальном сервере проверены применение пресета через реальное игровое меню, сохранение в TOML, выход и повторный вход в мир.
A create block's update flag 0x01 marks the receiver's own player, and benilla never read it: `SelfGuid` stayed the login guid. On a server that streams us under another guid, such as cross-realm battlegrounds, the client had no player at all.
Reference: on the path for a guid the object lookup does not find (`0x46623b`), flag 1 stores the block's guid as the active player before the object exists (`0x466245`, `0x466254`), which `0x468550` returns. The path for a held object (`0x466350`) stores nothing.
The parser reads the flag, a new event goes ahead of its create, and its handler moves `SelfGuid` and the `SelfPlayer` tag unless the guid is live or released. On a stock server the flagged guid is the login one and nothing changes.
Tests: a byte-exact create golden, a new guid becoming ours, and a held guid moving nothing.
Found in grom/benilla-octo@ab01ff2b. Fixes#3044🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The chat lane, the field-notice lane and the input host lend the call host from a `Pair<…, Option<ScriptCallHost>>` once per line, notice or call. Each lend through `Option<T>` ran `ScriptCallHost::validate_param`, which walks every applier and live-read family: about 4 µs against a 55 ns fetch, as large as the item's own work.
`Pair::p1_valid` lends the host as `p1` does but validates once per run and keeps the result in the pair, which is built fresh each run. Nothing adds or removes a resource or an entity while a system runs, so the result cannot change within a run. A chat-lane `UNIT_COMBAT` item drops from about 11 µs to 6, a unit signal from about 10 to 4.4.
Test: `p1_valid_validates_once_a_run`, a missing resource lends `None` at every lend of a run and validates again on the next.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
A `disjoint_set!` held every member's state inline, and `ScriptCallHost`'s is 181 KB. Bevy keeps a system's param state inline from the moment the system is made, so every system that takes the host was 181 KB or more on the stack while a plugin added it. Building the headless client came close to a Linux test thread's 2 MB, and any change near those systems could overflow `the_hosted_vm_keeps_one_state_across_calls`.
The set's state is now boxed; nothing outside the macro changes. A test holds the host's state to at most 64 bytes. On Windows, that test's stack need drops from about 1.5 MB to about 400 KB.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Every unit-field change asked whether the unit carries field watchers by working it out again: the party and raid rows, the selection, a walk of the objects. That cost about 9 µs per notice, and it could disagree with the links the health path already walks.
Reference: a unit's field watchers are linked while its token flags (`+0xc90`) are nonzero (`0x51bbb0`, from `0x60c4b0` and `0x60c65c`), written by `0x60c4a0`, `0x60c4f0` and `0x60c520`. A field change runs the watchers linked on that unit (`0x467f65`).
`unit_has_field_watchers` now reads `UnitWatches::linked`, the state those writers keep. Five test fixtures that seated units without the writers now write the flags the real path writes.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Sam <samuv.eth@gmail.com>
Each live read walked the families in order and lent each one, running its `get_param`, until one took the question. `SelectionQuery` paid for 13 families before its own, and `unit_tokens_of` asks it for every unit signal.
The answers come from the families as before, as the reference's getters read the live object at the call (`0x5174d0`). Only the routing changes: `LiveReads::answer` remembers which family took each question type and goes straight to it afterwards. The first question of a type still walks. This holds because one family answers each question type, which a comment now states.
About 25% off a unit signal for a unit no token names (8.9 to 6.6 µs).
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Sam <samuv.eth@gmail.com>
Recasting Fishing over a running bobber dropped the body to Stand after FishingCast instead of holding FishingLoop.
The server fails the old cast and starts the new one in one update, so `UNIT_CHANNEL_SPELL` reads 7620 on both sides and the channel poll arms nothing; the Fail/Reap arm then removed the channel's own `CastHold`.
Reference: a cast's failure stops kits with `0x614150(spell, 0)`, which skips an effect flagged 0x1000 (`0x614179`); a channel kit plays as kind 2, which sets 0x1000 (`0x60eecd`, `0x612a30`). Only the field's change ends it (`0x60d1c0`).
`CastHold` records whether the channel armed it, and an unforced stop spares that hold. Test: `a_failure_of_the_channelled_spell_keeps_the_channels_hold`, failing on main.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Two sound tests waited a fixed time for another thread's work, which a loaded machine can outlast.
The probe self-test slept 900 ms for the tap writers to finish their WAVs. `mix_tap::install_at` now returns each writer's thread with its frame clock, `MainChain` carries them, and the test joins them after dropping the manager: each writer drains, patches its header and ends once its tap is gone. A live run still detaches them.
The streamed-loop test slept 200 ms for kira's decode ring. kira zero-fills a whole 128-frame chunk without advancing while that ring is short, so the test now renders chunk by chunk, skips all-silent chunks, and asserts on two and a half loops of sound. A loop that stops at its end fails at a 120 s hang bound.
Fixes#3034
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The scene ray skips a texture unit whose flags byte has bit 0x08 before testing its triangles (`test cl,0x8` at `0x70902f`), and #3032 brought that rule to GameObjects and doodads. A unit's skinned parts go through the posed pick instead, which still tested them, so a totem's flagged glow units (Healing 9 of 12, Air and the elementals 6 of 7) and the Goblin model's flagged unit took clicks the reference never gives them.
`posed_parts` now drops a part whose `PickMesh` is out of the hit test, for the body, what it wears and its mount alike. Test: of a unit's plain and flagged parts, only the plain one reaches the posed pick.
Fixes#3031
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
In Arathi Basin and Alterac Valley the banner aura's glow took the mouse pick from the capture banner inside it, so a base could not be assaulted.
1.12.1's scene ray (`0x7089c0`) skips a texture unit whose flags byte has bit 0x08 before testing its triangles (`test cl,0x8` at `0x70902f`), in the modes the world pick and the doodad occluder use. Every unit of the aura glows carries 0x18; the banners' carry 0x10.
The M2 batch now records the bit as `RenderSubmesh::no_hit_test`, and the shared narrow phase and the doodad occluder skip it. Tests: the real aura model is out of the hit test and the banner is not, and a pick through a flagged glow reaches the part behind it in both passes.
Part of #3031: the unit pick's skinned path still tests flagged units.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Sam <samuv.eth@gmail.com>
- Script calls: keep the host's SystemState between exclusive entries
- Script calls: the kept state's comments in the present
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Sam <samuv.eth@gmail.com>
- Chat: a release pass no longer shifts the held lines
- Chat: say what the held map buys, in the present
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Sam <samuv.eth@gmail.com>
Tests that timed the scheduler failed on a loaded machine, as the gates' background priority makes it.
CVar saves come a quiet second after a change, and a slow frame spends that second. The account-file tests now assert the contract: the old file exists exactly while `config.toml` lacks the row. The quiet-second test checks for no write only when the frame took under a second.
Server-alert reads get 10 s from an answering server. The inner-tile wait tests assert `StreamActivity::wait_ms`, which every waiting frame adds to, in place of a frame's wall time.
Every test hang bound is now 120 s, including `fake::WAIT`. Tick-count loops are deadlines, the profile test's cap is microsecond-sized, and the stalled-frame test measures the wall over every frame its GetTime span covers.
Fixes#3028Fixes#3029Fixes#3030Fixes#3033
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The README says other expansions are not planned. It now names benilla-wotlk, a separate 3.3.5a client built from benilla, so someone who wants Wrath of the Lich King knows where that work is.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Since the stairs fix classified floors by the hit face, some steps stopped the player like a wall, such as the Thelsamar inn's door and the Dun Morogh, Loch Modan and Wetlands tunnels. The step trigger still refused a face whose normal points slightly down. That gate was harmless on the contact normal, but many dwarven risers lean a few degrees out over their foot (the inn's sill: z −0.063), so no step was tried.
1.12.1's trigger (`0x6334a0`) returns 0 for a face leaning out (`n.z < 0`, `0x63351c`) that doesn't touch the box's top (`0x6333d0`), as it does for a steep upright face. The walk resolver then runs the step probe (`0x636b6e`).
The trigger now refuses only a face facing down by more than 50°. A test walks the real inn WMO over its 0.28 yd sill; it stalls without the change. The Stormwind stair tests still pass.
Fixes#3019🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
On a server that ends SMSG_GROUP_LIST's loot tail at the threshold, such as MaNGOS Zero, grouping did nothing: no party frames, and /p answered "You aren't in a group", while party chat from others still arrived. The decoder required a fourth tail byte, so a body one byte short failed with EOF and the whole list was skipped.
1.12.1's handler reads that byte at `0x5e6e3d` into a local it never uses. `CDataStore::GetUInt8` (`0x418cb0`) answers a short store by leaving the destination unwritten, without failing, so the list still applies. vmangos and cmangos-classic send the byte; MaNGOS Zero and servers built on wow_messages do not.
The byte is now read the same way: when it is missing, nothing fails. A test feeds a one-member list with no byte after the threshold, and it fails without the change.
Fixes#3016🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
A burst of object destroys froze the client: `Released::take` ran `retain` over its type's whole reuse list on every call, and it runs for every `SMSG_DESTROY_OBJECT` and every block that brings a released object back, so N such packets with R released objects cost O(N·R).
1.12.1 keeps the reuse lists the release appends to (`0x464a83`, in `ClntObjMgrRelease`), unlinks the object on reactivation (`0x464635`, `0x46464c`) and frees the head on a new object of the type (`0x466e55`, `ClntObjMgrAllocObject`).
Each list entry now carries its release's stamp. A take leaves its entry stale, the free skips stale entries, and the lists compact once stale entries pass the live count by 64, so a take is amortised O(1) and the free order is unchanged. Tests cover a take from the middle, a re-release joining the tail, per-type lists and compaction.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
В режиме автоматического входа из лаунчера остаётся доступна штатная локализованная кнопка «Выход». Она использует существующий AccountLogin_Exit / QuitGame и не возвращает поля входа или прочие скрытые элементы. Выбор реалма, PIN, ошибки, камера и протокол авторизации не изменены. Версия приложения MoonWell — 0.3.2; библиотеки Benilla остаются 0.3.1.
Проверено на Windows x64:
- Полный scripts/gates.sh: ALL GATES GREEN — форматирование, Clippy, reference, workspace и doctests, прогон без Data, документация, render-pass lint, player Clippy/tests, оба запуска движка.
- Расширенный login_skin проверяет видимость выхода при загрузке, выборе реалма, PIN и ошибках и передачу GlueCall::QuitGame.
- Dev-клиент с настоящим GlueXML: видны спиннер, статус и «Выход». Прямое нажатие и отдельный клик через поток событий окна завершили процесс с кодом 0; журнал подтвердил login: QuitGame. Учётные данные не использовались, авторизации на сервере не было.
- Release-сборка без dev прошла. В пакете 25 файлов; изменился только MoonWell.exe, остальные 24 совпадают с предыдущим релизом.
Ограничения: 37 проверок workspace и 32 проверки player-конфигурации пропущены из-за отсутствующих внешних аддонов/роликов. Звук выключен, вход в игровой мир не проверялся.
Новый экран входа MoonWell: отдельная 3D-сцена лунного колодца, вода с отражением и рябью, падающие листья, лесное окружение, освещающий сцену висп и музыка Song of the Falling Stars. Автоматический вход из лаунчера показывает локализованные этапы со спиннером и выдерживает время показа сцены. Сохранены ручной вход, ruRU, выбор реалма, переключение интерфейса и исходный протокол авторизации.
Интегрированы 17 изменений Benilla от d9c64230 до e5651f0d, включая порядок прозрачных моделей, анимацию idle, вход в мир, шрифты nameplate и Lua. Сохранены графические расширения MoonWell. Версия workspace — 0.3.1.
Снимок upstream: e5651f0ddd. Изменения применены трёхсторонним слиянием от ранее синхронизированного снимка d9c64230: предыдущая синхронизация попала в main через squash, поэтому обычный merge-base был устаревшим.
Проверено на Windows x64:
- Полный scripts/gates.sh: ALL GATES GREEN — форматирование, Clippy, reference, workspace-тесты и doctests, повторный прогон без Data, документация, каталог сообщений, render-pass lint, Clippy и тесты без dev, оба запуска движка.
- cargo check -p moonwell --locked и release-сборка без dev прошли.
- Обычный запуск release-клиента: сцена и ruRU отрисовываются, применены 4/4 патча шейдеров; журнал подтверждает совпадение касания листа и ряби, включение света виспа. Скриншот сохранён.
- Пакет содержит прежние 25 файлов; изменён только MoonWell.exe. Dry-run S3 подтверждает повторное использование остальных 24 файлов. Производственный auth endpoint доступен по TCP без авторизации.
Ограничения: в workspace-прогоне пропущены 37 проверок внешних аддонов/роликов, в прогоне без dev — 32 проверки внешних аддонов. Тестовая учётная запись не задана, live login/logout не выполнялся. Запуск проверялся без звука. Нативный ввод через инструмент автоматизации в этой сессии не подтвердился также у предыдущего релиза; интерактивная проверка не засчитывается.
Overhead unit names were laid out in Friz Quadrata whatever the install, so on a zhCN install, whose glyphs that face lacks, NPC names over heads drew nothing (#3005).
In 1.12.1 the name font is not a locale table: `PlayerNameInitialize` (`0x6c7470`) reads the Lua global `UNIT_NAME_FONT` at world entry through `FrameScript::GetVariable` (`0x704350`) and builds the name font from it (`0x5c1ae0`), so the install's own `Fonts.xml`, or an addon that reassigns the global, picks the face. `s_loadingFontPaths` (`0x82f018`) is the loading screen's tip font.
A `UnitNameFont` resource is read at the same world-entry seat as `DAMAGE_TEXT_FONT`, the name mesh lays out its baseline and glyphs in that face, and the mesh cache drops when the face changes.
Tests: `the_name_mesh_lays_out_in_the_unit_name_font`, `world_entry_reads_unit_name_font`, `a_new_name_face_drops_the_meshes_and_the_live_plates`.
Fixes#3005
Co-authored-by: hyrw <47274436+hyrw@users.noreply.github.com>
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
On a server that sends no `SMSG_LOGIN_VERIFY_WORLD` for the character list's map (MaNGOS Zero since its `402c570`), the world-entry loading screen never cleared, and with the wait forced past our player stood on the previous map's terrain: the screen waited for that packet's snap, and `CurrentMap` was set by the worldport packets alone.
In 1.12.1 the glue's state 8 opens the world at the character record's map before the login (`0x46c236` → `0x401570`), `HandleLoginVerifyWorldPacket` (`0x401de0`) does nothing for the manager's own map (`0x468580`), and `CGPlayer_C::OnActiveArrival` ends the screen (`0x5dea50` → `0x5debbd` → `0x407e80`).
A glue entry now seats `CurrentMap` from the pick (the first half of #2824), and a world entry's wait for its snap and for our create ends once our player is there. A transfer still waits for `SMSG_NEW_WORLD`; a reconnect in the world leaves the map to the server.
Tests: `a_glue_entry_opens_the_world_on_the_picks_map`, `an_arrival_ends_a_world_entrys_wait_for_its_snap`.
The README's setup paragraph named `WOW_USER` and `WOW_PASS` and nothing for a PIN-protected account, so a player with 2FA on their account had no pointer to `WOW_PIN` or `WOW_PIN_TOTP`, which only `docs/CONTRIBUTING.md`, "Running it unattended", describes. The paragraph now names both variables in a sentence and points at that section.
Fixes#3007
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
benilla 0.3.1: the workspace version and the lock. The Rust pin stays at 1.98.1, the compiler the release checks ran on.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
After a cross-map loading screen, the world drew for about a round trip with no body for our player and an empty portrait. The screen cleared on readiness alone, a few frames after the ack, ahead of the create the ack brings.
In 1.12.1 the screen ends at our arrival: `CGPlayer_C::PostInit` (`0x465dbc` → `0x5debe0`) runs the arrival and `EndLoadingScreen` (`0x5debbd` → `0x407e80`).
A raise whose load brings our create (world entry, a transfer, a worldport) now also waits for that create. A ship's leg change brings none and does not wait. An abort or a logout drops the wait, and a pending cinematic's arrival still counts. The header no longer claims the old clear was the reference's.
Test: `a_cross_map_screen_waits_for_our_create` holds the screen over a resident destination until the create, then clears. Without the fix it clears early. A live login and a hop to Kalimdor both clear.
Fixes#2959🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
A release build warned that `SpanStart::epoch` is never read. Its only reader is the debug build's check that a span-start snapshot is of the entries it saw (`ui_unit/views.rs`, `fire_unit_views`), and its only writer, `mark_span_start`, is debug-only too. The field now carries the same `#[cfg(debug_assertions)]`. The play build compiles without the warning.
The second warning on the issue, in `third_party/wgpu-hal/src/gles/egl.rs`, is upstream's code as published. The fork keeps its diff to the marked hunks it needs (`third_party/wgpu-hal/BENILLA.md`), so it stays.
Fixes#2970🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
An edit box always drew its text left-aligned: `SetJustifyH("RIGHT")` or `("CENTER")` moved only the `OnCursorChanged` x.
In 1.12.1 the box's `SetJustifyH` writes the box's own font (`0x797a17`, `+0x324`) through the shared setter `0x79fc20`, which pushes the change to the label linked to that font (`0x779c27`). `SetMultiLine` cuts off only the label's vertical bits (`0x77a509`, `0x77a599`), so the horizontal justify draws.
The box's font now exists with its label, justified `LEFT` as the constructor leaves it (`0x779bd2`). The four justify methods act on that font, the label no longer pins H, and the caret reads the label's justify. The separate justify word on the box is gone.
Test: `the_text_draws_by_the_boxs_justify_h_and_its_own_justify_v` checks the drawn H follows `SetJustifyH` while V stays the box's own. Without the fix, RIGHT draws LEFT.
Fixes#2977🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
`ipairs(t)` answered nil once a script had cleared the global `ipairs`, a collection had run, and the global was set again.
The reference reads the global `ipairs` raw as the loop's iterator (`0x702d15`), by name. We read it by a string id interned once at start, but the collector's root list of those names was kept by hand and left `ipairs` out. A collection could free the string, and setting the global again interned it under a new id.
`Names::all` now lists every field through an exhaustive pattern, and the collector roots that list, so a name added later does not compile until it is rooted.
Test: `ipairs_finds_its_global_after_it_is_cleared_and_collected` runs the issue's sequence. It answers nil without the fix and the function with it.
Fixes#2974🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
A localized client tagged its own race's speech with a language header, so Say showed `[Common]` on a zhCN client.
The stock chat frame draws the header when the line's language name differs from `GetDefaultLanguage()` (`ChatFrame.lua:1442`). Both names come from `Languages.dbc`, in the locale's column (benilla-re `systems/ui/chatlanguage.md`). We answered `GetDefaultLanguage()` from the DBC but passed each line's language from a hard-coded English table, so the two never matched outside enUS.
The line's language is now named from the same `Languages.dbc` rows, and the English table is gone.
Test: `a_line_names_its_language_in_the_locale` gives a monster line language 7 with a zhCN row and checks `arg3` is that name; without the fix it reads `Common`.
Fixes#2996🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Dropping a bag item on the ground left the camera in mouse-look, with the pointer hidden, while the destroy confirmation stood.
The world drop marked its release as the interface's, so the world frame's binding never ran its up-half and `CameraOrSelectOrMoveStop` never ended the session. In 1.12.1 the drop happens inside that release: `0x514b70` ends mouse-look (`0x514c48`), then dispatches the click (`0x481f60(1)`), whose ground or nothing leg raises the confirmation. The release is the world frame's (`0x483cb0`).
The drop no longer claims the release. A press the drop takes still arms no select, so nothing else clicks.
Test: holding an item, a left click on the world runs the binding's up-half; it fails without the fix. The world-drop tests now expect the release to be the world's.
Diagnosed in #2993.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-authored-by: hyrw <47274436+hyrw@users.noreply.github.com>
Подгонка окон под масштаб интерфейса и размер экрана. Ранее пройдены 46 тестов moonwell-gfx, проверка Lua, fmt и Clippy. Повторный запуск тестов пропущен по указанию пользователя.
Синхронизация с upstream до e2aeaecf: исправления AccessKit на Windows, прокрутки трекпада на Linux и анимации моделей в меню.
MoonWell: расчёт рассеяния, вторичного освещения и AO перенесён в половинное разрешение с восстановлением по глубине. В контрольной сцене RTX 5070 суммарное время постобработки снизилось с 6,41 до 3,47 мс. При выключенном расширении изображение совпадает с исходным. Добавлен анализатор диагностических логов GPU.
Исправлена подготовка тестов интерфейса и обработка отсутствующих кинороликов в сокращённой установке. Уточнены причины существующих отклонений русского пакета и HD-атласа.
Проверки: 46 тестов графического модуля и сравнения дневных/ночных кадров пройдены; полный цикл scripts/gates.sh пройден: fmt, Clippy workspace и player, reference, тесты с установкой и без неё, документация, каталог сообщений, проверка GPU-проходов и запуск движка с данными и без. Проверки отсутствующих аддонов и четырёх кинороликов явно пропущены. Живой вход/выход на сервер не выполнялся.
M2 translucent batches sorted by their own centre with a file-order bias, so a glow could draw under the part it lights.
1.12.1's transparent order `0x70ae10` compares the instance's squared distance, the fill copy, the signed priority plane (texture unit `+0x02`), the vertex shader under the default mode, the batch depth, then the unit's layer (`+0x0c`). A model frame's scene skips depth fill (`0x76ccf5`). benilla now reads both unit words and re-sorts the M2 batches in that order, merged with the other transparents by depth. Texture handles are stood in for by file order, a recorded deviation.
Mount children are no longer grounded or swum as free units (`0x607a00`), and worn items take their idle sequence, or the first one, as `0x710153` arms it.
Tests use the install's HangingSkullLight and a staff whose sheen orders by shader.
Fixes#2922Fixes#2931Fixes#1208Fixes#327🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
A body placed flush on a slope at a tile seam fell through the far tile: the backface band tested a facet's raw vertices, so it dropped the far floor once the body had passed part of it.
1.12.1 clips each facet into a leading face's swept prism of its own volume (`0x632700`, `0x6318c0`). It keeps the facet when a clipped vertex is ahead of −2^-20 (`0x6328a1`), or within 1/36 behind after a second clip (`0x632910`). The band now builds that volume at the capsule's feet (`0x631440`, `0x631be0`) and runs those steps; it matches benilla-re's tested port on 399,550 random cases. A facet ahead is held at any distance, recorded as a deviation, since the capsule bulges past the volume.
A real-terrain test walks a body flush on the Valley of Trials ramp over the seam: main sinks it 6.48 yd, the fix holds it.
Fixes#1121Fixes#2958🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
benilla found a tile's chunks by walking record sizes, so a Noggit export whose MCNK sizes count their header lost every chunk after the first. 1.12.1 reads the tile through MHDR's offsets (`0x6c2010`) and each chunk from its MCIN entry's file offset (`0x6c299d`), never an MCNK's size. benilla now does too.
Two more reads follow the reference. With MCNK flag 0x8000 an alpha map decodes whole at 64×64 (`0x6b0a6b`, `0x6b0ac0`), and without it at 63×63 with the edge copied. Doodads and WMOs are made only from the chunks' MCRF refs (`0x6b00f0`), so an entry no chunk references never appears. The static item and terrain shaders now sample in uniform control flow, which WGSL requires, and a lint holds them to it.
Every chunk of 2,380 install tiles parses identically before and after. Each fix has a test that fails without it.
Fixes#2981Fixes#16Fixes#21Fixes#613🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
A release bump changes only `[workspace.package] version` in `Cargo.toml` and the lock's entries for the workspace's own crates. The gates' memo counted only docs as unread, so the 0.3.0 bump would have rerun the whole chain on a tree whose parent had just passed it.
No gate reads the version: it reaches only the launchers' `env!("CARGO_PKG_VERSION")`, and the build-id tests pass their own strings.
`docs_only_delta` now also keeps the verdict when `Cargo.toml` and `Cargo.lock` differ in nothing but those version lines, compared with each file's workspace versions blanked. Checked on history: the 0.3.0 bump keeps the verdict; a code commit, a dependency version in the lock, a changed edition, and the bump together with its parent's code each rerun.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Fixes#2980
A glue scene's seat read only a rotation and scale parked on global-sequence keys, once, when the scene was built. That lost a seat keyed in the scene's sequence: a custom `UI_CharacterSelect` turns its seat bone 180° and scales it 0.673 there, so the body stood backwards at about 1.5×. No stock scene keys its seat that way.
The reference seats a child at the bone's whole animated matrix times the attachment position, every frame (`0x7140d8`-`0x714149`), after it animates the scene (`0x714000`). The body and the pet now take that matrix from the scene rig's pose each frame. This runs in `PostUpdate` after the rig's model pass, now the named set `RigModelPass`, and before propagation, so the seat and the scene share a frame.
Test: `a_seat_takes_the_bones_whole_matrix_at_the_attachment`.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Sam <samuv.eth@gmail.com>
Fixes#2978
A Wayland trackpad sends pixel travel. benilla asked 100 physical pixels for one wheel step and gave at most one step per event, so at scale 1.33 a list needed about 7.5 times GNOME's notch of finger travel.
10 axis units are one step on Wayland (SDL's `WAYLAND_WHEEL_AXIS_UNIT`, GLFW, Xwayland, mutter's `DISCRETE_SCROLL_STEP`). On Linux a notch is now 10 logical pixels at the window's base scale, and an event steps once per whole notch. macOS keeps Bevy's factor and its one step per event. Line events stay at one step each, like the reference's `WM_MOUSEWHEEL` (`0x76c1a9`), and winit reports only lines on Windows and X11. The `WheelNotches` deviation says so.
Tests: `pixel_travel_steps_by_the_platforms_notch` runs both platforms' arms on any host, and `a_pixel_notch_reads_the_base_scale` pins the scale.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Sam <samuv.eth@gmail.com>
Upstream 0.3.0. The ruRU pack now takes upstream's locale path
(Locale::from_language_country picks the column and the auth tag); our
own part is the Data/ruRU mount, the name GetLocale answers and the UI's
Russian name charsets. A language pack folder mounts without the base
set that upstream now requires. moonwell-gfx shadows and per-pixel
points move onto the per-vertex lit colour of upstream #2899; the
retained static pass passes its own normal.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Under Proton-based Wine, `tabtip.exe` is a UI Automation client, and `bevy_winit` gives every window an AccessKit provider. That traffic faults in `rpcrt4` on blocks the game has reused, which damages the heap and later crashes the client at varying addresses. Blocking `tabtip.exe` stops the faults and the crash, and other programs in the same bottle show no such faults.
The reference's window has no provider: `WoW.exe` imports no accessibility library and names none of its calls. benilla builds no AccessKit tree either.
`VideoPlugin` now drops the adapter when Windows reports a new window, which restores winit's window procedure. Other platforms keep theirs.
No test: the adapter needs a real window and the fault a UI Automation client. Built for macOS and Windows.
Refs #2932🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The README named kira as the only vendored code under `third_party/`, but wgpu-hal is vendored there too, under the same two licenses with its notices beside it. `third_party/alsa-0.9` stays unnamed: it is benilla's own stand-in, with no upstream code (its `BENILLA.md`).
Fixes#2972
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The workspace version and its lock move to 0.3.0, and nothing else. The toolchain pin stays at 1.98.1, the compiler these checks ran on.
The Linux and Windows compile, the Vulkan run and the smoke run passed on this tree. The full gates passed on its parent (#2968) and were not rerun for the version change, at the maintainer's word.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
`docs/DEVIATIONS.md` never said why the login screen has a realmlist control: the reason sat in a test comment, and the list leaves tests out. It is now a `Deviation:` on the control, in `AccountLoginRealmlist.xml`. The host-name port's reason, "everyday use", said nothing, so it now names the case and why it's safe: an address 1.12.1 can dial means the same here.
Comments only.
Refs #2860
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
A server whose changes are all in MPQ archives plays: benilla reads the install's patch chain (`crates/benilla-formats/src/chain.rs:41`), and a client change outside the archives is what it can't follow. The status line now says that.
Refs #2863
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
`SetView` snapped pitch and yaw, `FlipCameraYaw` was undone by the auto-follow, and a spyglass zoom left the camera at distance 0.
`SetView` blends all three by `cameraViewBlendStyle` (`0x512eb4`), and a new camera counts as moved (`0x50c400`). The flip sits outside the follow's yaw offset. The spyglass's start and end select their views, a held scope refuses, and arrival ends it (`0x5deb44`). Freelook's entry and leave stop a view's yaw and bias (`0x50f97e`, `0x50f984`).
A `/reload` builds a new camera (`0x481b4e`, `0x50c0e0`): offset, flip, moves and shakes start over, and the views reread their settings (`0x50c3db`).
Each has a test.
Fixes#1697Fixes#1699Fixes#1706Fixes#2948
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>