Frame: port Engine/Frame (waves 1-4), 1667 of 1669 functions

Core (CSimpleFrame + Lua, CSimpleTop/CFrameStrata/CSimpleRender/
CRenderBatch, CSimpleRegion/CBackdropGenerator/CScriptRegion), animation,
text (FontString/Font/Fontable), texture and model, buttons, EditBox,
MessageFrame/MessageScrollFrame, MovieFrame/ColorSelect/StatusBar,
Slider/ScrollFrame/HTML/HyperlinkedFrame, all Lua method tables and
RegisterScriptMethods. Layouts, vtables and sizes rebuilt from the
12340 ctors, vtables and allocator initializers; CScriptObject vtable
slots 5/6 fixed; CSimpleFontedFrame is a real secondary base. Lua error
paths return after luaL_error as in 12340 (209 sites; 5 fall through).
Binary quirks kept and documented in docs/.

Supporting additions: Event key/char/ime/focus/size event headers,
Scrn/Scrn.h (ScrnLayerCreate), DivxDecoder import declarations,
C2Vector/CRect helpers, CM2Light dtor, OsInputEnableSecureMode, stpl.h
instance addresses, FrameXML LoadXML_AnimGroup/Create_SimpleMovieFrame.
Engine->WoW includes where 12340 calls directly: CSimpleModelFFX,
StringToMouseButton, GetDeclinedWord, EmblemTextureUpdate.

Also drops stale VERIFY stamps found invalid by the harness recheck.

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
This commit is contained in:
Saty
2026-09-27 15:32:18 +02:00
co-authored by Claude Opus 5.5
parent 7c1b3b9858
commit 34770ee7ab
141 changed files with 31952 additions and 621 deletions
@@ -16,6 +16,16 @@ const char* FrameScript_Object::GetDisplayName() {
return name ? name : "<unnamed>";
}
// VERIFY: da17dfd1 auto
// OFFSET: 0x00488380
int32_t FrameScript_Object::GetLuaObjectRef() {
if (!this->m_luaRegistered) {
this->RegisterScriptObject(nullptr);
}
return this->m_luaObjectRef;
}
// VERIFY: 1a7b2f73 auto
// OFFSET: 0x00816790
int32_t FrameScript_Object::CreateScriptMetaTable(lua_State* L, void (*registerFunc)(lua_State*)) {
@@ -84,7 +94,7 @@ FrameScript_Object::FrameScript_Object() {
}
// VERIFY: b0bf6152 auto
// OFFSET: 0x00819850
// OFFSET: [0x00819850, 0x00819E50]
FrameScript_Object::~FrameScript_Object() {
}