2023-06-23 12:17:41 -04:00
|
|
|
#ifndef MXVIDEOPARAMFLAGS_H
|
|
|
|
#define MXVIDEOPARAMFLAGS_H
|
|
|
|
|
2023-10-01 20:18:16 -04:00
|
|
|
#include "mxtypes.h"
|
2023-06-23 12:17:41 -04:00
|
|
|
|
2023-10-24 19:38:27 -04:00
|
|
|
#include <windows.h>
|
2023-06-23 12:17:41 -04:00
|
|
|
|
2023-10-24 19:38:27 -04:00
|
|
|
class MxVideoParamFlags {
|
|
|
|
public:
|
2024-01-24 21:16:29 -05:00
|
|
|
MxVideoParamFlags();
|
2023-10-24 19:38:27 -04:00
|
|
|
|
2024-06-06 17:15:57 -04:00
|
|
|
// inlined in ISLE
|
2024-07-04 19:06:32 -04:00
|
|
|
void SetFullScreen(MxBool p_e) { m_flags1.m_bit0 = p_e; }
|
2024-06-06 17:15:57 -04:00
|
|
|
|
|
|
|
// FUNCTION: BETA10 0x10141f80
|
2024-07-04 19:06:32 -04:00
|
|
|
void SetFlipSurfaces(MxBool p_e) { m_flags1.m_bit1 = p_e; }
|
2024-06-06 17:15:57 -04:00
|
|
|
|
|
|
|
// FUNCTION: BETA10 0x10141fb0
|
2024-07-04 19:06:32 -04:00
|
|
|
void SetBackBuffers(MxBool p_e) { m_flags1.m_bit2 = p_e; }
|
2024-06-06 17:15:57 -04:00
|
|
|
|
|
|
|
// FUNCTION: BETA10 0x100d9250
|
2024-07-04 19:06:32 -04:00
|
|
|
void SetF1bit3(MxBool p_e) { m_flags1.m_bit3 = p_e; }
|
2024-06-06 17:15:57 -04:00
|
|
|
|
|
|
|
// inlined in ISLE
|
2024-07-04 19:06:32 -04:00
|
|
|
void Set16Bit(MxBool p_e) { m_flags1.m_bit5 = p_e; }
|
2024-06-06 17:15:57 -04:00
|
|
|
|
|
|
|
// inlined in ISLE
|
2024-07-04 19:06:32 -04:00
|
|
|
void SetWideViewAngle(MxBool p_e) { m_flags1.m_bit6 = p_e; }
|
2024-06-06 17:15:57 -04:00
|
|
|
|
|
|
|
// inlined in ISLE
|
2024-07-04 19:06:32 -04:00
|
|
|
void SetF1bit7(MxBool p_e) { m_flags1.m_bit7 = p_e; }
|
2024-06-06 17:15:57 -04:00
|
|
|
|
|
|
|
// FUNCTION: BETA10 0x100d81b0
|
2024-07-04 19:06:32 -04:00
|
|
|
void SetF2bit0(MxBool p_e) { m_flags2.m_bit0 = p_e; }
|
2024-06-06 17:15:57 -04:00
|
|
|
|
|
|
|
// inlined in ISLE
|
2024-07-04 19:06:32 -04:00
|
|
|
void SetF2bit1(MxBool p_e) { m_flags2.m_bit1 = p_e; }
|
2024-06-06 17:15:57 -04:00
|
|
|
|
|
|
|
// FUNCTION: BETA10 0x1009e770
|
2024-07-04 19:06:32 -04:00
|
|
|
MxBool GetFullScreen() { return m_flags1.m_bit0; }
|
2024-06-06 17:15:57 -04:00
|
|
|
|
|
|
|
// FUNCTION: BETA10 0x100d80f0
|
2024-07-04 19:06:32 -04:00
|
|
|
MxBool GetFlipSurfaces() { return m_flags1.m_bit1; }
|
2024-06-06 17:15:57 -04:00
|
|
|
|
|
|
|
// FUNCTION: BETA10 0x100d8120
|
2024-07-04 19:06:32 -04:00
|
|
|
MxBool GetBackBuffers() { return m_flags1.m_bit2; }
|
2024-06-06 17:15:57 -04:00
|
|
|
|
|
|
|
// FUNCTION: BETA10 0x10142010
|
2024-07-04 19:06:32 -04:00
|
|
|
MxBool GetF1bit3() { return m_flags1.m_bit3; }
|
2024-06-06 17:15:57 -04:00
|
|
|
|
|
|
|
// FUNCTION: BETA10 0x100d8150
|
2024-07-04 19:06:32 -04:00
|
|
|
MxBool Get16Bit() { return m_flags1.m_bit5; }
|
2024-06-06 17:15:57 -04:00
|
|
|
|
|
|
|
// FUNCTION: BETA10 0x100d8180
|
2024-07-04 19:06:32 -04:00
|
|
|
MxBool GetWideViewAngle() { return m_flags1.m_bit6; }
|
2024-06-06 17:15:57 -04:00
|
|
|
|
|
|
|
// FUNCTION: BETA10 0x100886b0
|
2024-07-04 19:06:32 -04:00
|
|
|
MxBool GetF2bit0() { return m_flags2.m_bit0; }
|
2024-06-06 17:15:57 -04:00
|
|
|
|
|
|
|
// FUNCTION: BETA10 0x10142050
|
2024-07-04 19:06:32 -04:00
|
|
|
MxBool GetF2bit1() { return m_flags2.m_bit1; }
|
2023-06-24 13:09:46 -04:00
|
|
|
|
2023-06-23 12:17:41 -04:00
|
|
|
private:
|
2023-12-13 05:48:14 -05:00
|
|
|
FlagBitfield m_flags1;
|
|
|
|
FlagBitfield m_flags2;
|
2023-06-23 12:17:41 -04:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif // MXVIDEOPARAMFLAGS_H
|