2023-06-11 21:03:54 -04:00
|
|
|
#ifndef MXVIDEOMANAGER_H
|
|
|
|
#define MXVIDEOMANAGER_H
|
|
|
|
|
2023-06-24 13:09:46 -04:00
|
|
|
#include "mxunknown100dc6b0.h"
|
|
|
|
#include "mxvideoparam.h"
|
|
|
|
|
2023-06-29 04:10:08 -04:00
|
|
|
// VTABLE 0x100dc810
|
|
|
|
// SIZE 0x64
|
2023-06-24 13:09:46 -04:00
|
|
|
class MxVideoManager : public MxUnknown100dc6b0
|
2023-06-11 21:03:54 -04:00
|
|
|
{
|
|
|
|
public:
|
2023-06-29 04:10:08 -04:00
|
|
|
virtual ~MxVideoManager();
|
|
|
|
|
2023-07-02 04:05:49 -04:00
|
|
|
virtual MxLong Tickle(); // vtable+0x8
|
2023-06-29 04:10:08 -04:00
|
|
|
|
2023-06-11 21:03:54 -04:00
|
|
|
__declspec(dllexport) void InvalidateRect(MxRect32 &);
|
2023-07-02 04:05:49 -04:00
|
|
|
__declspec(dllexport) virtual MxLong RealizePalette(MxPalette *); // vtable+0x30
|
2023-06-24 13:09:46 -04:00
|
|
|
|
|
|
|
MxVideoManager();
|
|
|
|
|
|
|
|
int Init();
|
|
|
|
|
|
|
|
inline MxVideoParam& GetVideoParam() { return this->m_videoParam; }
|
2023-07-16 01:51:24 -04:00
|
|
|
inline LPDIRECTDRAW GetDirectDraw() { return this->m_pDirectDraw; }
|
2023-06-24 13:09:46 -04:00
|
|
|
private:
|
|
|
|
MxVideoParam m_videoParam;
|
2023-07-16 01:51:24 -04:00
|
|
|
LPDIRECTDRAW m_pDirectDraw;
|
2023-06-24 13:09:46 -04:00
|
|
|
LPDIRECTDRAWSURFACE m_unk54;
|
|
|
|
void* m_unk58;
|
|
|
|
int m_unk5c;
|
|
|
|
MxBool m_unk60;
|
2023-06-11 21:03:54 -04:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif // MXVIDEOMANAGER_H
|