mirror of
https://github.com/isledecomp/isle.git
synced 2025-10-23 08:24:16 +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
@@ -9,43 +9,43 @@ class MxVideoParamFlags {
|
||||
public:
|
||||
__declspec(dllexport) MxVideoParamFlags();
|
||||
|
||||
inline void SetFullScreen(BOOL e) { m_flags1.bit0 = e; }
|
||||
inline void SetFlipSurfaces(BOOL e) { m_flags1.bit1 = e; }
|
||||
inline void SetBackBuffers(BOOL e) { m_flags1.bit2 = e; }
|
||||
inline void Set_f1bit3(BOOL e) { m_flags1.bit3 = e; }
|
||||
inline void Set_f1bit4(BOOL e) { m_flags1.bit4 = e; }
|
||||
inline void Set16Bit(BYTE e) { m_flags1.bit5 = e; }
|
||||
inline void SetWideViewAngle(BOOL e) { m_flags1.bit6 = e; }
|
||||
inline void Set_f1bit7(BOOL e) { m_flags1.bit7 = e; }
|
||||
inline void Set_f2bit0(BOOL e) { m_flags2.bit0 = e; }
|
||||
inline void Set_f2bit1(BOOL e) { m_flags2.bit1 = e; }
|
||||
inline void Set_f2bit2(BOOL e) { m_flags2.bit2 = e; }
|
||||
inline void Set_f2bit3(BOOL e) { m_flags2.bit3 = e; }
|
||||
inline void Set_f2bit4(BOOL e) { m_flags2.bit4 = e; }
|
||||
inline void Set_f2bit5(BOOL e) { m_flags2.bit5 = e; }
|
||||
inline void Set_f2bit6(BOOL e) { m_flags2.bit6 = e; }
|
||||
inline void Set_f2bit7(BOOL e) { m_flags2.bit7 = e; }
|
||||
inline void SetFullScreen(BOOL p_e) { m_flags1.m_bit0 = p_e; }
|
||||
inline void SetFlipSurfaces(BOOL p_e) { m_flags1.m_bit1 = p_e; }
|
||||
inline void SetBackBuffers(BOOL p_e) { m_flags1.m_bit2 = p_e; }
|
||||
inline void SetF1bit3(BOOL p_e) { m_flags1.m_bit3 = p_e; }
|
||||
inline void SetF1bit4(BOOL p_e) { m_flags1.m_bit4 = p_e; }
|
||||
inline void Set16Bit(BYTE p_e) { m_flags1.m_bit5 = p_e; }
|
||||
inline void SetWideViewAngle(BOOL p_e) { m_flags1.m_bit6 = p_e; }
|
||||
inline void SetF1bit7(BOOL p_e) { m_flags1.m_bit7 = p_e; }
|
||||
inline void SetF2bit0(BOOL p_e) { m_flags2.m_bit0 = p_e; }
|
||||
inline void SetF2bit1(BOOL p_e) { m_flags2.m_bit1 = p_e; }
|
||||
inline void SetF2bit2(BOOL p_e) { m_flags2.m_bit2 = p_e; }
|
||||
inline void SetF2bit3(BOOL p_e) { m_flags2.m_bit3 = p_e; }
|
||||
inline void SetF2bit4(BOOL p_e) { m_flags2.m_bit4 = p_e; }
|
||||
inline void SetF2bit5(BOOL p_e) { m_flags2.m_bit5 = p_e; }
|
||||
inline void SetF2bit6(BOOL p_e) { m_flags2.m_bit6 = p_e; }
|
||||
inline void SetF2bit7(BOOL p_e) { m_flags2.m_bit7 = p_e; }
|
||||
|
||||
inline BYTE GetFullScreen() { return m_flags1.bit0; }
|
||||
inline BYTE GetFlipSurfaces() { return m_flags1.bit1; }
|
||||
inline BYTE GetBackBuffers() { return m_flags1.bit2; }
|
||||
inline BYTE Get_f1bit3() { return m_flags1.bit3; }
|
||||
inline BYTE Get_f1bit4() { return m_flags1.bit4; }
|
||||
inline BYTE Get16Bit() { return m_flags1.bit5; }
|
||||
inline BYTE GetWideViewAngle() { return m_flags1.bit6; }
|
||||
inline BYTE Get_f1bit7() { return m_flags1.bit7; }
|
||||
inline BYTE Get_f2bit0() { return m_flags2.bit0; }
|
||||
inline BYTE Get_f2bit1() { return m_flags2.bit1; }
|
||||
inline BYTE Get_f2bit2() { return m_flags2.bit2; }
|
||||
inline BYTE Get_f2bit3() { return m_flags2.bit3; }
|
||||
inline BYTE Get_f2bit4() { return m_flags2.bit4; }
|
||||
inline BYTE Get_f2bit5() { return m_flags2.bit5; }
|
||||
inline BYTE Get_f2bit6() { return m_flags2.bit6; }
|
||||
inline BYTE Get_f2bit7() { return m_flags2.bit7; }
|
||||
inline BYTE GetFullScreen() { return m_flags1.m_bit0; }
|
||||
inline BYTE GetFlipSurfaces() { return m_flags1.m_bit1; }
|
||||
inline BYTE GetBackBuffers() { return m_flags1.m_bit2; }
|
||||
inline BYTE GetF1bit3() { return m_flags1.m_bit3; }
|
||||
inline BYTE GetF1bit4() { return m_flags1.m_bit4; }
|
||||
inline BYTE Get16Bit() { return m_flags1.m_bit5; }
|
||||
inline BYTE GetWideViewAngle() { return m_flags1.m_bit6; }
|
||||
inline BYTE GetF1bit7() { return m_flags1.m_bit7; }
|
||||
inline BYTE GetF2bit0() { return m_flags2.m_bit0; }
|
||||
inline BYTE GetF2bit1() { return m_flags2.m_bit1; }
|
||||
inline BYTE GetF2bit2() { return m_flags2.m_bit2; }
|
||||
inline BYTE GetF2bit3() { return m_flags2.m_bit3; }
|
||||
inline BYTE GetF2bit4() { return m_flags2.m_bit4; }
|
||||
inline BYTE GetF2bit5() { return m_flags2.m_bit5; }
|
||||
inline BYTE GetF2bit6() { return m_flags2.m_bit6; }
|
||||
inline BYTE GetF2bit7() { return m_flags2.m_bit7; }
|
||||
|
||||
private:
|
||||
flag_bitfield m_flags1;
|
||||
flag_bitfield m_flags2;
|
||||
FlagBitfield m_flags1;
|
||||
FlagBitfield m_flags2;
|
||||
};
|
||||
|
||||
#endif // MXVIDEOPARAMFLAGS_H
|
||||
|
Reference in New Issue
Block a user