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]>
44 lines
1.2 KiB
C++
44 lines
1.2 KiB
C++
#ifndef ENGINE_SOURCE_FRAME_CSIMPLESCALEANIM_H
|
|
#define ENGINE_SOURCE_FRAME_CSIMPLESCALEANIM_H
|
|
|
|
#include <cstddef>
|
|
#include <cstdint>
|
|
#include "Engine/Source/Frame/CSimpleAnim.h"
|
|
#include "Engine/Source/Frame/Types.h"
|
|
#include "Engine/Source/Tempest/C2Vector.h"
|
|
|
|
class CSimpleAnimGroup;
|
|
class CStatus;
|
|
class XMLNode;
|
|
|
|
class CSimpleScaleAnim : public CSimpleAnim {
|
|
public:
|
|
static int32_t s_metatable;
|
|
static int32_t s_objectType;
|
|
static const char* s_objectTypeName;
|
|
|
|
static int32_t GetObjectType();
|
|
static void CreateScriptMetaTable();
|
|
static void DestroyScriptMetaTable();
|
|
static void RegisterScriptMethods(lua_State* L);
|
|
|
|
/* 0098 */ FRAMEPOINT m_origin;
|
|
/* 009C */ C2Vector m_originOffset;
|
|
/* 00A4 */ C2Vector m_scaleChange;
|
|
|
|
virtual ~CSimpleScaleAnim();
|
|
virtual int32_t GetScriptMetaTable();
|
|
virtual bool IsA(int32_t type);
|
|
virtual bool IsA(const char* typeName);
|
|
virtual const char* GetObjectTypeName();
|
|
virtual void LoadXML(XMLNode* node, CStatus* status);
|
|
virtual void Apply(float progress);
|
|
virtual void ApplyInverse(float progress);
|
|
|
|
CSimpleScaleAnim(CSimpleAnimGroup* group);
|
|
void GetScale(C2Vector& scale);
|
|
void SetScale(const C2Vector& scale);
|
|
};
|
|
|
|
#endif
|