isle/LEGO1/mxvideoparam.h

36 lines
821 B
C
Raw Normal View History

2023-04-27 22:19:39 -04:00
#ifndef MXVIDEOPARAM_H
#define MXVIDEOPARAM_H
#include "mxpalette.h"
#include "mxrect32.h"
#include "mxvariabletable.h"
#include "mxvideoparamflags.h"
class MxVideoParam
{
public:
__declspec(dllexport) MxVideoParam();
__declspec(dllexport) MxVideoParam(MxVideoParam &);
2023-04-27 22:19:39 -04:00
__declspec(dllexport) MxVideoParam(MxRect32 &rect, MxPalette *pal, unsigned long p3, MxVideoParamFlags &flags);
__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; }
private:
int m_left;
int m_top;
int m_right;
int m_bottom;
MxPalette *m_palette;
int m_backBuffers;
2023-04-27 22:19:39 -04:00
MxVideoParamFlags m_flags;
int m_unk1c;
char *m_deviceId;
};
#endif // MXVIDEOPARAM_H