mirror of
https://github.com/isledecomp/isle-portable.git
synced 2024-11-22 15:37:55 -05:00
279d626279
This declares a bunch of classes and functions for us, as well as fixes some declarations that were slightly incorrect (e.g. missing "virtual", etc)
35 lines
822 B
C++
35 lines
822 B
C++
#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 &);
|
|
__declspec(dllexport) MxVideoParam(MxRect32 &rect, MxPalette *pal, unsigned long p3, MxVideoParamFlags &flags);
|
|
__declspec(dllexport) MxVideoParam &operator=(const MxVideoParam &);
|
|
__declspec(dllexport) ~MxVideoParam();
|
|
|
|
__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;
|
|
BOOL m_backBuffers;
|
|
MxVideoParamFlags m_flags;
|
|
int m_unk1c;
|
|
char *m_deviceId;
|
|
|
|
};
|
|
|
|
#endif // MXVIDEOPARAM_H
|