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:
@@ -38,7 +38,7 @@ static int32_t Script_GetObjectType(lua_State* L) {
|
||||
return 1;
|
||||
}
|
||||
|
||||
// VERIFY: 0da40fcf auto
|
||||
// VERIFY: 06842ad2 auto
|
||||
// OFFSET: 0x004A8290
|
||||
static int32_t Script_IsObjectType(lua_State* L) {
|
||||
CScriptObject* object = FrameScript_GetObjectThis(L, CScriptObject::GetObjectType());
|
||||
@@ -46,6 +46,7 @@ static int32_t Script_IsObjectType(lua_State* L) {
|
||||
if (!lua_isstring(L, 2)) {
|
||||
const char* name = object->GetName();
|
||||
luaL_error(L, "Usage: %s:IsObjectType(\"type\")", name ? name : "<unnamed>");
|
||||
return 0;
|
||||
}
|
||||
|
||||
if (object->IsA(lua_tolstring(L, 2, nullptr))) {
|
||||
|
||||
Reference in New Issue
Block a user