XMLTree.cpp (0x8145B0-0x814E40, XMLTree_GetRoot at 0x8BE770), FrameXML.cpp (0x812530-0x8145A3) and LoadXML.cpp (0x814E40-0x816767, name guessed: no __FILE__ string). LoadXML_AnimGroup and Create_SimpleMovieFrame stay declared until their Frame classes exist. XMLNode allocates from the CDataAllocator at 0xD3F718; CScriptRegion derives from CScriptObject and CLayoutFrame (second vtable at +0x20); the attribute array element is CXMLAttribute. Expat.h declares the expat API by hand until expat is vendored. Shared additions: Frame enums (FRAME_STRATA, ORIENTATION, SimpleAnim*, ANCHORPOINT renamed FRAMEPOINT), Frame class vtable slots/constructors/ allocators and four shell classes, EGxBlend, MD5_CTX, one stpl.h instance. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
55 lines
1.7 KiB
C++
55 lines
1.7 KiB
C++
#ifndef ENGINE_SOURCE_FRAME_CSIMPLERENDER_H
|
|
#define ENGINE_SOURCE_FRAME_CSIMPLERENDER_H
|
|
|
|
#include <cstddef>
|
|
#include <cstdint>
|
|
#include <windows.h>
|
|
#include "Engine/Source/Base/CDataAllocator.h"
|
|
#include "Engine/Source/Frame/CSimpleFontable.h"
|
|
#include "Engine/Source/Frame/CSimpleRegion.h"
|
|
#include "Engine/Source/Frame/Types.h"
|
|
#include "Engine/Source/Tempest/C2Vector.h"
|
|
#include "Engine/Source/Storm/H/stpl.h"
|
|
|
|
class CSimpleFrame;
|
|
struct CSimpleTexture;
|
|
class CStatus;
|
|
struct FONTHASHOBJ;
|
|
struct TEXTBLOCK;
|
|
class XMLNode;
|
|
|
|
class CSimpleFontString : public CSimpleRegion {
|
|
public:
|
|
/* 00D4 */ CSimpleFontable m_baseSimpleFontable;
|
|
/* 00E8 */ FONTHASHOBJ* m_fontHandle;
|
|
/* 00EC */ float m_fontHeight;
|
|
/* 00F0 */ uint16_t m_textMaxSize;
|
|
/* 00F2 */ uint16_t m_textCurSize;
|
|
/* 00F4 */ char* m_text;
|
|
/* 00F8 */ float m_spacing;
|
|
/* 00FC */ TEXTBLOCK* m_string;
|
|
/* 0100 */ float m_textWidth;
|
|
/* 0104 */ float m_textHeight;
|
|
/* 0108 */ CColor m_shadowColor;
|
|
/* 010C */ C2Vector m_shadowOffset;
|
|
/* 0114 */ C2Vector m_justificationOffset;
|
|
/* 011C */ int16_t m_alphaGradientStart;
|
|
/* 011E */ int16_t m_alphaGradientLength;
|
|
/* 0120 */ uint32_t m_styleFlags;
|
|
/* 0124 */ uint32_t m_settableStyleFlags;
|
|
/* 0128 */ uint32_t m_maxLines;
|
|
/* 012C */ uint32_t unk_012C;
|
|
/* 0130 */ uint32_t unk_0130;
|
|
/* 0134 */ uint32_t unk_0134;
|
|
/* 0138 */ TSList<CSimpleTexture> m_textures;
|
|
|
|
static CDataAllocator s_allocator;
|
|
|
|
CSimpleFontString(CSimpleFrame* frame, uint32_t drawLayer, bool show);
|
|
virtual int32_t GetScriptMetaTable();
|
|
virtual bool IsA(int32_t type);
|
|
void PostLoadXML(XMLNode* node, CStatus* status);
|
|
};
|
|
|
|
#endif
|