Client bring-up: Lua stand-in ports, add-on loading, world map, combat log, locale fix
- Port hit-order Lua stand-ins (unit tokens, tooltips, combat log filters and current entry, bags/containers, quest POI, minimap, titles, world states, trade, group roles, runes, mirror timers, saved-variable registration, Quit) - LoadAddOn: real add-on loading (Blizzard_CombatLog etc. now load) - CombatLogEntry::PushEvent: COMBAT_LOG_EVENT arguments - World map chain: SetMapToCurrentZone, SetMap, GetWorldPosition, landmarks, overlays, highlight, zones, dungeon levels, player position - OpenArchives: locale index was off by one (enUS read the koKR DBC slot, leaving zone/map names empty) - Zone/area sound chain, invisible units (spline mode read size), raid/bag crash fixes, stand-in console, waystone icon for all executables - Coding-rule cleanups: statics/includes at the top, event enums, Lua _Scripts layout Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
This commit is contained in:
@@ -587,6 +587,19 @@ static int32_t Script_SetMotionScriptsWhileDisabled(lua_State* L) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
// VERIFY: a9654e41 auto
|
||||
// OFFSET: 0x00977060
|
||||
void CSimpleButton::DestroyScriptMetaTable() {
|
||||
luaL_unref(FrameScript_GetContext(), LUA_REGISTRYINDEX, CSimpleButton::s_metatable);
|
||||
CSimpleButton::s_metatable = LUA_NOREF;
|
||||
}
|
||||
|
||||
// VERIFY: 88a11534 auto
|
||||
// OFFSET: 0x00978400
|
||||
void CSimpleButton::CreateScriptMetaTable() {
|
||||
CSimpleButton::s_metatable = FrameScript_Object::CreateScriptMetaTable(FrameScript_GetContext(), &CSimpleButton::RegisterScriptMethods);
|
||||
}
|
||||
|
||||
// STATIC: 0x00B2D418
|
||||
static FrameScript_Method s_ScriptMethods[] = {
|
||||
{ "Enable", &Script_Enable },
|
||||
@@ -631,16 +644,3 @@ void CSimpleButton::RegisterScriptMethods(lua_State* L) {
|
||||
CSimpleFrame::RegisterScriptMethods(L);
|
||||
FrameScript_Object::FillScriptMethodTable(L, s_ScriptMethods, sizeof(s_ScriptMethods) / sizeof(s_ScriptMethods[0]));
|
||||
}
|
||||
|
||||
// VERIFY: a9654e41 auto
|
||||
// OFFSET: 0x00977060
|
||||
void CSimpleButton::DestroyScriptMetaTable() {
|
||||
luaL_unref(FrameScript_GetContext(), LUA_REGISTRYINDEX, CSimpleButton::s_metatable);
|
||||
CSimpleButton::s_metatable = LUA_NOREF;
|
||||
}
|
||||
|
||||
// VERIFY: 88a11534 auto
|
||||
// OFFSET: 0x00978400
|
||||
void CSimpleButton::CreateScriptMetaTable() {
|
||||
CSimpleButton::s_metatable = FrameScript_Object::CreateScriptMetaTable(FrameScript_GetContext(), &CSimpleButton::RegisterScriptMethods);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user