mirror of
https://github.com/isledecomp/isle.git
synced 2025-10-23 00:14:22 +00:00
Introduce clang-format (#240)
This commit is contained in:

committed by
GitHub

parent
e928fc9425
commit
b449da1fa3
@@ -1,8 +1,6 @@
|
||||
#ifndef MXVIDEOPARAM_H
|
||||
#define MXVIDEOPARAM_H
|
||||
|
||||
#include <ddraw.h>
|
||||
|
||||
#include "compat.h"
|
||||
#include "mxpalette.h"
|
||||
#include "mxrect32.h"
|
||||
@@ -10,33 +8,35 @@
|
||||
#include "mxvariabletable.h"
|
||||
#include "mxvideoparamflags.h"
|
||||
|
||||
class MxVideoParam
|
||||
{
|
||||
#include <ddraw.h>
|
||||
|
||||
class MxVideoParam {
|
||||
public:
|
||||
__declspec(dllexport) MxVideoParam();
|
||||
__declspec(dllexport) MxVideoParam(MxVideoParam &);
|
||||
__declspec(dllexport) MxVideoParam(COMPAT_CONST MxRect32 &rect, MxPalette *pal, MxULong p3, COMPAT_CONST MxVideoParamFlags &flags);
|
||||
__declspec(dllexport) MxVideoParam &operator=(const MxVideoParam &);
|
||||
__declspec(dllexport) ~MxVideoParam();
|
||||
__declspec(dllexport) MxVideoParam();
|
||||
__declspec(dllexport) MxVideoParam(MxVideoParam&);
|
||||
__declspec(dllexport)
|
||||
MxVideoParam(COMPAT_CONST MxRect32& rect, MxPalette* pal, MxULong p3, COMPAT_CONST MxVideoParamFlags& flags);
|
||||
__declspec(dllexport) MxVideoParam& operator=(const MxVideoParam&);
|
||||
__declspec(dllexport) ~MxVideoParam();
|
||||
|
||||
__declspec(dllexport) void SetDeviceName(char *id);
|
||||
__declspec(dllexport) void SetDeviceName(char* id);
|
||||
|
||||
inline MxVideoParamFlags &flags() { return m_flags; }
|
||||
inline MxVideoParamFlags& flags() { return m_flags; }
|
||||
|
||||
inline void SetPalette(MxPalette *p_palette) { this->m_palette = p_palette; }
|
||||
inline void SetBackBuffers(MxU32 p_backBuffers) { this->m_backBuffers = p_backBuffers; }
|
||||
inline void SetPalette(MxPalette* p_palette) { this->m_palette = p_palette; }
|
||||
inline void SetBackBuffers(MxU32 p_backBuffers) { this->m_backBuffers = p_backBuffers; }
|
||||
|
||||
inline MxRect32 &GetRect() { return this->m_rect; }
|
||||
inline MxPalette *GetPalette() { return this->m_palette; }
|
||||
inline MxU32 GetBackBuffers() { return this->m_backBuffers; }
|
||||
inline MxRect32& GetRect() { return this->m_rect; }
|
||||
inline MxPalette* GetPalette() { return this->m_palette; }
|
||||
inline MxU32 GetBackBuffers() { return this->m_backBuffers; }
|
||||
|
||||
private:
|
||||
MxRect32 m_rect;
|
||||
MxPalette *m_palette;
|
||||
MxU32 m_backBuffers;
|
||||
MxVideoParamFlags m_flags;
|
||||
int m_unk1c;
|
||||
char *m_deviceId;
|
||||
MxRect32 m_rect;
|
||||
MxPalette* m_palette;
|
||||
MxU32 m_backBuffers;
|
||||
MxVideoParamFlags m_flags;
|
||||
int m_unk1c;
|
||||
char* m_deviceId;
|
||||
};
|
||||
|
||||
#endif // MXVIDEOPARAM_H
|
||||
|
Reference in New Issue
Block a user