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]>
47 lines
1.4 KiB
C++
47 lines
1.4 KiB
C++
#ifndef ENGINE_SOURCE_FRAME_CSIMPLETEXTURE_H
|
|
#define ENGINE_SOURCE_FRAME_CSIMPLETEXTURE_H
|
|
|
|
#include <cstddef>
|
|
#include <cstdint>
|
|
#include <windows.h>
|
|
#include "Engine/Source/Base/CDataAllocator.h"
|
|
#include "Engine/Source/Frame/CSimpleRegion.h"
|
|
#include "Engine/Source/Tempest/C2Vector.h"
|
|
#include "Engine/Source/Tempest/C3Vector.h"
|
|
|
|
class CSimpleFrame;
|
|
class CStatus;
|
|
struct CTexture;
|
|
class XMLNode;
|
|
|
|
class CSimpleTexture : public CSimpleRegion {
|
|
public:
|
|
/* 00D4 */ CTexture* m_texture;
|
|
/* 00D8 */ uint32_t m_alphaMode;
|
|
/* 00DC */ uint32_t* m_shader;
|
|
/* 00E0 */ C3Vector m_positions [4];
|
|
/* 0110 */ uint32_t m_textureUkn17;
|
|
/* 0114 */ uint32_t m_textureUkn18;
|
|
/* 0118 */ uint32_t m_textureUkn19;
|
|
/* 011C */ uint32_t m_textureUkn20;
|
|
/* 0120 */ uint32_t m_textureUkn21;
|
|
/* 0124 */ uint32_t m_textureUkn22;
|
|
/* 0128 */ uint32_t m_textureUkn23;
|
|
/* 012C */ uint32_t m_textureUkn24;
|
|
/* 0130 */ uint32_t m_textureUkn25;
|
|
/* 0134 */ uint32_t m_textureUkn26;
|
|
/* 0138 */ uint32_t m_textureUkn27;
|
|
/* 013C */ uint32_t m_textureUkn28;
|
|
/* 0140 */ C2Vector m_texCoords [4];
|
|
/* 0160 */ uint32_t m_textureFlags;
|
|
|
|
static CDataAllocator s_allocator;
|
|
|
|
CSimpleTexture(CSimpleFrame* frame, uint32_t drawLayer, int32_t show);
|
|
virtual int32_t GetScriptMetaTable();
|
|
virtual bool IsA(int32_t type);
|
|
void PostLoadXML(XMLNode* node, CStatus* status);
|
|
};
|
|
|
|
#endif
|