2023-06-11 21:03:54 -04:00
|
|
|
#ifndef MXVIDEOMANAGER_H
|
|
|
|
#define MXVIDEOMANAGER_H
|
|
|
|
|
2023-07-21 21:28:13 -04:00
|
|
|
#include "mxdisplaysurface.h"
|
2023-09-19 23:00:34 -04:00
|
|
|
#include "mxregion.h"
|
2023-08-28 06:01:45 -04:00
|
|
|
#include "mxmediamanager.h"
|
2023-06-24 13:09:46 -04:00
|
|
|
#include "mxvideoparam.h"
|
|
|
|
|
2023-06-29 04:10:08 -04:00
|
|
|
// VTABLE 0x100dc810
|
|
|
|
// SIZE 0x64
|
2023-08-28 06:01:45 -04:00
|
|
|
class MxVideoManager : public MxMediaManager
|
2023-06-11 21:03:54 -04:00
|
|
|
{
|
|
|
|
public:
|
2023-06-29 04:10:08 -04:00
|
|
|
virtual ~MxVideoManager();
|
|
|
|
|
2023-09-21 14:51:24 -04:00
|
|
|
virtual MxResult 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();
|
|
|
|
|
2023-09-19 23:00:34 -04:00
|
|
|
MxResult Init();
|
|
|
|
void SortPresenterList();
|
|
|
|
void UpdateRegion();
|
2023-06-24 13:09:46 -04:00
|
|
|
|
|
|
|
inline MxVideoParam& GetVideoParam() { return this->m_videoParam; }
|
2023-07-16 01:51:24 -04:00
|
|
|
inline LPDIRECTDRAW GetDirectDraw() { return this->m_pDirectDraw; }
|
2023-09-29 12:09:46 -04:00
|
|
|
inline MxDisplaySurface *GetDisplaySurface() { return this->m_displaySurface; }
|
2023-06-24 13:09:46 -04:00
|
|
|
private:
|
|
|
|
MxVideoParam m_videoParam;
|
2023-07-16 01:51:24 -04:00
|
|
|
LPDIRECTDRAW m_pDirectDraw;
|
2023-09-19 23:00:34 -04:00
|
|
|
LPDIRECTDRAWSURFACE m_pDDSurface;
|
2023-07-21 21:28:13 -04:00
|
|
|
MxDisplaySurface *m_displaySurface;
|
2023-09-19 23:00:34 -04:00
|
|
|
MxRegion *m_region;
|
2023-06-24 13:09:46 -04:00
|
|
|
MxBool m_unk60;
|
2023-06-11 21:03:54 -04:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif // MXVIDEOMANAGER_H
|