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]>
26 lines
683 B
C++
26 lines
683 B
C++
#ifndef THIRDPARTY_DIVXDECODER_DIVXDECODER_H
|
|
#define THIRDPARTY_DIVXDECODER_DIVXDECODER_H
|
|
|
|
#include <cstddef>
|
|
#include <cstdint>
|
|
|
|
struct DivxDecodeFrame {
|
|
/* 0000 */ void* m_output;
|
|
/* 0004 */ const void* m_input;
|
|
/* 0008 */ uint32_t m_inputSize;
|
|
/* 000C */ int32_t m_render;
|
|
/* 0010 */ uint32_t unk_0010;
|
|
/* 0014 */ uint32_t unk_0014;
|
|
};
|
|
|
|
extern "C" {
|
|
|
|
int32_t DivxDecode(int32_t decoder, DivxDecodeFrame* frame, int32_t flags);
|
|
int32_t InitializeDivxDecoder(int32_t decoder, int32_t width, int32_t height);
|
|
int32_t SetOutputFormat(int32_t decoder, int32_t format, int32_t width, int32_t height);
|
|
int32_t UnInitializeDivxDecoder(int32_t decoder);
|
|
|
|
}
|
|
|
|
#endif
|