mirror of
https://github.com/isledecomp/isle.git
synced 2025-10-23 00:14:22 +00:00
(Proposal) Introduction of naming convention checker (ncc
) (#322)
* Add ncc tool * Add symlink * Fixes * Try this * Try this * Try this * Try this * Add include path * Update style * Update style * Add more rules * Fix style * Update styles * Fix name parameter * Fix MxParam p * Fix m_unk0x pattern * Allow 4 digits for relative hex * Add missing offset * Fix some parameters * Fix some vtables * Fix more vtables * Update rules, fixes * More fixes * More fixes * More fixes * More fixes * More fixes * More fixes * More fixes * Fix last issue * Update readme * Update readme * Update CONTRIBUTING.md * Fix annotations * Rename * Update CONTRIBUTING.md * Update README.md
This commit is contained in:

committed by
GitHub

parent
3b155bfe38
commit
bc5ca621a4
@@ -14,15 +14,19 @@
|
||||
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(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* id);
|
||||
__declspec(dllexport) void SetDeviceName(char* p_deviceId);
|
||||
|
||||
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; }
|
||||
@@ -36,7 +40,7 @@ private:
|
||||
MxPalette* m_palette; // 0x10
|
||||
MxU32 m_backBuffers; // 0x14
|
||||
MxVideoParamFlags m_flags; // 0x18
|
||||
int m_unk1c; // 0x1c
|
||||
int m_unk0x1c; // 0x1c
|
||||
char* m_deviceId; // 0x20
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user