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]>
53 lines
1.6 KiB
C++
53 lines
1.6 KiB
C++
#ifndef ENGINE_SOURCE_FRAME_CBACKDROPGENERATOR_H
|
|
#define ENGINE_SOURCE_FRAME_CBACKDROPGENERATOR_H
|
|
|
|
#include <cstddef>
|
|
#include <cstdint>
|
|
#include "Engine/Source/Base/RCString.h"
|
|
#include "Engine/Source/Frame/Types.h"
|
|
#include "Engine/Source/Gx/Types.h"
|
|
#include "Engine/Source/Tempest/CImVector.h"
|
|
|
|
class CRect;
|
|
class CSimpleFrame;
|
|
class CStatus;
|
|
class XMLNode;
|
|
class CSimpleTexture;
|
|
|
|
class CBackdropGenerator {
|
|
public:
|
|
/* 0000 */ CSimpleTexture* m_backgroundTexture;
|
|
/* 0004 */ CSimpleTexture* m_leftTexture;
|
|
/* 0008 */ CSimpleTexture* m_rightTexture;
|
|
/* 000C */ CSimpleTexture* m_topTexture;
|
|
/* 0010 */ CSimpleTexture* m_bottomTexture;
|
|
/* 0014 */ CSimpleTexture* m_topLeftTexture;
|
|
/* 0018 */ CSimpleTexture* m_topRightTexture;
|
|
/* 001C */ CSimpleTexture* m_bottomLeftTexture;
|
|
/* 0020 */ CSimpleTexture* m_bottomRightTexture;
|
|
/* 0024 */ RCString m_bgFile;
|
|
/* 0030 */ RCString m_edgeFile;
|
|
/* 003C */ uint32_t m_pieces;
|
|
/* 0040 */ uint32_t m_tile;
|
|
/* 0044 */ uint32_t unk_0044;
|
|
/* 0048 */ float m_edgeSize;
|
|
/* 004C */ float m_tileSize;
|
|
/* 0050 */ float m_insetTop;
|
|
/* 0054 */ float m_insetBottom;
|
|
/* 0058 */ float m_insetLeft;
|
|
/* 005C */ float m_insetRight;
|
|
/* 0060 */ CImVector m_backgroundColor;
|
|
/* 0064 */ CImVector m_borderColor;
|
|
/* 0068 */ EGxBlend m_alphaMode;
|
|
|
|
CBackdropGenerator();
|
|
void DestroyTextures();
|
|
void Generate(const CRect* rect);
|
|
void LoadXML(XMLNode* node, CStatus* status);
|
|
void SetBorderVertexColor(const CImVector& color);
|
|
void SetOutput(CSimpleFrame* frame);
|
|
void SetVertexColor(const CImVector& color);
|
|
};
|
|
|
|
#endif
|