addons come alive: Bagnon draws, hovers and clicks
- Lua 5.0's generic-for and nested long strings are restored in a forked VM — 60 corpus addons stopped dying on one deleted opcode - a day of demand-driven carving takes the 218-addon corpus from 24 addons surviving a session start to 114, with 144 loading without a single error - Bagnon draws a real bag and answers real gestures — hover tooltip, pickup, use, drag — because our frames wear the reference's names, and the reference's own ContainerFrame.lua runs off the player's install instead of being transcribed - the physics broad phase leaves: nothing in the client reads a contact, and it was measured at up to 41% of main-thread samples in real sessions Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
@@ -44,7 +44,12 @@ use crate::sound::GlueSound;
|
||||
/// right of button 1 (+46) and 6–8 chained below it — so the flat engine order fills Alliance then
|
||||
/// Horde, ascending race id within each. (`RACE_ICON_TCOORDS` is a name→UV lookup; its literal table
|
||||
/// order never reaches layout — reading it as the button order is what got this wrong before.)
|
||||
const ALLIANCE: [u8; 4] = [1, 3, 4, 7]; // Human, Dwarf, Night Elf, Gnome
|
||||
///
|
||||
/// `pub(crate)` on the Alliance half because it is also the race→side split
|
||||
/// `ui_unit::race_faction_group` answers `UnitFactionGroup("player")` with during world entry —
|
||||
/// one home for the mapping, pinned by [`tests::race_columns_match_the_reference_screen`], rather
|
||||
/// than a second copy that can disagree with this one.
|
||||
pub(crate) const ALLIANCE: [u8; 4] = [1, 3, 4, 7]; // Human, Dwarf, Night Elf, Gnome
|
||||
const HORDE: [u8; 4] = [2, 5, 6, 8]; // Orc, Scourge, Tauren, Troll
|
||||
/// The ref's initial model facing (`SetCharacterCreateFacing(-15)`), reset on every race switch.
|
||||
const INITIAL_FACING: f32 = -15.0 * std::f32::consts::PI / 180.0;
|
||||
|
||||
Reference in New Issue
Block a user