MxVideoPresenter AlphaMask (formerly UnkStruct) (#226)

This commit is contained in:
MS
2023-10-21 18:40:31 -04:00
committed by GitHub
parent 5dfb132025
commit 85d94baa50
4 changed files with 115 additions and 14 deletions

View File

@@ -49,16 +49,18 @@ public:
// TODO: Not sure what this is. Seems to have size of 12 bytes
// based on 0x100b9e9a. Values are copied from the bitmap header.
struct UnkStruct {
undefined unk0[4];
MxU16 width;
MxU16 height;
// SIZE 0xc
struct AlphaMask {
MxU8 *m_bitmask;
MxU16 m_width;
MxU16 m_height;
virtual ~UnkStruct() {}
AlphaMask(MxBitmap &);
virtual ~AlphaMask();
};
MxBitmap *m_bitmap;
UnkStruct *m_unk54;
AlphaMask *m_alpha;
LPDIRECTDRAWSURFACE m_unk58;
undefined2 m_unk5c;
unsigned char m_flags; // 0x5e