|
| 1 | +#ifndef PURPLEDUNE0x7C_H |
| 2 | +#define PURPLEDUNE0x7C_H |
| 3 | + |
| 4 | +#include "bronzedunebag0xc.h" |
| 5 | +#include "falcontextureformat.h" |
| 6 | +#include "golddune0x38.h" |
| 7 | + |
| 8 | +#include <ddraw.h> |
| 9 | + |
| 10 | +class IPalette0x4; |
| 11 | + |
| 12 | +// VTABLE: GOLDP 0x1005681c |
| 13 | +// SIZE 0x7c |
| 14 | +class PurpleDune0x7c : public GoldDune0x38 { |
| 15 | +public: |
| 16 | + PurpleDune0x7c(); |
| 17 | + ~PurpleDune0x7c(); // vtable+0x00 |
| 18 | + |
| 19 | + void LockPixels(LegoU8** p_pixels, LegoU32* p_pitch, LegoU32 p_flags) override; // vtable+0x04 |
| 20 | + void UnlockPixels() override; // vtable+0x08 |
| 21 | + IPalette0x4* GetPalette() override; // vtable+0x1c |
| 22 | + void VTable0x30(WhiteFalcon0x140& p_renderer, undefined4*) override; // vtable+0x30 |
| 23 | + void VTable0x34( |
| 24 | + WhiteFalcon0x140& p_renderer, |
| 25 | + const FalconTextureFormat& p_textureFormat, |
| 26 | + LegoU32 p_width, |
| 27 | + LegoU32 p_height |
| 28 | + ) override; // vtable+0x34 |
| 29 | + void VTable0x38() override; // vtable+0x38 |
| 30 | + |
| 31 | + void FUN_10015fb0(); |
| 32 | + void FUN_10016100(); |
| 33 | + void FUN_10016380(); |
| 34 | + void FUN_10016440(BronzeFalcon0xc8770& p_renderer); |
| 35 | + void FUN_10016460(BronzeFalcon0xc8770& p_renderer); |
| 36 | + |
| 37 | + // SYNTHETIC: GOLDP 0x10004aa0 |
| 38 | + // PurpleDune0x7c::`vector deleting destructor' |
| 39 | + |
| 40 | +private: |
| 41 | + // SIZE 0x18 |
| 42 | + struct UnkField0x44 { |
| 43 | + // Unsure about size, might be a union |
| 44 | + LegoU8* m_pixels; // 0x00 |
| 45 | + LegoU32 m_pitch; // 0x04 |
| 46 | + undefined m_unk0x08[0x18 - 0x00]; // 0x08 |
| 47 | + }; |
| 48 | + |
| 49 | + undefined4 m_unk0x38; // 0x38 |
| 50 | + undefined4 m_unk0x3c; // 0x3c |
| 51 | + IPalette0x4* m_unk0x40; // 0x40 |
| 52 | + UnkField0x44* m_unk0x44; // 0x44 |
| 53 | + LPDIRECTDRAWSURFACE4 m_surface; // 0x48 |
| 54 | + undefined4* m_unk0x4c; // 0x4c |
| 55 | + BronzeDuneBag0xc m_unk0x50; // 0x50 |
| 56 | + FalconTextureFormat m_textureFormat2; // 0x5c |
| 57 | + undefined4 m_unk0x74; // 0x74 |
| 58 | + undefined4 m_unk0x78; // 0x78 |
| 59 | +}; |
| 60 | + |
| 61 | +#endif // PURPLEDUNE0x7C_H |
0 commit comments