mirror of
https://github.com/isledecomp/isle.git
synced 2025-10-23 00:14:22 +00:00
Reorganize sources and files (#414)
* Reorganize sources * Refactor * Remove relative paths * Renames * Fix gitignore * Remove stuff * Try fixing format script * Fix format * Fix format * Fix naming script * Test format * Fix format
This commit is contained in:

committed by
GitHub

parent
6a85e62406
commit
c47206617d
47
LEGO1/omni/include/mxvideoparam.h
Normal file
47
LEGO1/omni/include/mxvideoparam.h
Normal file
@@ -0,0 +1,47 @@
|
||||
#ifndef MXVIDEOPARAM_H
|
||||
#define MXVIDEOPARAM_H
|
||||
|
||||
#include "compat.h"
|
||||
#include "mxpalette.h"
|
||||
#include "mxrect32.h"
|
||||
#include "mxtypes.h"
|
||||
#include "mxvariabletable.h"
|
||||
#include "mxvideoparamflags.h"
|
||||
|
||||
#include <ddraw.h>
|
||||
|
||||
// SIZE 0x24
|
||||
class MxVideoParam {
|
||||
public:
|
||||
__declspec(dllexport) MxVideoParam();
|
||||
__declspec(dllexport) MxVideoParam(MxVideoParam& p_videoParam);
|
||||
__declspec(dllexport) MxVideoParam(
|
||||
COMPAT_CONST MxRect32& p_rect,
|
||||
MxPalette* p_palette,
|
||||
MxULong p_backBuffers,
|
||||
COMPAT_CONST MxVideoParamFlags& p_flags
|
||||
);
|
||||
__declspec(dllexport) MxVideoParam& operator=(const MxVideoParam& p_videoParam);
|
||||
__declspec(dllexport) ~MxVideoParam();
|
||||
__declspec(dllexport) void SetDeviceName(char* p_deviceId);
|
||||
|
||||
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 MxRect32& GetRect() { return this->m_rect; }
|
||||
inline MxPalette* GetPalette() { return this->m_palette; }
|
||||
inline MxU32 GetBackBuffers() { return this->m_backBuffers; }
|
||||
inline char* GetDeviceName() { return this->m_deviceId; }
|
||||
|
||||
private:
|
||||
MxRect32 m_rect; // 0x00
|
||||
MxPalette* m_palette; // 0x10
|
||||
MxU32 m_backBuffers; // 0x14
|
||||
MxVideoParamFlags m_flags; // 0x18
|
||||
int m_unk0x1c; // 0x1c
|
||||
char* m_deviceId; // 0x20
|
||||
};
|
||||
|
||||
#endif // MXVIDEOPARAM_H
|
Reference in New Issue
Block a user