2023-04-27 22:19:39 -04:00
|
|
|
#ifndef MXVIDEOPARAM_H
|
|
|
|
#define MXVIDEOPARAM_H
|
|
|
|
|
2023-06-24 13:09:46 -04:00
|
|
|
#include <ddraw.h>
|
|
|
|
|
2023-07-02 02:53:54 -04:00
|
|
|
#include "compat.h"
|
2023-04-27 22:19:39 -04:00
|
|
|
#include "mxpalette.h"
|
|
|
|
#include "mxrect32.h"
|
2023-06-27 22:04:07 -04:00
|
|
|
#include "mxtypes.h"
|
2023-04-27 22:19:39 -04:00
|
|
|
#include "mxvariabletable.h"
|
|
|
|
#include "mxvideoparamflags.h"
|
|
|
|
|
|
|
|
class MxVideoParam
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
__declspec(dllexport) MxVideoParam();
|
2023-06-11 21:03:54 -04:00
|
|
|
__declspec(dllexport) MxVideoParam(MxVideoParam &);
|
2023-07-02 04:05:49 -04:00
|
|
|
__declspec(dllexport) MxVideoParam(COMPAT_CONST MxRect32 &rect, MxPalette *pal, MxULong p3, COMPAT_CONST MxVideoParamFlags &flags);
|
2023-06-11 21:03:54 -04:00
|
|
|
__declspec(dllexport) MxVideoParam &operator=(const MxVideoParam &);
|
2023-04-29 23:39:01 -04:00
|
|
|
__declspec(dllexport) ~MxVideoParam();
|
2023-04-27 22:19:39 -04:00
|
|
|
|
|
|
|
__declspec(dllexport) void SetDeviceName(char *id);
|
|
|
|
|
|
|
|
inline MxVideoParamFlags &flags() { return m_flags; }
|
|
|
|
|
2023-06-24 13:09:46 -04:00
|
|
|
inline void SetPalette(MxPalette *p_palette) { this->m_palette = p_palette; }
|
|
|
|
inline MxPalette *GetPalette() { return this->m_palette; }
|
|
|
|
|
2023-04-27 22:19:39 -04:00
|
|
|
private:
|
2023-06-22 12:19:48 -04:00
|
|
|
MxRect32 m_rect;
|
2023-04-27 22:19:39 -04:00
|
|
|
MxPalette *m_palette;
|
2023-06-22 12:19:48 -04:00
|
|
|
unsigned int m_backBuffers;
|
2023-04-27 22:19:39 -04:00
|
|
|
MxVideoParamFlags m_flags;
|
|
|
|
int m_unk1c;
|
|
|
|
char *m_deviceId;
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif // MXVIDEOPARAM_H
|