Ports verified against 12340 that take the x64 client from character login to a playable world: - Camera: SetView/ResetView, motion, free-look facing, tracking, bobs, liquid bump, world collision; camera Lua scripts - Input: world frame key/mouse layers, default action, mouselook, turn/pitch player, TurnOrAction/CameraOrSelectOrMove scripts - Movement: legal facing range, turn/pitch/raw facing events, transport status, move spline copy, unit update info, smooth facing, anim end - Units: component and extended display init, model fade/scale, entity sort table, RenderEntitys, split-body culling - Interiors: WMO group bounds, BSP segment link query, face linking, interior lighting - Collision: CMap::QueryFacets closure with frustum queries and NDCClip - UI: game UI mouse filters, client control state, faction standing packet, many *_Scripts.cpp Lua tables; name generator dictionary fix Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
28 lines
1.2 KiB
C++
28 lines
1.2 KiB
C++
#include "UnitCombatLog_C.h"
|
|
#include <cstdint>
|
|
#include "Engine/Source/FrameScript/FrameScript.h"
|
|
#include "Engine/Source/FrameScript/FrameScript_Object.h"
|
|
|
|
// STATIC: 0x00ADB8E0
|
|
static FrameScript_Method s_ScriptFunctions[] = {
|
|
{ "CombatLogResetFilter", &Script_CombatLogResetFilter },
|
|
{ "CombatLogAddFilter", &Script_CombatLogAddFilter },
|
|
{ "CombatLogSetRetentionTime", &Script_CombatLogSetRetentionTime },
|
|
{ "CombatLogGetRetentionTime", &Script_CombatLogGetRetentionTime },
|
|
{ "CombatLogGetNumEntries", &Script_CombatLogGetNumEntries },
|
|
{ "CombatLogSetCurrentEntry", &Script_CombatLogSetCurrentEntry },
|
|
{ "CombatLogGetCurrentEntry", &Script_CombatLogGetCurrentEntry },
|
|
{ "CombatLogAdvanceEntry", &Script_CombatLogAdvanceEntry },
|
|
{ "CombatLogClearEntries", &Script_CombatLogClearEntries },
|
|
{ "CombatLog_Object_IsA", &Script_CombatLog_Object_IsA },
|
|
{ "CombatTextSetActiveUnit", &Script_CombatTextSetActiveUnit },
|
|
};
|
|
|
|
// VERIFY: 0abd2d5c auto
|
|
// OFFSET: 0x0074D6B0
|
|
void UnitCombatLogRegisterScriptFunctions() {
|
|
for (uint32_t i = 0; i < sizeof(s_ScriptFunctions) / sizeof(s_ScriptFunctions[0]); i++) {
|
|
FrameScript_RegisterFunction(s_ScriptFunctions[i].m_name, s_ScriptFunctions[i].m_method);
|
|
}
|
|
}
|